I'm having some redefinition errors (struct work_struct, __WORK_INITIALIZER, et al found in workqueue.h in the kernel source) while trying to compile ALSA driver 0.9.0rc7. My kernel is 2.4.20-2.21 RPM from the RedHat 8.1 beta. Any ideas on the following?
In file included from ../alsa-kernel/core/init.c:29,
from init.c:2:
/usr/src/linux/include/linux/workqueue.h:13: redefinition of `struct
work_struct'
In file included from ../alsa-kernel/core/init.c:29,
from init.c:2:
/usr/src/linux/include/linux/workqueue.h:22:1: warning: "__WORK_INITIALIZER"
redefined
In file included from
/home/msherman/alsa-driver-0.9.0rc7/include/sound/driver.h:43,
from ../alsa-kernel/core/init.c:22,
from init.c:2:
/home/msherman/alsa-driver-0.9.0rc7/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/include/linux/workqueue.h:42:1: warning: "INIT_WORK" redefined
In file included from
/home/msherman/alsa-driver-0.9.0rc7/include/sound/driver.h:43,
from ../alsa-kernel/core/init.c:22,
from init.c:2:
/home/msherman/alsa-driver-0.9.0rc7/include/adriver.h:287:1: warning: this is
the location of the previous definition
make[1]: *** [init.o] Error 1
make[1]: Leaving directory `/home/msherman/alsa-driver-0.9.0rc7/acore'
make: *** [compile] Error 1
-- Michael J. Sherman | Software Developer Digital Sandbox, Inc. | http://www.dsbox.com/
-------------------------------------------------------
This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger for complex code. Debugging C/C++ programs can leave you feeling lost and disoriented. TotalView can help you find your way. Available on major UNIX and Linux platforms. Try it free. www.etnus.com
_______________________________________________
Alsa-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/alsa-user