On Fri, Apr 07, 2000 at 01:03:42AM +0200, Lukasz Michalski wrote:
> I've got Cobalt Cube 2 with kernel 2.0.34C52_SK with modules suported
> but when I tried to compile it I've got unresolved symbols.
>
> configured with --enable-idea:
>
> [root@qube cipe-1.3.0]# modprobe cipci
> /lib/modules/2.0.34C52_SK/misc/cipci.o: unresolved symbol _gp_disp
>
> configured with --enable-idea --disable-dyndev:
>
> [root@qube cipe-1.3.0]# modprobe cipci
> /lib/modules/2.0.34C52_SK/misc/cipci.o: unresolved symbol
> __down_interruptible
> /lib/modules/2.0.34C52_SK/misc/cipci.o: unresolved symbol _gp_disp
>
> I can't find _gp_disp variable in source cone nor in /usr/include header
> files. __down_interruptible is in asm/semaphore.h but
> including this header file does not helps to get rid of this....
>
> Can you help me to make it working ?
_gp_disp is a magic symbol references to which are only generated by the
assembler when generating PIC code, so you simply compiled using the
wrong options. Add ``-fno-pic -mno-abicalls'' to the options and this
problem will go away.
__down_interruptible isn't a symbol exported to modules in 2.2, you'll
have to export it in kernel/ksyms.c by adding ``X(__down_interruptible),''.
Ralf
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/
This archive was generated by hypermail 2b29 : Fri Apr 07 2000 - 21:00:18 EST