Skip to contentSkip to conversation

build error in pcm_native.c

DISCUSSION Andrew Gaydenko 2 participants 4 messages Jul 15, 2004 – Jul 16, 2004 1 message not in the archive

lore
Share & tools
lore
#0 lore raw

Hi,

Have tried to build drivers from current CVS and have got an error shown below. Must I supply some additional info?

Andrew

==========================
gcc -D__KERNEL__ -DMODULE=1 -I/wrk/cvs/alsa/alsa-driver/include -I/lib/modules/2.4.26-lck1/build/include -O2 -mpreferred-stack-boundary=2 -march=i686 -D__SMP__ -DCONFIG_SMP -DLINUX -Wall -Wstrict-prototypes -fomit-frame-pointer -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -pipe -DALSA_BUILD -nostdinc -iwithprefix include -DKBUILD_BASENAME=pcm_native -c -o pcm_native.o pcm_native.c
pcm_native.c: In function `snd_pcm_mmap_data_Rsmp_c77fab7a':
pcm_native.c:3157: warning: passing arg 1 of remap_page_range_Rsmp_69d01e73' makes integer from pointer without a cast pcm_native.c:3157: error: incompatible type for argument 4 of remap_page_range_Rsmp_69d01e73' pcm_native.c:3157: error: too many arguments to function `remap_page_range_Rsmp_69d01e73'
make[1]: *** [pcm_native.o] Error 1

-------------------------------------------------------
This SF.Net email is sponsored by BEA Weblogic Workshop FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click

#1 lore raw

At Thu, 15 Jul 2004 22:09:21 +0400,

Quoted 5 lines · Andrew Gaydenko

Hi,

Have tried to build drivers from current CVS and have got an error shown below. Must I supply some additional info?

Did you run cvscompile?

Takashi

-------------------------------------------------------
This SF.Net email is sponsored by BEA Weblogic Workshop FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click

A message that is not in the archive (sent off-list or not yet received): [email protected]

#3 lore raw

At Fri, 16 Jul 2004 13:25:45 +0400,

Quoted 2 lines · Andrew Gaydenko

Takashi, yes I did.

And did you update both alsa-driver and alsa-kernel trees? The configure script was changed to detect the old remap_page_range().

Takashi

Quoted 8 lines

Andrew
======= On Friday 16 July 2004 13:22, you wrote: ======= At Thu, 15 Jul 2004 22:09:21 +0400,

Quoted 3 lines · Andrew Gaydenko

Hi,

Quoted 9 lines
Quoted 2 lines

Have tried to build drivers from current CVS and have got an error shown below. Must I supply some additional info?

Did you run cvscompile?

Takashi

-------------------------------------------------------
This SF.Net email is sponsored by BEA Weblogic Workshop FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click

#4 lore raw

I have updated all the alsa CVS tree (. CVS dir). Yesterday there was some updating of the file under problem.

Andrew

======= On Friday 16 July 2004 13:44, Takashi Iwai wrote: ======= At Fri, 16 Jul 2004 13:25:45 +0400,

Quoted 2 lines · Andrew Gaydenko

Takashi, yes I did.

And did you update both alsa-driver and alsa-kernel trees? The configure script was changed to detect the old remap_page_range().

Takashi

Quoted 8 lines

Andrew
======= On Friday 16 July 2004 13:22, you wrote: ======= At Thu, 15 Jul 2004 22:09:21 +0400,

Quoted 3 lines · Andrew Gaydenko

Hi,

Quoted 9 lines
Quoted 2 lines

Have tried to build drivers from current CVS and have got an error shown below. Must I supply some additional info?

Did you run cvscompile?

Takashi

-------------------------------------------------------
This SF.Net email is sponsored by BEA Weblogic Workshop FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click
_______________________________________________
Alsa-devel mailing list [email protected]
https://lists.sourceforge.net/lists/listinfo/alsa-devel

-------------------------------------------------------
This SF.Net email is sponsored by BEA Weblogic Workshop FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click