bug-gnuzilla
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Compiling libX11.a error


From: Giuseppe Scrivano
Subject: Re: Compiling libX11.a error
Date: Tue, 29 Jul 2008 16:36:20 +0200
User-agent: Thunderbird 2.0.0.16 (Windows/20080708)

You are not the first one to report this problem. Can you please give me more information about? Which distro are you using? Do you have libxcb installed?

Thanks,
Giuseppe


Muhammad 'MJ' Jassim wrote:
In compiling the newest source package (3.0.1), I got to this error:

gcc -o npunix.o -c -I../../../../dist/include/system_wrappers
-include ../../../../config/gcc_hidden.h -DOSTYPE=\"Linux2.6\"
-DOSARCH=Linux  -I. -I. -I../../../../dist/include/java
-I../../../../dist/include   -I../../../../dist/include/plugin
-I../../../../dist/include/nspr     -I../../../../dist/sdk/include
-fPIC  -Wall -W -Wno-unused -Wpointer-arith -Wcast-align -W
-Wno-long-long -pedantic -march=i686 -mtune=generic -O2 -pipe
-fno-strict-aliasing -pthread -pipe  -DNDEBUG -DTRIMMED -Os
-freorder-blocks -fno-reorder-functions
-include ../../../../mozilla-config.h -DMOZILLA_CLIENT
-Wp,-MD,.deps/npunix.pp npunix.c
rm -f libunixprintplugin.so
c++  -fno-rtti -fno-exceptions -Wall -Wconversion -Wpointer-arith
-Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy
-Wno-non-virtual-dtor -Wcast-align -Wno-long-long -pedantic -march=i686
-mtune=generic -O2 -pipe -fno-strict-aliasing -fshort-wchar -pthread
-pipe  -DNDEBUG -DTRIMMED -Os -freorder-blocks -fno-reorder-functions
-fPIC -shared -Wl,-z,defs -Wl,-h,libunixprintplugin.so -o
libunixprintplugin.so  npshell.o printplugin.o npunix.o     -lpthread
-Wl,-rpath-link,../../../../dist/bin  -L../../../../dist/bin -lxpcom
-lxpcom_core  -L../../../../dist/bin -L../../../../dist/lib -lplds4
-lplc4 -lnspr4 -lpthread -ldl -lXt   /usr/lib/libX11.a -lX11  -ldl
-lm /usr/lib/libX11.a(ClDisplay.o): In function `XCloseDisplay':
ClDisplay.c:(.text+0xbe): undefined reference to `xcb_disconnect'
/usr/lib/libX11.a(OpenDis.o): In function `OutOfMemory':
OpenDis.c:(.text+0x40a): undefined reference to `xcb_disconnect'
/usr/lib/libX11.a(OpenDis.o): In function `XOpenDisplay':
OpenDis.c:(.text+0x7c1): undefined reference to `xcb_get_setup'
OpenDis.c:(.text+0xc3c): undefined reference to
`xcb_get_maximum_request_length'
/usr/lib/libX11.a(xcb_lock.o): In function `_XPutXCBBuffer':
xcb_lock.c:(.text+0xcd): undefined reference to `xcb_get_request_sent'
xcb_lock.c:(.text+0x386): undefined reference to `xcb_get_request_sent'
xcb_lock.c:(.text+0x3b5): undefined reference to `xcb_send_request'
/usr/lib/libX11.a(xcb_lock.o): In function `_XGetXCBBuffer':
xcb_lock.c:(.text+0x5c8): undefined reference to `xcb_get_request_sent'
xcb_lock.c:(.text+0x5db): undefined reference to
`xcb_connection_has_error'
/usr/lib/libX11.a(xcb_lock.o): In function `_XCBUnlockDisplay':
xcb_lock.c:(.text+0x70d): undefined reference to `xcb_xlib_unlock'
xcb_lock.c:(.text+0x744): undefined reference to `xcb_get_request_sent'
/usr/lib/libX11.a(xcb_lock.o): In function `_XCBLockDisplay':
xcb_lock.c:(.text+0x7fd): undefined reference to `xcb_xlib_lock'
/usr/lib/libX11.a(xcb_disp.o): In function `_XConnectXCB':
xcb_disp.c:(.text+0x9a): undefined reference to `xcb_parse_display'
xcb_disp.c:(.text+0x154): undefined reference to
`xcb_connect_to_display_with_auth_info'
xcb_disp.c:(.text+0x172): undefined reference to
`xcb_get_file_descriptor'
xcb_disp.c:(.text+0x19b): undefined reference to `xcb_generate_id'
xcb_disp.c:(.text+0x1a6): undefined reference to
`xcb_connection_has_error'
xcb_disp.c:(.text+0x1c4): undefined reference to `xcb_connect'
/usr/lib/libX11.a(xcb_io.o): In function `wait_or_poll_for_event':
xcb_io.c:(.text+0x3bf): undefined reference to `xcb_wait_for_event'
xcb_io.c:(.text+0x3e4): undefined reference to `xcb_poll_for_event'
/usr/lib/libX11.a(xcb_io.o): In function `process_responses':
xcb_io.c:(.text+0x4a6): undefined reference to
`xcb_connection_has_error'
xcb_io.c:(.text+0x507): undefined reference to `xcb_xlib_unlock'
xcb_io.c:(.text+0x537): undefined reference to `xcb_xlib_lock'
xcb_io.c:(.text+0x5d1): undefined reference to `xcb_poll_for_reply'
/usr/lib/libX11.a(xcb_io.o): In function `_XReply':
xcb_io.c:(.text+0x8d4): undefined reference to `xcb_wait_for_reply'
xcb_io.c:(.text+0x9dd): undefined reference to `xcb_xlib_unlock'
/usr/lib/libX11.a(xcb_io.o): In function `_XAllocIDs':
xcb_io.c:(.text+0xc15): undefined reference to `xcb_generate_id'
/usr/lib/libX11.a(xcb_io.o): In function `_XIDHandler':
xcb_io.c:(.text+0xc58): undefined reference to `xcb_generate_id'
/usr/lib/libX11.a(xcb_io.o): In function `_XSend':
xcb_io.c:(.text+0xd05): undefined reference to `xcb_flush'
collect2: ld returned 1 exit status
make[4]: *** [libunixprintplugin.so] Error 1
make[4]: Leaving directory
`/mnt/sda5/home/ututo/icecat/src/icecat-3.0.1-g1/modules/plugin/samples/unixprinting'
make[3]: *** [tools] Error 2
make[3]: Leaving directory
`/mnt/sda5/home/ututo/icecat/src/icecat-3.0.1-g1/modules/plugin'
make[2]: *** [tools_tier_gecko] Error 2
make[2]: Leaving directory
`/mnt/sda5/home/ututo/icecat/src/icecat-3.0.1-g1'
make[1]: *** [tier_toolkit] Error 2
make[1]: Leaving directory
`/mnt/sda5/home/ututo/icecat/src/icecat-3.0.1-g1'
make: *** [default] Error 2

Peace,
~MJ
UnbreakableMJ.BlogSpot.com




--
http://gnuzilla.gnu.org





reply via email to

[Prev in Thread] Current Thread [Next in Thread]