Compile error (rc2 driver)
There is a compile error with the rc2 driver....stable release compiles OK....are you aware of that? This is one 2.4.xx kernel...
gcc -D__KERNEL__ -DMODULE=1 -I/usr/src/alsa/alsa-driver-1.0.10rc2/include -I/lib/modules/2.4.22-1.SML/build/include -O2 -mpreferred-stack-boundary=2 -march=i686 -Wdeclaration-after-statement -DLINUX -Wall -Wstrict-prototypes -fomit-frame-pointer -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -pipe -DALSA_BUILD -nostdinc -iwithprefix include -DMODVERSIONS -include /lib/modules/2.4.22-1.SML/build/include/linux/modversions.h -DKBUILD_BASENAME=memory -c -o memory.o memory.c
In file included from memory.c:2:../alsa-kernel/core/memory.c:37: syntax error before '*' token../alsa-kernel/core/memory.c:38: warning: function declaration isn't a prototype../alsa-kernel/core/memory.c: In function `copy_to_user_fromio':../alsa-kernel/core/memory.c:40: `count' undeclared (first use in this function)../alsa-kernel/core/memory.c:40: (Each undeclared identifier is reported only once ../alsa-kernel/core/memory.c:40: for each function it appears in.)../alsa-kernel/core/memory.c:40: `dst' undeclared (first use in this function)../alsa-kernel/core/memory.c:40: syntax error before "__force"../alsa-kernel/core/memory.c:40: syntax error before "__force"
In file included from memory.c:2:../alsa-kernel/core/memory.c: At top level:../alsa-kernel/core/memory.c:68: syntax error before '*' token../alsa-kernel/core/memory.c:69: warning: function declaration isn't a prototype../alsa-kernel/core/memory.c: In function `copy_from_user_toio':../alsa-kernel/core/memory.c:71: count' undeclared (first use in this function)../alsa-kernel/core/memory.c:71: syntax error before "__force" ../alsa-kernel/core/memory.c:71: src' undeclared (first use in this function)../alsa-kernel/core/memory.c:71: syntax error before "__force"
make[1]: *** [memory.o] Error 1
make[1]: Leaving directory `/usr/src/alsa/alsa-driver-1.0.10rc2/acore'
make: *** [compile] Error 1
Signature · 10 lines
Regards
Signer: Eddy Nigg
Company: StartCom Linux at www.startcom.org <http://www.startcom.org/>
MediaHost^(TM) at www.mediahost.org
<http://www.mediahost.org/>
Skype: startcom <callto://startcom/>
Phone: +1.213.341.0390
Import StartCom Public CA <http://cert.startcom.org/index.php?app=109>At Mon, 24 Oct 2005 22:13:30 +0200,
Quoted 3 lines · StartCom Ltd.
There is a compile error with the rc2 driver....stable release compiles OK....are you aware of that? This is one 2.4.xx kernel...
It's a bug of 1.0.10rc2. Try the CVS version.
Takashi
-------------------------------------------------------
This SF.Net email is sponsored by the JBoss Inc.
Get Certified Today * Register for a JBoss Training Course Free Certification Exam for All Training Attendees Through End of 2005 Visit http://www.jboss.com/services/certification for more information