Skip to contentSkip to conversation

2.4.16-ia64-011128 compile errors with CONFIG_IA64_HP_SIM=y

Linux-ia64 Keith Owens 2 participants 2 messages Dec 2, 2001 – Dec 6, 2001

lore
Share & tools
lore
#0 lore raw

Trying out all the platform targets in 2.4.16-ia64-011128. CONFIG_IA64_HP_SIM=y does not compile out of the box.

drivers/net/simeth.c: In function `init_module':
drivers/net/simeth.c:566: simeth_dev' undeclared (first use in this function) drivers/net/simeth.c: In function cleanup_module':
drivers/net/simeth.c:578: `simeth_dev' undeclared (first use in this function) drivers/net/simeth.c: At top level:
drivers/net/simeth.c:110: warning: `simeth_setup' defined but not used

drivers/char/simserial.o: In function `rs_read_proc':
drivers/char/simserial.o(.text+0x3160): multiple definition of rs_read_proc' drivers/char/serial.o(.text+0x8f00): first defined here drivers/char/pc_keyb.o: In function detect_auxiliary_port':
drivers/char/pc_keyb.o(.text.init+0x761): undefined reference to `aux_device_present'

#1 lore raw

Keith,

Quoted 3 lines · Keith Owens

Trying out all the platform targets in 2.4.16-ia64-011128. CONFIG_IA64_HP_SIM=y does not compile out of the box.

You mean if you try to compile with:
CONFIG_SIMETH=m
CONFIG_SIM_SERIAL=m

It works if they are compiled in. I fixed the simeth, I just dropped the module support because it is not really necessary. The simserial driver cannot be compiled as a module and you don't want to compile with CONFIG_VT on.

Quoted 18 lines

drivers/net/simeth.c: In function `init_module':
drivers/net/simeth.c:566: simeth_dev' undeclared (first use in this function) drivers/net/simeth.c: In function cleanup_module':
drivers/net/simeth.c:578: `simeth_dev' undeclared (first use in this function) drivers/net/simeth.c: At top level:
drivers/net/simeth.c:110: warning: `simeth_setup' defined but not used

drivers/char/simserial.o: In function `rs_read_proc':
drivers/char/simserial.o(.text+0x3160): multiple definition of rs_read_proc' drivers/char/serial.o(.text+0x8f00): first defined here drivers/char/pc_keyb.o: In function detect_auxiliary_port':
drivers/char/pc_keyb.o(.text.init+0x761): undefined reference to `aux_device_present'

_______________________________________________
Linux-IA64 mailing list
[email protected]
http://lists.linuxia64.org/lists/listinfo/linux-ia64

Signature · 1 line
-Stephane