I hope someone else jumps in here since I am at the limits of my knowledge.

I certainly do not think that you should recompile your kernel. You should
make sure that the kernel source you are using is the source
(kernel-source*.i386.rpm) is for the kernel you are running. However, the
conflicting file is part of the glibc development library.

Actually in my file /usr/include/linux/gfp.h I have no definition of gfp_t
at all I am using glibc-devel-2.3.3-23.1.101mdk on mandrake, but I
strongly doubt they would have changed it.




On Wed, 23 Aug 2006, Jason Cole wrote:

> Hello Bill,
> Thanks for responding.  I do not know if I am using the same version of gcc. 
> The kernel got updated automatically through RHEL.  Do I need to recompile 
> the kernel myself to make sure this works?  (And if so, where do I start...)
>
> Thank you,
> Jason
>
>
>> From: Bill Unruh <[EMAIL PROTECTED]>
>> To: Jason Cole <[EMAIL PROTECTED]>
>> CC: alsa-user@lists.sourceforge.net
>> Subject: Re: [Alsa-user] Compilation error w/RHEL4 U4
>> Date: Wed, 23 Aug 2006 12:16:56 -0700 (PDT)
>> 
>> On Wed, 23 Aug 2006, Jason Cole wrote:
>> 
>> > Hello,
>> > I had alsa running back with the standard kernel release of RHEL 4, with 
>> a
>> > Sound Blaster Live 24-bit card running the ca0106 driver but since 
>> updating
>> > my kernel to 2.6.9-42.EL I have not been able to compile the driver (I
>> > haven't tried anything passed that, since I know I need the driver to 
>> work
>> > before continuing.)
>> > Below is the end of the compile and the errors that it presents.  I get
>> > similar errors with both the 1.0.12rc3, and with the 1.0.11 releasesAny
>> > hints about what I am doing wrong?  make clean doesn't seem to help
>> > anything, and I have checked that soundcore is on my system.
>> 
>> The problem is in the .h files. Not sure what the difficulty is. Everything
>> else below is a reaction to that first error.
>> 
>> Are you sure that you are using the same version of gcc used to compile the
>> kernel in order to compile the modules?
>> 
>> 
>> 
>> >
>> > Thank you in advance for any help you can provide,
>> > Jason
>> >
>> > --Begin compile log--
>> > make -C /lib/modules/2.6.9-42.EL/source
>> > SUBDIRS=/usr/src/alsa/alsa-driver-1.0.12rc3 
>> O=/lib/modules/2.6.9-42.EL/build
>> > CPP="gcc -E" CC="gcc" modules
>> > make[1]: Entering directory `/usr/src/kernels/2.6.9-42.EL-x86_64'
>> >  CC [M]  /usr/src/alsa/alsa-driver-1.0.12rc3/acore/memalloc.o
>> > In file included from
>> > /usr/src/alsa/alsa-driver-1.0.12rc3/acore/memalloc.inc:13,
>> > from /usr/src/alsa/alsa-driver-1.0.12rc3/acore/memalloc.c:1:
>> > /usr/src/alsa/alsa-driver-1.0.12rc3/include/adriver.h:243: error:
>> > redefinition of typedef 'gfp_t'
>> > include/linux/gfp.h:133: error: previous declaration of 'gfp_t' was here
>> > make[4]: *** [/usr/src/alsa/alsa-driver-1.0.12rc3/acore/memalloc.o] Error 
>> 1
>> > make[3]: *** [/usr/src/alsa/alsa-driver-1.0.12rc3/acore] Error 2
>> > make[2]: *** [_module_/usr/src/alsa/alsa-driver-1.0.12rc3] Error 2
>> > make[1]: *** [modules] Error 2
>> > make[1]: Leaving directory `/usr/src/kernels/2.6.9-42.EL-x86_64'
>> > make: *** [compile] Error 2
>> > find /lib/modules/2.6.9-42.EL/kernel/sound -name 'snd*.*o' | xargs rm -f
>> > make[1]: Entering directory `/usr/src/alsa/alsa-driver-1.0.12rc3/acore'
>> > mkdir -p /lib/modules/2.6.9-42.EL/kernel/sound/acore
>> > cp snd-page-alloc.ko snd-pcm.ko snd-rawmidi.ko snd-timer.ko snd.ko
>> > /lib/modules/2.6.9-42.EL/kernel/sound/acore
>> > cp: cannot stat `snd-page-alloc.ko': No such file or directory
>> > cp: cannot stat `snd-pcm.ko': No such file or directory
>> > cp: cannot stat `snd-rawmidi.ko': No such file or directory
>> > cp: cannot stat `snd-timer.ko': No such file or directory
>> > cp: cannot stat `snd.ko': No such file or directory
>> > make[1]: *** [modules_install] Error 1
>> > make[1]: Leaving directory `/usr/src/alsa/alsa-driver-1.0.12rc3/acore'
>> > make: *** [install-modules] Error 1
>> > --End compile log--
>> >
>> >
>> >
>> > -------------------------------------------------------------------------
>> > Using Tomcat but need to do more? Need to support web services, security?
>> > Get stuff done quickly with pre-integrated technology to make your job 
>> easier
>> > Download IBM WebSphere Application Server v.1.0.1 based on Apache 
>> Geronimo
>> > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
>> > _______________________________________________
>> > Alsa-user mailing list
>> > Alsa-user@lists.sourceforge.net
>> > https://lists.sourceforge.net/lists/listinfo/alsa-user
>> >
>> 
>> --
>> William G. Unruh   |  Canadian Institute for|     Tel: +1(604)822-3273
>> Physics&Astronomy  |     Advanced Research  |     Fax: +1(604)822-5324
>> UBC, Vancouver,BC  |   Program in Cosmology |     [EMAIL PROTECTED]
>> Canada V6T 1Z1     |      and Gravity       |  www.theory.physics.ubc.ca/
>> 
>> -------------------------------------------------------------------------
>> Using Tomcat but need to do more? Need to support web services, security?
>> Get stuff done quickly with pre-integrated technology to make your job 
>> easier
>> Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
>> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
>> _______________________________________________
>> Alsa-user mailing list
>> Alsa-user@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/alsa-user
>
>

-- 
William G. Unruh   |  Canadian Institute for|     Tel: +1(604)822-3273
Physics&Astronomy  |     Advanced Research  |     Fax: +1(604)822-5324
UBC, Vancouver,BC  |   Program in Cosmology |     [EMAIL PROTECTED]
Canada V6T 1Z1     |      and Gravity       |  www.theory.physics.ubc.ca/

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Alsa-user mailing list
Alsa-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/alsa-user

Reply via email to