Skip to contentSkip to conversation

ac97_codec.c - unresolved symbol msecs_to_jiffies on Kernel 2.4

DISCUSSION Raymond 2 participants 3 messages Jul 12, 2005

lore
Share & tools
lore

Raymond

author
#0 lore raw

make -C ac97 modules
make[2]: Entering directory `/root/alsa/alsa-driver-1.0.9b/pci/ac97' gcc32 -D__KERNEL__ -DMODULE=1 -I/root/alsa/alsa-driver-1.0.9b/include -I/lib/modules/2.4.22-1.2199.nptl/build/include -O2 -mpreferred-stack-boundary=2 -march=i686 -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.22-1.2199.nptl/build/include/linux/modversions.h -DEXPORT_SYMTAB -c ac97_codec.c
In file included from ac97_codec.c:1:
../../alsa-kernel/pci/ac97/ac97_codec.c: In function `snd_ac97_resume':
../../alsa-kernel/pci/ac97/ac97_codec.c:2252: warning: implicit declaration of function `msecs_to_jiffies'

http://cvs.sourceforge.net/viewcvs.py/alsa/alsa-kernel/pci/ac97/ac97_codec.c?r1=1.188&r2=1.189

# modprobe snd-au8830
/lib/modules/2.4.22-1.2199.nptl/kernel/sound/pci/ac97/snd-ac97-codec.o: unresolved symbol msecs_to_jiffies
/lib/modules/2.4.22-1.2199.nptl/kernel/sound/pci/ac97/snd-ac97-codec.o: insmod /lib/modules/2.4.22-1.2199.nptl/kernel/sound/pci/ac97/snd-ac97-codec.o failed
/lib/modules/2.4.22-1.2199.nptl/kernel/sound/pci/ac97/snd-ac97-codec.o: insmod snd-au8830 failed

-------------------------------------------------------
This SF.Net email is sponsored by the 'Do More With Dual!' webinar happening
July 14 at 8am PDT/11am EDT. We invite you to explore the latest in dual
core and dual graphics technology at this free one hour event hosted by HP, AMD, and NVIDIA. To register visit http://www.hp.com/go/dualwebinar

#1 lore raw
Quoted 4 lines · Raymond

ac97_codec.c:2252: warning: implicit declaration of function `msecs_to_jiffies'

http://cvs.sourceforge.net/viewcvs.py/alsa/alsa-kernel/pci/ac97/ac97_codec.c?r1=1.188&r2=1.189

This was caused by a bug in the configure script which has been fixed now.

HTH
Clemens

-------------------------------------------------------
This SF.Net email is sponsored by the 'Do More With Dual!' webinar happening July 14 at 8am PDT/11am EDT. We invite you to explore the latest in dual core and dual graphics technology at this free one hour event hosted by HP, AMD, and NVIDIA. To register visit http://www.hp.com/go/dualwebinar

author
#2 lore raw

ac97_codec.c can be compiled and snd-ac97-codec.o can be loaded.

http://cvs.sourceforge.net/viewcvs.py/*checkout*/alsa/alsa-driver/include/adriver.h?rev=1.128

http://cvs.sourceforge.net/viewcvs.py/*checkout*/alsa/alsa-driver/configure.in?rev=1.318

./cvscompile --with-cards

/root/alsa/alsa-driver/include/adriver.h: In function `jiffies_to_msecs':
/root/alsa/alsa-driver/include/adriver.h:639: warning: division by zero

Quoted 12 lines · Clemens Ladisch
Quoted 4 lines · Raymond

ac97_codec.c:2252: warning: implicit declaration of function `msecs_to_jiffies'

http://cvs.sourceforge.net/viewcvs.py/alsa/alsa-kernel/pci/ac97/ac97_codec.c?r1=1.188&r2=1.189

This was caused by a bug in the configure script which has been fixed now.

-------------------------------------------------------
This SF.Net email is sponsored by the 'Do More With Dual!' webinar happening
July 14 at 8am PDT/11am EDT. We invite you to explore the latest in dual
core and dual graphics technology at this free one hour event hosted by HP, AMD, and NVIDIA. To register visit http://www.hp.com/go/dualwebinar