Skip to contentSkip to conversation

yesterday's morning cvs: via82xx build error?

DISCUSSION Fernando Pablo Lopez-Lezcano 2 participants 3 messages Jan 18, 2003 – Jan 21, 2003

lore
Share & tools
lore
#0 lore raw

[I sent this to linux-audio-devel by mistake... no clue what I was thinking]

Quoted 1 line

Date: 17 Jan 2003 18:01:14 -0800

Very strange:
I'm seeing this while trying to compile the alsa drivers:

gcc -D__KERNEL__ -DMODULE=1 -I/usr/src/redhat/BUILD/alsa-driver-0.9.0/include -I/lib/modules/2.4.19-1.llsmp/build/include -O2 -mpreferred-stack-boundary=2 -march=i686 -D__SMP__ -DCONFIG_SMP -DLINUX -Wall -Wstrict-prototypes -fomit-frame-pointer -pipe -DALSA_BUILD
-DKBUILD_BASENAME=via82xx -c -o via82xx.o via82xx.c
In file included from via82xx.c:1:
../alsa-kernel/pci/via82xx.c: In function `snd_via82xx_create':
../alsa-kernel/pci/via82xx.c:1588: structure has no member named `rate_lock'
make[1]: *** [via82xx.o] Error 1

The error happens when compiling in an SMP host with gcc2.96, but the same tarfile compiles fine on a UP host with gcc2.96 (same kernel) and on another UP host with gcc3.2...

-- Fernando

-------------------------------------------------------
This SF.NET email is sponsored by: Thawte.com - A 128-bit supercerts will allow you to extend the highest allowed 128 bit encryption to all your clients even if they use browsers that are limited to 40 bit encryption. Get a guide here:http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0030en

#1 lore raw

At 18 Jan 2003 13:42:17 -0800,

Quoted 21 lines · Fernando Pablo Lopez-Lezcano

[I sent this to linux-audio-devel by mistake... no clue what I was thinking]

Quoted 1 line

Date: 17 Jan 2003 18:01:14 -0800

Very strange:
I'm seeing this while trying to compile the alsa drivers:

gcc -D__KERNEL__ -DMODULE=1

(quoted diff) +0 -5
-I/usr/src/redhat/BUILD/alsa-driver-0.9.0/include 
-I/lib/modules/2.4.19-1.llsmp/build/include -O2
-mpreferred-stack-boundary=2 -march=i686 -D__SMP__ -DCONFIG_SMP -DLINUX
-Wall -Wstrict-prototypes -fomit-frame-pointer -pipe -DALSA_BUILD 
-DKBUILD_BASENAME=via82xx   -c -o via82xx.o via82xx.c

In file included from via82xx.c:1:
../alsa-kernel/pci/via82xx.c: In function `snd_via82xx_create':
../alsa-kernel/pci/via82xx.c:1588: structure has no member named `rate_lock'
make[1]: *** [via82xx.o] Error 1

Quoted 3 lines

The error happens when compiling in an SMP host with gcc2.96, but the same tarfile compiles fine on a UP host with gcc2.96 (same kernel) and on another UP host with gcc3.2...

fixed on cvs. could you update the cvs tree again?

thanks.

Takashi

-------------------------------------------------------
This SF.NET email is sponsored by: FREE SSL Guide from Thawte are you planning your Web Server Security? Click here to get a FREE Thawte SSL guide and find the answers to all your SSL security issues.
http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0026en

#2 lore raw
Quoted 15 lines
Quoted 15 lines

Very strange:
I'm seeing this while trying to compile the alsa drivers:

gcc -D__KERNEL__ -DMODULE=1

(quoted diff) +0 -5
-I/usr/src/redhat/BUILD/alsa-driver-0.9.0/include 
-I/lib/modules/2.4.19-1.llsmp/build/include -O2
-mpreferred-stack-boundary=2 -march=i686 -D__SMP__ -DCONFIG_SMP -DLINUX
-Wall -Wstrict-prototypes -fomit-frame-pointer -pipe -DALSA_BUILD 
-DKBUILD_BASENAME=via82xx   -c -o via82xx.o via82xx.c

In file included from via82xx.c:1:
../alsa-kernel/pci/via82xx.c: In function `snd_via82xx_create':
../alsa-kernel/pci/via82xx.c:1588: structure has no member named `rate_lock'
make[1]: *** [via82xx.o] Error 1

Quoted 5 lines
Quoted 3 lines

The error happens when compiling in an SMP host with gcc2.96, but the same tarfile compiles fine on a UP host with gcc2.96 (same kernel) and on another UP host with gcc3.2...

fixed on cvs. could you update the cvs tree again?

Takashi: many thanks! It's compiling fine now...
-- Fernando

-------------------------------------------------------
This SF.NET email is sponsored by:
SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
http://www.vasoftware.com