Skip to contentSkip to conversation

Compilation alsa-driver-1.0.9b still broken

DISCUSSION Sebastian Stein 2 participants 5 messages Jun 8, 2005

lore
Share & tools
lore
#0 lore raw

Hi,

I have seen you already updated the alsa-driver package twice to fix compilation on 2.4. kernels, but it is still broken for me.

make[1]: Leaving directory /usr/src/alsa/alsa-driver-1.0.9b/support' make[1]: Entering directory /usr/src/alsa/alsa-driver-1.0.9b/pci' gcc -D__KERNEL__ -DMODULE=1 -I/usr/src/alsa/alsa-driver-1.0.9b/include -I/lib/modules/2.4.31/build/include -O2 -mpreferred-stack-boundary=2 -march=k6 -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.31/build/include/linux/modversions.h
-DKBUILD_BASENAME=ens1371 -c -o ens1371.o ens1371.c
In file included from ../alsa-kernel/pci/ens1371.c:2,

                 from ens1371.c:1:

../alsa-kernel/pci/ens1370.c: In function `snd_ensoniq_playback1_prepare':
../alsa-kernel/pci/ens1370.c:852: error: `e' undeclared (first use in this function)
../alsa-kernel/pci/ens1370.c:852: error: (Each undeclared identifier is reported only once
../alsa-kernel/pci/ens1370.c:852: error: for each function it appears in.) ../alsa-kernel/pci/ens1370.c:852: error: parse error before "se" make[1]: *** [ens1371.o] Error 1
make[1]: Leaving directory `/usr/src/alsa/alsa-driver-1.0.9b/pci'
make: *** [compile] Error 1

I have a Creative Sound Blaster card on the system I try to compile for. The system is running a 2.4.31 kernel on a Slackware 10.0 system.

Please cc me, I'm not subscribed.

Sebastian

-------------------------------------------------------
This SF.Net email is sponsored by: NEC IT Guy Games. How far can you shotput a projector? How fast can you ride your desk chair down the office luge track? If you want to score the big prize, get to know the little guy. Play to win an NEC 61" plasma display: http://www.necitguy.com/?r=20

#1 lore raw

At Wed, 8 Jun 2005 17:14:59 +0200,

Quoted 17 lines · Sebastian Stein

Hi,

I have seen you already updated the alsa-driver package twice to fix compilation on 2.4. kernels, but it is still broken for me.

make[1]: Leaving directory /usr/src/alsa/alsa-driver-1.0.9b/support' make[1]: Entering directory /usr/src/alsa/alsa-driver-1.0.9b/pci' gcc -D__KERNEL__ -DMODULE=1 -I/usr/src/alsa/alsa-driver-1.0.9b/include

(quoted diff) +0 -4
-I/lib/modules/2.4.31/build/include -O2 -mpreferred-stack-boundary=2
-march=k6 -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.31/build/include/linux/modversions.h
-DKBUILD_BASENAME=ens1371 -c -o ens1371.o ens1371.c
In file included from ../alsa-kernel/pci/ens1371.c:2,

                 from ens1371.c:1:
Quoted 10 lines

../alsa-kernel/pci/ens1370.c: In function `snd_ensoniq_playback1_prepare':
../alsa-kernel/pci/ens1370.c:852: error: `e' undeclared (first use in this function)
../alsa-kernel/pci/ens1370.c:852: error: (Each undeclared identifier is reported only once
../alsa-kernel/pci/ens1370.c:852: error: for each function it appears in.) ../alsa-kernel/pci/ens1370.c:852: error: parse error before "se" make[1]: *** [ens1371.o] Error 1
make[1]: Leaving directory `/usr/src/alsa/alsa-driver-1.0.9b/pci'
make: *** [compile] Error 1

I guess your alsa-kernel/pci/ens1370.c file is broken.

Takashi

-------------------------------------------------------
This SF.Net email is sponsored by: NEC IT Guy Games. How far can you shotput a projector? How fast can you ride your desk chair down the office luge track? If you want to score the big prize, get to know the little guy. Play to win an NEC 61" plasma display: http://www.necitguy.com/?r=20

#2 lore raw

Takashi Iwai <[email protected]> [050608 17:47]:

Quoted 11 lines
Quoted 10 lines

../alsa-kernel/pci/ens1370.c: In function `snd_ensoniq_playback1_prepare':
../alsa-kernel/pci/ens1370.c:852: error: `e' undeclared (first use in this function)
../alsa-kernel/pci/ens1370.c:852: error: (Each undeclared identifier is reported only once
../alsa-kernel/pci/ens1370.c:852: error: for each function it appears in.) ../alsa-kernel/pci/ens1370.c:852: error: parse error before "se" make[1]: *** [ens1371.o] Error 1
make[1]: Leaving directory `/usr/src/alsa/alsa-driver-1.0.9b/pci'
make: *** [compile] Error 1

Quoted 1 line

I guess your alsa-kernel/pci/ens1370.c file is broken.

Maybe, but I just used the files provided in the tar on alsa-project.org. The md5sum of the file is on my system:

e2a085f4ea1f0098a0b8ba1bff5e9bae ens1370.c

Sebastian

-------------------------------------------------------
This SF.Net email is sponsored by: NEC IT Guy Games. How far can you shotput a projector? How fast can you ride your desk chair down the office luge track? If you want to score the big prize, get to know the little guy. Play to win an NEC 61" plasma display: http://www.necitguy.com/?r=20

#3 lore raw

At Wed, 8 Jun 2005 17:49:29 +0200,

Quoted 13 lines · Sebastian Stein

Takashi Iwai <[email protected]> [050608 17:47]:

Quoted 11 lines
Quoted 10 lines

../alsa-kernel/pci/ens1370.c: In function `snd_ensoniq_playback1_prepare':
../alsa-kernel/pci/ens1370.c:852: error: `e' undeclared (first use in this function)
../alsa-kernel/pci/ens1370.c:852: error: (Each undeclared identifier is reported only once
../alsa-kernel/pci/ens1370.c:852: error: for each function it appears in.) ../alsa-kernel/pci/ens1370.c:852: error: parse error before "se" make[1]: *** [ens1371.o] Error 1
make[1]: Leaving directory `/usr/src/alsa/alsa-driver-1.0.9b/pci'
make: *** [compile] Error 1

Quoted 6 lines
Quoted 1 line

I guess your alsa-kernel/pci/ens1370.c file is broken.

Maybe, but I just used the files provided in the tar on alsa-project.org. The md5sum of the file is on my system:

e2a085f4ea1f0098a0b8ba1bff5e9bae ens1370.c

Hmm, md5sum looks OK. But I don't find any obvious failure in the code at all. I still suspect it's something wrong in your system. (The word "else" seems to be split to e and something and se... by some reason)

Takashi

-------------------------------------------------------
This SF.Net email is sponsored by: NEC IT Guy Games. How far can you shotput a projector? How fast can you ride your desk chair down the office luge track? If you want to score the big prize, get to know the little guy. Play to win an NEC 61" plasma display: http://www.necitguy.com/?r=20

#4 lore raw

Takashi Iwai <[email protected]> [050608 18:38]:

Quoted 12 lines
Quoted 12 lines
Quoted 8 lines
Quoted 6 lines

reported only once
../alsa-kernel/pci/ens1370.c:852: error: for each function it appears in.) ../alsa-kernel/pci/ens1370.c:852: error: parse error before "se" make[1]: *** [ens1371.o] Error 1
make[1]: Leaving directory `/usr/src/alsa/alsa-driver-1.0.9b/pci'
make: *** [compile] Error 1

I guess your alsa-kernel/pci/ens1370.c file is broken.

Maybe, but I just used the files provided in the tar on alsa-project.org. The md5sum of the file is on my system:

Quoted 6 lines
Quoted 1 line

e2a085f4ea1f0098a0b8ba1bff5e9bae ens1370.c

Hmm, md5sum looks OK. But I don't find any obvious failure in the code at all. I still suspect it's something wrong in your system. (The word "else" seems to be split to e and something and se... by some reason)

Indeed, it is. I don't understand it, but yes it is. I fixed it, very strange.

Thanks for your help,

Sebastian

Signature · 9 lines
http://www.halle-ist-schoen.de/
Bilddokumentation der schoensten Saalestadt


-------------------------------------------------------
This SF.Net email is sponsored by: NEC IT Guy Games.  How far can you shotput
a projector? How fast can you ride your desk chair down the office luge track?
If you want to score the big prize, get to know the little guy.  
Play to win an NEC 61" plasma display: http://www.necitguy.com/?r=20