Skip to contentSkip to conversation

Compilation warnings on amd64

DISCUSSION Florian Bomers 2 participants 2 messages Jun 8, 2004

lore
Share & tools
lore
#0 lore raw

Hi,

I updated an opteron system from SLES 8.1 to 8.1 patchlevel 3, kernel 2.4.21-127-default, and I get the warnings below for almost every file to be compiled. It seems to work fine though.

Florian

gcc -D__KERNEL__ -DMODULE=1 -I/root/ALSA/alsa-driver-1.0.5a/include -I/lib/modules/2.4.21-127-default/build/include -O2 -mno-red-zone -mcmodel=kernel -fno-reorder-blocks -fno-strength-reduce -finline-limit=2000 -DLINUX -Wall -Wstrict-prototypes -fomit-frame-pointer -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -pipe -DALSA_BUILD -nostdinc -iwithprefix include -DKBUILD_BASENAME=ac97_patch -c -o ac97_patch.o ac97_patch.c
In file included from /root/ALSA/alsa-driver-1.0.5a/include/sound/driver.h:64,

                 from ../../alsa-kernel/pci/ac97/ac97_patch.c:26,
                 from ac97_patch.c:2:
/root/ALSA/alsa-driver-1.0.5a/include/sound/sndmagic.h:213:1: warning: "snd_magic_kfree" redefined
In file included from /lib/modules/2.4.21-127-default/build/include/linux/modversions.h:366,
                 from /root/ALSA/alsa-driver-1.0.5a/include/adriver.h:42,
                 from 
/root/ALSA/alsa-driver-1.0.5a/include/sound/driver.h:42,
                 from ../../alsa-kernel/pci/ac97/ac97_patch.c:26,
                 from ac97_patch.c:2:

/lib/modules/2.4.21-127-default/build/include/linux/modules/sound.ver:28:1: warning: this is the location of the previous definition

Signature · 14 lines
Florian Bomers
Java Sound
Sun Microsystems, Inc.
http://java.sun.com/products/java-media/sound/
----------------------------------------------
Please quote this email in your reply. Thanks!



-------------------------------------------------------
This SF.Net email is sponsored by: GNOME Foundation
Hackers Unite!  GUADEC: The world's #1 Open Source Desktop Event.
GNOME Users and Developers European Conference, 28-30th June in Norway
http://2004/guadec.org
#1 lore raw

At Tue, 08 Jun 2004 08:07:27 -0700,

Quoted 6 lines · Florian Bomers

Hi,

I updated an opteron system from SLES 8.1 to 8.1 patchlevel 3, kernel 2.4.21-127-default, and I get the warnings below for almost every file to be compiled. It seems to work fine though.

this should be harmless. it happens on old SUSE kernels sometimes because it includes the ALSA modules.

Takashi

-------------------------------------------------------
This SF.Net email is sponsored by: GNOME Foundation
Hackers Unite! GUADEC: The world's #1 Open Source Desktop Event. GNOME Users and Developers European Conference, 28-30th June in Norway
http://2004/guadec.org