Skip to contentSkip to conversation

2.4.5-ac15 -- Unresolved symbols "gameport_register_port" and "gameport_unregister_port" in char/joystick/[cs461x.o, emu10k1-gp.o, lightning.o, ns558.o, pcigame.o]

DISCUSSION Miles Lane 4 participants 4 messages Jun 18, 2001 – Jun 19, 2001

lore
Share & tools
lore

Miles Lane

author
#0 lore raw

I don't know if this is due to symbols not being exported or due to some failed dependency structuring in "make menuconfig".

find kernel -path '*/pcmcia/*' -name '*.o' | xargs -i -r ln -sf ../{} pcmcia
if [ -r System.map ]; then /sbin/depmod -ae -F System.map 2.4.5-ac15; fi
depmod: *** Unresolved symbols in /lib/modules/2.4.5-ac15/kernel/drivers/char/joystick/cs461x.o
depmod: gameport_register_port
depmod: gameport_unregister_port
depmod: *** Unresolved symbols in /lib/modules/2.4.5-ac15/kernel/drivers/char/joystick/emu10k1-gp.o
depmod: gameport_register_port
depmod: gameport_unregister_port
depmod: *** Unresolved symbols in /lib/modules/2.4.5-ac15/kernel/drivers/char/joystick/lightning.o
depmod: gameport_register_port
depmod: gameport_unregister_port
depmod: *** Unresolved symbols in /lib/modules/2.4.5-ac15/kernel/drivers/char/joystick/ns558.o
depmod: gameport_register_port
depmod: gameport_unregister_port
depmod: *** Unresolved symbols in /lib/modules/2.4.5-ac15/kernel/drivers/char/joystick/pcigame.o
depmod: gameport_register_port
depmod: gameport_unregister_port

Here are the relevant .config bits:

CONFIG_INPUT_GAMEPORT=y
CONFIG_INPUT_NS558=m
CONFIG_INPUT_LIGHTNING=m
CONFIG_INPUT_PCIGAME=m
CONFIG_INPUT_CS461X=m
CONFIG_INPUT_EMU10K1=m
CONFIG_INPUT_SERIO=m
CONFIG_INPUT_SERPORT=m
# CONFIG_INPUT_ANALOG is not set
# CONFIG_INPUT_A3D is not set
# CONFIG_INPUT_ADI is not set
# CONFIG_INPUT_COBRA is not set
# CONFIG_INPUT_GF2K is not set
# CONFIG_INPUT_GRIP is not set
# CONFIG_INPUT_INTERACT is not set
# CONFIG_INPUT_TMDC is not set
# CONFIG_INPUT_SIDEWINDER is not set
# CONFIG_INPUT_IFORCE_USB is not set
# CONFIG_INPUT_IFORCE_232 is not set
# CONFIG_INPUT_WARRIOR is not set
# CONFIG_INPUT_MAGELLAN is not set
# CONFIG_INPUT_SPACEORB is not set
# CONFIG_INPUT_SPACEBALL is not set
# CONFIG_INPUT_STINGER is not set
# CONFIG_INPUT_DB9 is not set
# CONFIG_INPUT_GAMECON is not set
# CONFIG_INPUT_TURBOGRAFX is not set
# CONFIG_QIC02_TAPE is not set

#1 lore raw
Quoted 6 lines · Miles Lane

I don't know if this is due to symbols not being exported or due to some failed dependency structuring in "make menuconfig".
depmod: *** Unresolved symbols in /lib/modules/2.4.5-ac15/kernel/drivers/char/joystick/cs461x.o
depmod: gameport_register_port
depmod: gameport_unregister_port

Works for me with your .config fragment. It could be a menu order dependency, save .config, make oldconfig, compare the saved and new .config. If they are different then it was a menuconfig order problem[*], if they are the same then I need your full .config, not just an extract.

[*] A good reason to use CML2 ;)

#2 lore raw

