Missing X references
- To: debian-devel@Pixar.com
- Subject: Missing X references
- From: "brian (b.c.) white" <bcwhite@bnr.ca>
- Date: Tue, 28 Nov 1995 08:01:00 -0500
- Message-id: <"2898 Tue Nov 28 08:06:50 1995"@bnr.ca>
I've just moved over to the new elf compiler, but am having a problem
compiling a program which uses "-lX11". For some reason, none of the
symbols are resolved. Here is the output...
gcc -o wine controls/controls.o ipc/ipc.o loader/loader.o misc/misc.o multimedia/multimedia.o objects/objects.o rc/rc.o win32/win32.o windows/windows.o debugger/debugger.o debugger/readline/readline.o if1632/if1632.o memory/memory.o miscemu/miscemu.o -s -v -L/usr/X11R6/lib -lXpm -lXext -lX11 -lm
Reading specs from /usr/lib/gcc-lib/i486-linux/2.7.0/specs
gcc version 2.7.0
ld -m elf_i386 -dynamic-linker /lib/ld-linux.so.1 -o wine -s /usr/lib/crt1.o /usr/lib/crti.o /usr/lib/crtbegin.o -L/usr/X11R6/lib -L/usr/lib/gcc-lib/i486-linux/2.7.0 controls/controls.o ipc/ipc.o loader/loader.o misc/misc.o multimedia/multimedia.o objects/objects.o rc/rc.o win32/win32.o windows/windows.o debugger/debugger.o debugger/readline/readline.o if1632/if1632.o memory/memory.o miscemu/miscemu.o -lXpm -lXext -lX11 -lm -lgcc -lc -lgcc /usr/lib/crtend.o /usr/lib/crtn.o
loader/loader.o: In function `MODULE_LoadBuiltin':
module.c(.text+0x51e2): undefined reference to `XUngrabPointer'
module.c(.text+0x51ed): undefined reference to `XUngrabServer'
module.c(.text+0x51f8): undefined reference to `XFlush'
misc/misc.o: In function `EmptyClipboard':
xmalloc.c(.text+0x13c): undefined reference to `XSetSelectionOwner'
misc/misc.o: In function `GetClipboardOwner':
xmalloc.c(.text+0x1fc): undefined reference to `XSetSelectionOwner'
xmalloc.c(.text+0x2ee): undefined reference to `XInternAtom'
xmalloc.c(.text+0x301): undefined reference to `XConvertSelection'
[... and so on ...]
Was there a change to the X libs that I missed? I compiled and ran
fine with the old a.out compiler. Once I solve this, I can release
wine to Debian.
Brian
( bcwhite@bnr.ca )
-------------------------------------------------------------------------------
In theory, theory and practice are the same. In practice, they're not.
Reply to: