gcc -D__KERNEL__ -I/home/nitro/src/linux-2.4.7/include -Wall \
-Wstrict-prototypes -Wno-trigraphs -O2 -fomit-frame-pointer \
-fno-strict-aliasing -fno-common -pipe -mpreferred-stack-boundary=2 \
-march=k6 -c -o esssolo1.o esssolo1.c \
esssolo1.c:2455: warning: initialization from incompatible pointer type
esssolo1.c:2457: warning: initialization from incompatible pointer type
and
drivers/sound/sounddrivers.o: In function `solo1_probe':
drivers/sound/sounddrivers.o(.text.init+0x3ab): undefined reference to \
`gameport_register_port'
drivers/sound/sounddrivers.o: In function `solo1_remove':
drivers/sound/sounddrivers.o(.text.init+0x4d7): undefined reference to \
`gameport_unregister_port'
make: *** [vmlinux] Error 1
--
Sven Vermeulen - Key-ID CDBA2FDB
LUG: http://www.lugwv.be - http://www.keyserver.net
I've also got problem with the esssolo1 driver when
trying to load the esssolo1.o after "successfully"
building and rebooting.
The version of ksymoops and modutils is respectively
2.4.1 and 2.4.6.
Here is the last lines generated by "make modules_install":
if [ -r System.map ]; then /sbin/depmod -ae -F System.map 2.4.7; fi
depmod: *** Unresolved symbols in /lib/modules/2.4.7/kernel/drivers/sound/esssolo1.o
depmod: gameport_register_port_Rf891976c
depmod: gameport_unregister_port_Rb8ce4307
Btw, everything is OK under 2.4.6.
>gcc -D__KERNEL__ -I/home/nitro/src/linux-2.4.7/include -Wall \
> -Wstrict-prototypes -Wno-trigraphs -O2 -fomit-frame-pointer \
> -fno-strict-aliasing -fno-common -pipe -mpreferred-stack-boundary=2 \
> -march=k6 -c -o esssolo1.o esssolo1.c \
>esssolo1.c:2455: warning: initialization from incompatible pointer type
>esssolo1.c:2457: warning: initialization from incompatible pointer type
>
>and
>
>drivers/sound/sounddrivers.o: In function `solo1_probe':
>drivers/sound/sounddrivers.o(.text.init+0x3ab): undefined reference to \
> `gameport_register_port'
>drivers/sound/sounddrivers.o: In function `solo1_remove':
>drivers/sound/sounddrivers.o(.text.init+0x4d7): undefined reference to \
> `gameport_unregister_port'
>make: *** [vmlinux] Error 1
>
>
>--
> Sven Vermeulen - Key-ID CDBA2FDB
> LUG: http://www.lugwv.be - http://www.keyserver.net
>
>-
>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/
>
__________________________________________
IP??????????ȫ????ˮ?? http://shopping.263.net/category08.htm
?Ű??????????ﶩ?? http://shopping.263.net/category11.htm
On Sat, Jul 21, 2001 at 02:25:39PM +0200, you wrote:
> drivers/sound/sounddrivers.o: In function `solo1_probe':
> drivers/sound/sounddrivers.o(.text.init+0x3ab): undefined reference to \
> `gameport_register_port'
> drivers/sound/sounddrivers.o: In function `solo1_remove':
> drivers/sound/sounddrivers.o(.text.init+0x4d7): undefined reference to \
> `gameport_unregister_port'
> make: *** [vmlinux] Error 1
AFAIK, gameport_register_port and gameport_unregister_port are defined
in <linux/gameport.h>, which is included at the beginning of esssolo1.c
with the following code:
#if defined(CONFIG_INPUT_ANALOG) || defined(CONFIG_INPUT_ANALOG_MODULE)?
#include <linux/gameport.h>?
#else?
Maybe one of those Values (CONFIG_INPUT_ANALOG{_MODULE, }) is not
defined?
regards, alexx
--
| .-. | Alexander Griesser <[email protected]> -=- ICQ:63180135 | .''`. |
| /v\ | http://www.tuxx-home.at -=- Linux Version 2.4.6 | : :' : |
| /( )\ | FAQ zu at.linux: http://alfie.ist.org/LinuxFAQ | `. `' |
| ^^ ^^ `---------------------------------------------------? `- |
On Sat, Jul 21, 2001 at 02:47:24PM +0200, Alexander Griesser wrote:
> AFAIK, gameport_register_port and gameport_unregister_port are defined
> in <linux/gameport.h>, which is included at the beginning of esssolo1.c
> with the following code:
>
> #if defined(CONFIG_INPUT_ANALOG) || defined(CONFIG_INPUT_ANALOG_MODULE)?
> #include <linux/gameport.h>?
> #else?
No(t anymore):
[snip from esssolo1.c]
#include <asm/uaccess.h>
#include <asm/hardirq.h>
#include <linux/gameport.h>
[snip]
gameport.h is automatically included AFAIK
--
Sven Vermeulen - Key-ID CDBA2FDB
LUG: http://www.lugwv.be - http://www.keyserver.net
Hello,
I'm sure Keith and others fixed this problem a while ago through
fixing the config options...
Regards,
Frank
On Sat, 21 Jul 2001 11:07:31 -0400 (EDT),
Frank Davis <[email protected]> wrote:
> I'm sure Keith and others fixed this problem a while ago through
>fixing the config options...
It was fixed in the -ac patches.