Subject: Building MOL and X11 lib
From: Philippe Lelédy (phl@leledy.org)
Date: Mon Jan 15 2001 - 09:45:25 MST
For my 2.4.0test11 kernel, I need to build mol myself.
Downloading from bk works fine, but build fails due to X11 devel lib:
gcc -L/usr/X11R6/lib -lX11 -lXext -lpthread -lelf -lm -o mol
debugger/debugger.o emulation/emulation.o drivers/drivers.o
booter/booter.o
fails due to
undefined reference to `XShmQueryExtension'
in fact XShmCreateImage XShmDetach XShmPutImage XShmQueryExtension
are all undefined.
As I understand, they all should be defined in
/usr/X11R6/lib/libXext.a
so I tried
nm /usr/X11R6/lib/libXext.a | grep CreateImage
XShm.o:
00000700 T XShmAttach
000009b0 T XShmCreateImage
00000f88 T XShmCreatePixmap
0000085c T XShmDetach
00000368 T XShmGetEventBase
00000d48 T XShmGetImage
00000564 T XShmPixmapFormat
00000b34 T XShmPutImage
00000328 T XShmQueryExtension
000003ac T XShmQueryVersion
0000098c t _XShmDestroyImage
I can't investigate further. I don't understand why ld is unable to find
this definitions.
My X11 is XFree86-devel-3.3.6-11.2 and due to the trouble I've heard of I
don't feel to upgrade now.
One by-pass would be a build option "don't use X11" as I don't need
it. How ?
Salutations.
-----------
This archive was generated by hypermail 2a24 : Mon Jan 15 2001 - 09:45:50 MST