Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Mozilla build fails in widget/src/xremoteclient

6 views
Skip to first unread message

Håkan W

unread,
Oct 10, 2005, 6:29:34 PM10/10/05
to
Hey all!

I am trying to build on Linux (Ubuntu) for the first time. Everything
went fine until I came to xremoteclient, and there I've been fighting a
lot of time now without any luck. I have xlibs-dev already, where these
symbols should reside.

Any ideas? Do I really need this XRemoteClient anyway? This is the output:

c++ -o mozilla-xremote-client -fno-rtti -fno-exceptions -Wall
-Wconversion -Wpointer-arith -Wcast-align -Woverloaded-virtual -Wsynth
-Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wno-long-long -pedantic
-fshort-wchar -pthread -pipe -DDEBUG -D_DEBUG -DDEBUG_hakan -DTRACING
-g -fno-inline mozilla-xremote-client.o XRemoteClient_standalone.o
-L../../../dist/bin -L../../../dist/lib -L../../../dist/lib
-lplds4 -lplc4 -lnspr4 -lpthread -ldl -ldl -lm
XRemoteClient_standalone.o: I funktionen "XRemoteClient::Init()":
.../XRemoteClient.cpp:124: undefined reference to `XOpenDisplay'
.../XRemoteClient.cpp:129: undefined reference to `XInternAtoms'
XRemoteClient_standalone.o: I funktionen "XRemoteClient::Shutdown()":
.../XRemoteClient.cpp:156: undefined reference to `XCloseDisplay'
XRemoteClient_standalone.o: I funktionen
"XRemoteClient::CheckChildren(unsigned long)":
.../widget/src/xremoteclient/XRemoteClient.cpp:292: undefined reference
to `XQueryTree'
.../XRemoteClient.cpp:301: undefined reference to `XGetWindowProperty'
.../XRemoteClient.cpp:303: undefined reference to `XFree'
.../XRemoteClient.cpp:314: undefined reference to `XFree'
XRemoteClient_standalone.o: I funktionen
"XRemoteClient::CheckWindow(unsigned long)":
.../XRemoteClient.cpp:263: undefined reference to `XGetWindowProperty'
.../XRemoteClient.cpp:266: undefined reference to `XFree'
XRemoteClient_standalone.o: I funktionen
"XRemoteClient::GetLock(unsigned long, int*)":
.../XRemoteClient.cpp:356: undefined reference to `XGrabServer'
.../XRemoteClient.cpp:364: undefined reference to `XGetWindowProperty'
.../XRemoteClient.cpp:370: undefined reference to `XChangeProperty'
.../XRemoteClient.cpp:374: undefined reference to `XUngrabServer'
.../XRemoteClient.cpp:375: undefined reference to `XSync'
.../XRemoteClient.cpp:411: undefined reference to `XNextEvent'
.../XRemoteClient.cpp:434: undefined reference to `XFree'
XRemoteClient_standalone.o: I funktionen
"XRemoteClient::FreeLock(unsigned long)":
.../XRemoteClient.cpp:610: undefined reference to `XGetWindowProperty'
.../XRemoteClient.cpp:632: undefined reference to `XFree'
XRemoteClient_standalone.o: I funktionen
"XRemoteClient::FindBestWindow(char const*, char const*, char const*, int)":
.../XRemoteClient.cpp:457: undefined reference to `XQueryTree'
.../XRemoteClient.cpp:485: undefined reference to `XGetWindowProperty'
.../XRemoteClient.cpp:491: undefined reference to `XFree'
.../XRemoteClient.cpp:510: undefined reference to `XGetWindowProperty'
.../XRemoteClient.cpp:516: undefined reference to `XFree'
.../XRemoteClient.cpp:521: undefined reference to `XFree'
.../XRemoteClient.cpp:545: undefined reference to `XGetWindowProperty'
.../XRemoteClient.cpp:551: undefined reference to `XFree'
.../XRemoteClient.cpp:555: undefined reference to `XFree'
.../XRemoteClient.cpp:567: undefined reference to `XGetWindowProperty'
.../XRemoteClient.cpp:573: undefined reference to `XFree'
.../XRemoteClient.cpp:577: undefined reference to `XFree'
.../XRemoteClient.cpp:590: undefined reference to `XFree'
XRemoteClient_standalone.o: I funktionen
"XRemoteClient::WaitForResponse(unsigned long, char**, int*, unsigned
long)":
.../XRemoteClient.cpp:740: undefined reference to `XNextEvent'
.../XRemoteClient.cpp:766: undefined reference to `XGetWindowProperty'
.../XRemoteClient.cpp:828: undefined reference to `XFree'
XRemoteClient_standalone.o: I funktionen
"XRemoteClient::DoSendCommandLine(unsigned long, int, char**, char**,
int*)":
.../XRemoteClient.cpp:723: undefined reference to `XChangeProperty'
XRemoteClient_standalone.o: I funktionen
"XRemoteClient::SendCommandLine(char const*, char const*, char const*,
int, char**, char**, int*)":
.../XRemoteClient.cpp:228: undefined reference to `XSelectInput'
XRemoteClient_standalone.o: I funktionen
"XRemoteClient::DoSendCommand(unsigned long, char const*, char**, int*)":
.../XRemoteClient.cpp:648: undefined reference to `XChangeProperty'
XRemoteClient_standalone.o: I funktionen
"XRemoteClient::SendCommand(char const*, char const*, char const*, char
const*, char**, int*)":
.../XRemoteClient.cpp:184: undefined reference to `XSelectInput'
collect2: ld returned 1 exit status
make[1]: *** [mozilla-xremote-client] Fel 1
make[1]: Leaving directory `...'
make: *** [all] Fel 2

Thanks in advance!
/Håkan W

Andrew Schultz

unread,
Oct 10, 2005, 10:34:13 PM10/10/05
to
Håkan W wrote:
> Hey all!
>
> I am trying to build on Linux (Ubuntu) for the first time. Everything
> went fine until I came to xremoteclient, and there I've been fighting a
> lot of time now without any luck. I have xlibs-dev already, where these
> symbols should reside.
>
> Any ideas? Do I really need this XRemoteClient anyway? This is the output:
>
> c++ -o mozilla-xremote-client -fno-rtti -fno-exceptions -Wall
> -Wconversion -Wpointer-arith -Wcast-align -Woverloaded-virtual -Wsynth
> -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wno-long-long -pedantic
> -fshort-wchar -pthread -pipe -DDEBUG -D_DEBUG -DDEBUG_hakan -DTRACING
> -g -fno-inline mozilla-xremote-client.o XRemoteClient_standalone.o
> -L../../../dist/bin -L../../../dist/lib -L../../../dist/lib
> -lplds4 -lplc4 -lnspr4 -lpthread -ldl -ldl -lm

there should be a -lX11 near the end. The Makefile.in does:

LIBS = \
$(NSPR_LIBS) \
$(XLDFLAGS) $(XLIBS)

XLIBS should include -lX11

--
Andrew Schultz
ajsc...@verizon.net
http://www.sens.buffalo.edu/~ajs42/

0 new messages