Skip to contentSkip to conversation

emu10k1 module compile error with latest cvs

DISCUSSION Jaakko Prattala 4 participants 4 messages Aug 2, 2003 – Aug 5, 2003

lore
Share & tools
lore
#0 lore raw

gcc -D__KERNEL__ -DMODULE=1 -I/home/jaakko/downloads/alsa020803/alsa-driver/include -I/lib/modules/2.4.20-8/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
-DKBUILD_BASENAME=emufx -c -o emufx.o emufx.c
In file included from emufx.c:2:
../../alsa-kernel/pci/emu10k1/emufx.c: In function `snd_emu10k1_gpr_ctl_put':
../../alsa-kernel/pci/emu10k1/emufx.c:367:
`EMU10K1_GRP_TRANSLATION_BASS' undeclared (first use in this function) ../../alsa-kernel/pci/emu10k1/emufx.c:367: (Each undeclared identifier is reported only once ../../alsa-kernel/pci/emu10k1/emufx.c:367: for each function it appears in.)
../../alsa-kernel/pci/emu10k1/emufx.c:372:
`EMU10K1_GRP_TRANSLATION_TREBLE' undeclared (first use in this function) In file included from emufx.c:2:
etc.

gcc version 3.2.2 on rhl 9

--
Jaakko

-------------------------------------------------------
This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01

#1 lore raw
Quoted 11 lines · On 02 Aug 2003 12:54:16 +0300 Jaakko Prattala <[email protected]>…

gcc -D__KERNEL__ -DMODULE=1

(quoted diff) +0 -5
-I/home/jaakko/downloads/alsa020803/alsa-driver/include 
-I/lib/modules/2.4.20-8/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 
-DKBUILD_BASENAME=emufx   -c -o emufx.o emufx.c

In file included from emufx.c:2:
../../alsa-kernel/pci/emu10k1/emufx.c: In function `snd_emu10k1_gpr_ctl_put':
../../alsa-kernel/pci/emu10k1/emufx.c:367:
`EMU10K1_GRP_TRANSLATION_BASS' undeclared (first use in this function)

It looks like a typo. Try and open emufx.c and replace EMU10K1_GRP_* with EMU10k1_GPR_*.

Signature · 5 lines
Ciao,
Nicola
--------------------------------------------------------------------
* Nicola Orru' - Via Dei Tulipani, 9 - 09034 Assemini (CA) - ITALY *
--------------------------------------------------------------------
#2 lore raw
Quoted 2 lines · --- Nicola Orru

It looks like a typo. Try and open emufx.c and
replace EMU10K1_GRP_* with EMU10k1_GPR_*.

Yup, a typo. Changing .._GRP_.. to .._GPR_.. fixed it.

Cheers,
Chris

P.S. alsa-lib is still broken, though.

________________________________________________________________________
Want to chat instantly with your online friends? Get the FREE Yahoo! Messenger http://uk.messenger.yahoo.com/

-------------------------------------------------------
This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01

#3 lore raw

At Sat, 2 Aug 2003 20:06:21 +0100 (BST),

Quoted 6 lines · Chris Rankin
Quoted 2 lines · --- Nicola Orru

It looks like a typo. Try and open emufx.c and
replace EMU10K1_GRP_* with EMU10k1_GPR_*.

Yup, a typo. Changing .._GRP_.. to .._GPR_.. fixed it.

fixed now.

Quoted 4 lines

Cheers,
Chris

P.S. alsa-lib is still broken, though.

fixed, too.

ciao,

Takashi

-------------------------------------------------------
This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01