Re: 2.4.5-ac15 -- Unresolved symbols "gameport_register_port" and "gameport_unregister_port" in char/joystick/[cs461x.o, emu10k1

Quoted 5 lines

.config. If they are different then it was a menuconfig order problem[*], if they are the same then I need your full .config, not just an extract.

[*] A good reason to use CML2 ;)

You don't need CML2 to resolve dependancy orders and clashes, CML1 is expressing the constraints, its just a tool issue

#3 lore raw
In reply to Miles Lane

hi,

something similar is happening with my kernel 2.4.5-ac15 compilation.

drivers/sound/sounddrivers.o: In function `es1371_probe':
drivers/sound/sounddrivers.o(.text.init+0xddb): undefined reference to `gameport_register_port'
drivers/sound/sounddrivers.o: In function `es1371_remove':
drivers/sound/sounddrivers.o(.text.init+0xf1a): undefined reference to `gameport_unregister_port'
make: *** [vmlinux] Error 1

there is nothing configured for gameport stuff etc. i attached my .config, maybe it's of help.

axel

Quoted 66 lines · Miles Lane

I don't know if this is due to symbols not being exported or due to some failed dependency structuring in "make menuconfig".

find kernel -path '*/pcmcia/*' -name '*.o' | xargs -i -r ln -sf ../{} pcmcia
if [ -r System.map ]; then /sbin/depmod -ae -F System.map 2.4.5-ac15; fi
depmod: *** Unresolved symbols in /lib/modules/2.4.5-ac15/kernel/drivers/char/joystick/cs461x.o
depmod: gameport_register_port
depmod: gameport_unregister_port
depmod: *** Unresolved symbols in /lib/modules/2.4.5-ac15/kernel/drivers/char/joystick/emu10k1-gp.o
depmod: gameport_register_port
depmod: gameport_unregister_port
depmod: *** Unresolved symbols in /lib/modules/2.4.5-ac15/kernel/drivers/char/joystick/lightning.o
depmod: gameport_register_port
depmod: gameport_unregister_port
depmod: *** Unresolved symbols in /lib/modules/2.4.5-ac15/kernel/drivers/char/joystick/ns558.o
depmod: gameport_register_port
depmod: gameport_unregister_port
depmod: *** Unresolved symbols in /lib/modules/2.4.5-ac15/kernel/drivers/char/joystick/pcigame.o
depmod: gameport_register_port
depmod: gameport_unregister_port

Here are the relevant .config bits:

CONFIG_INPUT_GAMEPORT=y
CONFIG_INPUT_NS558=m
CONFIG_INPUT_LIGHTNING=m
CONFIG_INPUT_PCIGAME=m
CONFIG_INPUT_CS461X=m
CONFIG_INPUT_EMU10K1=m
CONFIG_INPUT_SERIO=m
CONFIG_INPUT_SERPORT=m
# CONFIG_INPUT_ANALOG is not set
# CONFIG_INPUT_A3D is not set
# CONFIG_INPUT_ADI is not set
# CONFIG_INPUT_COBRA is not set
# CONFIG_INPUT_GF2K is not set
# CONFIG_INPUT_GRIP is not set
# CONFIG_INPUT_INTERACT is not set
# CONFIG_INPUT_TMDC is not set
# CONFIG_INPUT_SIDEWINDER is not set
# CONFIG_INPUT_IFORCE_USB is not set
# CONFIG_INPUT_IFORCE_232 is not set
# CONFIG_INPUT_WARRIOR is not set
# CONFIG_INPUT_MAGELLAN is not set
# CONFIG_INPUT_SPACEORB is not set
# CONFIG_INPUT_SPACEBALL is not set
# CONFIG_INPUT_STINGER is not set
# CONFIG_INPUT_DB9 is not set
# CONFIG_INPUT_GAMECON is not set
# CONFIG_INPUT_TURBOGRAFX is not set
# CONFIG_QIC02_TAPE is not set

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/