ALSA kernel rc7 and newer fails to build against Red Hat Rawhide kernel,
however rc6 does compile and run fine.
http://videl.ics.hawaii.edu/~warren/temp/linux-2.4.20-2.40.tar.bz2
I made this tarball of the latest Red Hat kernel source tree. I will
keep the latest rawhide kernel tarball in this directory until this bug
is fixed in ALSA cvs.
The following is where the error occurs when attempting to compile
today's CVS against the latest Rawhide kernel. The failure is very
similar to when compiling rc7.
Red Hat 2.4.20-2.40 kernel from Rawhide against
alsa-kernel CVS 20030209
gcc -D__KERNEL__ -DMODULE=1
-I/usr/src/redhat/BUILD/alsa-driver-0.9.0cvs20030209/include
-I/usr/src/linux-2.4.20-2.40/include -O2 -mpreferred-stack-boundary=2
-march=athlon -DLINUX -Wall -Wstrict-prototypes -fomit-frame-pointer
-Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -pipe -DALSA_BUILD
-D__BOOT_KERNEL_H_ -D__MODULE_KERNEL_athlon=1 -D__BOOT_KERNEL_SMP=0
-D__BOOT_KERNEL_UP=1 -DKBUILD_BASENAME=init -c -o init.o init.c
In file included from ../alsa-kernel/core/init.c:29,
from init.c:2:
/usr/src/linux-2.4.20-2.40/include/linux/workqueue.h:22:1: warning:
"__WORK_INITIALIZER" redefined
In file included from
/usr/src/redhat/BUILD/alsa-driver-0.9.0cvs20030209/include/sound/driver.h:43,
from ../alsa-kernel/core/init.c:22,
from init.c:2:
/usr/src/redhat/BUILD/alsa-driver-0.9.0cvs20030209/include/adriver.h:292:1:
warning: this is the location of the previous definition
In file included from ../alsa-kernel/core/init.c:29,
from init.c:2:
/usr/src/linux-2.4.20-2.40/include/linux/workqueue.h:42:1: warning:
"INIT_WORK"
redefined
In file included from
/usr/src/redhat/BUILD/alsa-driver-0.9.0cvs20030209/include/sound/driver.h:43,
from ../alsa-kernel/core/init.c:22,
from init.c:2:
/usr/src/redhat/BUILD/alsa-driver-0.9.0cvs20030209/include/adriver.h:287:1:
warning: this is the location of the previous definition
In file included from ../alsa-kernel/core/init.c:29,
from init.c:2:
/usr/src/linux-2.4.20-2.40/include/linux/workqueue.h:13: redefinition of
`struct work_struct'
make[1]: *** [init.o] Error 1
make[1]: Leaving directory
`/usr/src/redhat/BUILD/alsa-driver-0.9.0cvs20030209/acore'
make: *** [compile] Error 1
Warren Togami
[EMAIL PROTECTED]
-------------------------------------------------------
This SF.NET email is sponsored by:
SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
http://www.vasoftware.com
_______________________________________________
Alsa-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/alsa-user
