Build failures while building ALSA on a RH9 box

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello,

Are the current versions of ALSA supported under RedHat 9 ?

(This specific box is using kernel version 2.4.20-31.9.)

I am seeing multiple build failures while attempting to build the
alsa-driver-1.0.21 package.

As kernel modules are been built, I have made sure that I am using the
system supplied compiler (gcc 3.2.2) and the system supplied binutils.

The configure command used was:

./configure --with-debug=full --with-sequencer=yes --with-oss=yes

I get the following build failure:

gcc -M -D__KERNEL__ -D__isapnp_now__ -DMODULE=1
-I/apps/alsa-20091123/alsa-driver-1.0.21/include
-I/lib/modules/2.4.20-31.9/build/include -O2
-mpreferred-stack-boundary=2 -march=athlon -DLINUX -DALSA_BUILD
-nostdinc -iwithprefix include  riptide.c > .depend
riptide.c:1241:1: directives may not be used inside a macro argument
riptide.c:1240:70: unterminated argument list invoking macro "request_firmware"
make[3]: *** [fastdep] Error 1
make[3]: Leaving directory `/apps/alsa-20091123/alsa-driver-1.0.21/pci/riptide'
make[2]: *** [_sfdep_riptide] Error 2
make[2]: Leaving directory `/apps/alsa-20091123/alsa-driver-1.0.21/pci'
make[1]: *** [dep] Error 1
make[1]: Leaving directory `/apps/alsa-20091123/alsa-driver-1.0.21'
make: *** [include/sndversions.h] Error 2

Note that restarting the make does not result in the make attempting
to rebuild riptide.c, but instead make apparently ignores the failed
module (which did surprise me, BTW), as the failure is now:

In file included from cs4236.c:1:
/apps/alsa-20091123/alsa-driver-1.0.21/include/adriver.h:1004:1:
warning: "kfree" redefined
In file included from
/lib/modules/2.4.20-31.9/build/include/linux/modversions.h:1350,
                 from <command line>:1:
/lib/modules/2.4.20-31.9/build/include/linux/modules/ksyms.ver:4493:1:
warning: this is the location of the previous definition
In file included from cs4236.c:2:
../../alsa-kernel/isa/cs423x/cs4236.c: In function `snd_cs423x_pnpbios_detect':
../../alsa-kernel/isa/cs423x/cs4236.c:583: structure has no member named `id'
../../alsa-kernel/isa/cs423x/cs4236.c:586: structure has no member
named `protocol'
../../alsa-kernel/isa/cs423x/cs4236.c:586: structure has no member
named `protocol_list'
../../alsa-kernel/isa/cs423x/cs4236.c:586: structure has no member
named `protocol_list'
../../alsa-kernel/isa/cs423x/cs4236.c:586: warning: left-hand operand
of comma expression has no effect
../../alsa-kernel/isa/cs423x/cs4236.c:586: structure has no member
named `protocol_list'
../../alsa-kernel/isa/cs423x/cs4236.c:586: structure has no member
named `protocol'
../../alsa-kernel/isa/cs423x/cs4236.c:586: structure has no member
named `protocol_list'
../../alsa-kernel/isa/cs423x/cs4236.c:586: structure has no member
named `protocol_list'
../../alsa-kernel/isa/cs423x/cs4236.c:586: structure has no member
named `protocol_list'
../../alsa-kernel/isa/cs423x/cs4236.c:586: warning: left-hand operand
of comma expression has no effect
../../alsa-kernel/isa/cs423x/cs4236.c:587: structure has no member named `id'
make[2]: *** [cs4236.o] Error 1
make[2]: Leaving directory `/apps/alsa-20091123/alsa-driver-1.0.21/isa/cs423x'
make[1]: *** [_modsubdir_cs423x] Error 2
make[1]: Leaving directory `/apps/alsa-20091123/alsa-driver-1.0.21/isa'
make: *** [compile] Error 1

When I modify the configure command as follows:

./configure --with-debug=full --with-sequencer=yes --with-oss=yes
--with-isapnp=no

I get the riptide.c build failure again and then (after restarting
make) see the following as the next failure:

copying file alsa-kernel/pci/ad1889.c
patching file ad1889.c
gcc -D__KERNEL__ -DMODULE=1
-I/apps/alsa-20091123/alsa-driver-1.0.21/include
-I/lib/modules/2.4.20-31.9/build/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 -nostdinc
-iwithprefix include -DMODVERSIONS -include
/lib/modules/2.4.20-31.9/build/include/linux/modversions.h
-DKBUILD_BASENAME=ad1889   -c -o ad1889.o ad1889.c
In file included from ad1889.c:1:
/apps/alsa-20091123/alsa-driver-1.0.21/include/adriver.h:999:1:
warning: "kmalloc" redefined
In file included from
/lib/modules/2.4.20-31.9/build/include/linux/modversions.h:1350,
                 from <command line>:1:
/lib/modules/2.4.20-31.9/build/include/linux/modules/ksyms.ver:1853:1:
warning: this is the location of the previous definition
In file included from ad1889.c:1:
/apps/alsa-20091123/alsa-driver-1.0.21/include/adriver.h:1004:1:
warning: "kfree" redefined
In file included from
/lib/modules/2.4.20-31.9/build/include/linux/modversions.h:1350,
                 from <command line>:1:
/lib/modules/2.4.20-31.9/build/include/linux/modules/ksyms.ver:4493:1:
warning: this is the location of the previous definition
In file included from ad1889.c:47:
/apps/alsa-20091123/alsa-driver-1.0.21/include/sound/ac97_codec.h: In
function `snd_ac97_dev_add_pdata':
/apps/alsa-20091123/alsa-driver-1.0.21/include/sound/ac97_codec.h:651:
structure has no member named `platform_data'
make[1]: *** [ad1889.o] Error 1
make[1]: Leaving directory `/apps/alsa-20091123/alsa-driver-1.0.21/pci'
make: *** [compile] Error 1

Does anyone have any suggestions ?

Thanks,

Simon.

-- 
Simon Clubley
simon.clubley@xxxxxxxxxxxxxx

------------------------------------------------------------------------------
Join us December 9, 2009 for the Red Hat Virtual Experience,
a free event focused on virtualization and cloud computing. 
Attend in-depth sessions from your desk. Your couch. Anywhere.
http://p.sf.net/sfu/redhat-sfdev2dev
_______________________________________________
Alsa-user mailing list
Alsa-user@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/alsa-user

[Index of Archives]     [ALSA Devel]     [Linux Audio Users]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]

  Powered by Linux