Single
November 24th, 2005, 07:52 PM
I keep getting some errors while compiling firefox 1.5rc3. I don't know how to solve it. Stucked at XRemoteClient.cpp
make[3]: Leaving directory `/home/jenfoong/mozilla/firefox/toolkit/components'
make[3]: Entering directory `/home/jenfoong/mozilla/firefox/widget/src/xremotecl ient'
c++ -o mozilla-xremote-client -O3 -march=pentium-m -pipe -fomit-frame-pointer -m sse2 -mmmx -mfpmath=sse -fno-rtti -fno-exceptions -Wall -Wconversion -Wpointer-a rith -Wcast-align -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-v irtual-dtor -Wno-long-long -pedantic -O3 -march=pentium-m -pipe -fomit-frame-poi nter -msse2 -mmmx -mfpmath=sse -fshort-wchar -pthread -pipe -DNDEBUG -DTRIMMED -Os -freorder-blocks -march=pentium-m -fno-reorder-functions -gstabs+ -msse2 -mm mx -mfpmath=sse mozilla-xremote-client.o XRemoteClient_standalone.o -L../ ../../dist/bin -L../../../dist/lib -L../../../dist/lib -lplds4 -lplc4 -lnspr4 -l pthread -ldl -ldl -lm
XRemoteClient_standalone.o: In function `XRemoteClient::Init()':
XRemoteClient.cpp:(.text+0x9f): undefined reference to `XOpenDisplay'
XRemoteClient.cpp:(.text+0xd4): undefined reference to `XInternAtoms'
XRemoteClient_standalone.o: In function `XRemoteClient::Shutdown()':
XRemoteClient.cpp:(.text+0x15c): undefined reference to `XCloseDisplay'
XRemoteClient_standalone.o: In function `XRemoteClient::CheckChildren(unsigned l ong)':
XRemoteClient.cpp:(.text+0x1cf): undefined reference to `XQueryTree'
XRemoteClient.cpp:(.text+0x252): undefined reference to `XGetWindowProperty'
XRemoteClient.cpp:(.text+0x265): undefined reference to `XFree'
XRemoteClient.cpp:(.text+0x288): undefined reference to `XFree'
XRemoteClient_standalone.o: In function `XRemoteClient::CheckWindow(unsigned lon g)':
XRemoteClient.cpp:(.text+0x342): undefined reference to `XGetWindowProperty'
XRemoteClient.cpp:(.text+0x354): undefined reference to `XFree'
XRemoteClient_standalone.o: In function `XRemoteClient::GetLock(unsigned long, i nt*)':
XRemoteClient.cpp:(.text+0x46d): undefined reference to `XGrabServer'
XRemoteClient.cpp:(.text+0x4c3): undefined reference to `XGetWindowProperty'
XRemoteClient.cpp:(.text+0x4e6): undefined reference to `XUngrabServer'
XRemoteClient.cpp:(.text+0x4fa): undefined reference to `XSync'
XRemoteClient.cpp:(.text+0x588): undefined reference to `XNextEvent'
XRemoteClient.cpp:(.text+0x5dd): undefined reference to `XFree'
XRemoteClient.cpp:(.text+0x646): undefined reference to `XChangeProperty'
XRemoteClient_standalone.o: In function `XRemoteClient::FreeLock(unsigned long)' :
XRemoteClient.cpp:(.text+0x70b): undefined reference to `XGetWindowProperty'
XRemoteClient.cpp:(.text+0x745): undefined reference to `XFree'
XRemoteClient_standalone.o: In function `XRemoteClient::WaitForResponse(unsigned long, char**, int*, unsigned long)':
XRemoteClient.cpp:(.text+0x785): undefined reference to `XNextEvent'
XRemoteClient.cpp:(.text+0x821): undefined reference to `XGetWindowProperty'
XRemoteClient.cpp:(.text+0x866): undefined reference to `XFree'
XRemoteClient_standalone.o: In function `XRemoteClient::DoSendCommand(unsigned l ong, char const*, char**, int*)':
XRemoteClient.cpp:(.text+0x9cb): undefined reference to `XChangeProperty'
XRemoteClient_standalone.o: In function `XRemoteClient::DoSendCommandLine(unsign ed long, int, char**, char**, int*)':
XRemoteClient.cpp:(.text+0xbaf): undefined reference to `XChangeProperty'
XRemoteClient_standalone.o: In function `XRemoteClient::~XRemoteClient()':
XRemoteClient.cpp:(.text+0xc47): undefined reference to `XCloseDisplay'
XRemoteClient_standalone.o: In function `XRemoteClient::~XRemoteClient()':
XRemoteClient.cpp:(.text+0xca7): undefined reference to `XCloseDisplay'
XRemoteClient_standalone.o: In function `XRemoteClient::FindBestWindow(char cons t*, char const*, char const*, int)':
XRemoteClient.cpp:(.text+0xd2c): undefined reference to `XQueryTree'
XRemoteClient.cpp:(.text+0xde1): undefined reference to `XGetWindowProperty'
XRemoteClient.cpp:(.text+0xdf7): undefined reference to `XFree'
XRemoteClient.cpp:(.text+0xe51): undefined reference to `XGetWindowProperty'
XRemoteClient.cpp:(.text+0xe76): undefined reference to `XFree'
XRemoteClient.cpp:(.text+0xf85): undefined reference to `XGetWindowProperty'
XRemoteClient.cpp:(.text+0xfab): undefined reference to `XFree'
XRemoteClient.cpp:(.text+0x1010): undefined reference to `XGetWindowProperty'
XRemoteClient.cpp:(.text+0x1032): undefined reference to `XFree'
XRemoteClient.cpp:(.text+0x104f): undefined reference to `XFree'
XRemoteClient.cpp:(.text+0x1065): undefined reference to `XFree'
XRemoteClient.cpp:(.text+0x10cc): undefined reference to `XGetWindowProperty'
XRemoteClient.cpp:(.text+0x10f6): undefined reference to `XFree'
XRemoteClient_standalone.o: In function `XRemoteClient::SendCommand(char const*, char const*, char const*, char const*, char**, int*)':
XRemoteClient.cpp:(.text+0x118d): undefined reference to `XSelectInput'
XRemoteClient.cpp:(.text+0x11f6): undefined reference to `XChangeProperty'
XRemoteClient.cpp:(.text+0x128d): undefined reference to `XGetWindowProperty'
XRemoteClient.cpp:(.text+0x12c8): undefined reference to `XFree'
XRemoteClient_standalone.o: In function `XRemoteClient::SendCommandLine(char con st*, char const*, char const*, int, char**, char**, int*)':
XRemoteClient.cpp:(.text+0x135d): undefined reference to `XSelectInput'
XRemoteClient.cpp:(.text+0x140b): undefined reference to `XGetWindowProperty'
XRemoteClient.cpp:(.text+0x1446): undefined reference to `XFree'
collect2: ld returned 1 exit status
make[3]: *** [mozilla-xremote-client] Error 1
make[3]: Leaving directory `/home/jenfoong/mozilla/firefox/widget/src/xremotecli ent'
make[2]: *** [tier_50] Error 2
make[2]: Leaving directory `/home/jenfoong/mozilla/firefox'
make[1]: *** [default] Error 2
make[1]: Leaving directory `/home/jenfoong/mozilla/firefox'
make: *** [build] Error 2
jenfoong@u053691m:~/mozilla$
Does anyone know to get throught this? I tried many ways but still stucked at here. Any help will be appreciated.
make[3]: Leaving directory `/home/jenfoong/mozilla/firefox/toolkit/components'
make[3]: Entering directory `/home/jenfoong/mozilla/firefox/widget/src/xremotecl ient'
c++ -o mozilla-xremote-client -O3 -march=pentium-m -pipe -fomit-frame-pointer -m sse2 -mmmx -mfpmath=sse -fno-rtti -fno-exceptions -Wall -Wconversion -Wpointer-a rith -Wcast-align -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-v irtual-dtor -Wno-long-long -pedantic -O3 -march=pentium-m -pipe -fomit-frame-poi nter -msse2 -mmmx -mfpmath=sse -fshort-wchar -pthread -pipe -DNDEBUG -DTRIMMED -Os -freorder-blocks -march=pentium-m -fno-reorder-functions -gstabs+ -msse2 -mm mx -mfpmath=sse mozilla-xremote-client.o XRemoteClient_standalone.o -L../ ../../dist/bin -L../../../dist/lib -L../../../dist/lib -lplds4 -lplc4 -lnspr4 -l pthread -ldl -ldl -lm
XRemoteClient_standalone.o: In function `XRemoteClient::Init()':
XRemoteClient.cpp:(.text+0x9f): undefined reference to `XOpenDisplay'
XRemoteClient.cpp:(.text+0xd4): undefined reference to `XInternAtoms'
XRemoteClient_standalone.o: In function `XRemoteClient::Shutdown()':
XRemoteClient.cpp:(.text+0x15c): undefined reference to `XCloseDisplay'
XRemoteClient_standalone.o: In function `XRemoteClient::CheckChildren(unsigned l ong)':
XRemoteClient.cpp:(.text+0x1cf): undefined reference to `XQueryTree'
XRemoteClient.cpp:(.text+0x252): undefined reference to `XGetWindowProperty'
XRemoteClient.cpp:(.text+0x265): undefined reference to `XFree'
XRemoteClient.cpp:(.text+0x288): undefined reference to `XFree'
XRemoteClient_standalone.o: In function `XRemoteClient::CheckWindow(unsigned lon g)':
XRemoteClient.cpp:(.text+0x342): undefined reference to `XGetWindowProperty'
XRemoteClient.cpp:(.text+0x354): undefined reference to `XFree'
XRemoteClient_standalone.o: In function `XRemoteClient::GetLock(unsigned long, i nt*)':
XRemoteClient.cpp:(.text+0x46d): undefined reference to `XGrabServer'
XRemoteClient.cpp:(.text+0x4c3): undefined reference to `XGetWindowProperty'
XRemoteClient.cpp:(.text+0x4e6): undefined reference to `XUngrabServer'
XRemoteClient.cpp:(.text+0x4fa): undefined reference to `XSync'
XRemoteClient.cpp:(.text+0x588): undefined reference to `XNextEvent'
XRemoteClient.cpp:(.text+0x5dd): undefined reference to `XFree'
XRemoteClient.cpp:(.text+0x646): undefined reference to `XChangeProperty'
XRemoteClient_standalone.o: In function `XRemoteClient::FreeLock(unsigned long)' :
XRemoteClient.cpp:(.text+0x70b): undefined reference to `XGetWindowProperty'
XRemoteClient.cpp:(.text+0x745): undefined reference to `XFree'
XRemoteClient_standalone.o: In function `XRemoteClient::WaitForResponse(unsigned long, char**, int*, unsigned long)':
XRemoteClient.cpp:(.text+0x785): undefined reference to `XNextEvent'
XRemoteClient.cpp:(.text+0x821): undefined reference to `XGetWindowProperty'
XRemoteClient.cpp:(.text+0x866): undefined reference to `XFree'
XRemoteClient_standalone.o: In function `XRemoteClient::DoSendCommand(unsigned l ong, char const*, char**, int*)':
XRemoteClient.cpp:(.text+0x9cb): undefined reference to `XChangeProperty'
XRemoteClient_standalone.o: In function `XRemoteClient::DoSendCommandLine(unsign ed long, int, char**, char**, int*)':
XRemoteClient.cpp:(.text+0xbaf): undefined reference to `XChangeProperty'
XRemoteClient_standalone.o: In function `XRemoteClient::~XRemoteClient()':
XRemoteClient.cpp:(.text+0xc47): undefined reference to `XCloseDisplay'
XRemoteClient_standalone.o: In function `XRemoteClient::~XRemoteClient()':
XRemoteClient.cpp:(.text+0xca7): undefined reference to `XCloseDisplay'
XRemoteClient_standalone.o: In function `XRemoteClient::FindBestWindow(char cons t*, char const*, char const*, int)':
XRemoteClient.cpp:(.text+0xd2c): undefined reference to `XQueryTree'
XRemoteClient.cpp:(.text+0xde1): undefined reference to `XGetWindowProperty'
XRemoteClient.cpp:(.text+0xdf7): undefined reference to `XFree'
XRemoteClient.cpp:(.text+0xe51): undefined reference to `XGetWindowProperty'
XRemoteClient.cpp:(.text+0xe76): undefined reference to `XFree'
XRemoteClient.cpp:(.text+0xf85): undefined reference to `XGetWindowProperty'
XRemoteClient.cpp:(.text+0xfab): undefined reference to `XFree'
XRemoteClient.cpp:(.text+0x1010): undefined reference to `XGetWindowProperty'
XRemoteClient.cpp:(.text+0x1032): undefined reference to `XFree'
XRemoteClient.cpp:(.text+0x104f): undefined reference to `XFree'
XRemoteClient.cpp:(.text+0x1065): undefined reference to `XFree'
XRemoteClient.cpp:(.text+0x10cc): undefined reference to `XGetWindowProperty'
XRemoteClient.cpp:(.text+0x10f6): undefined reference to `XFree'
XRemoteClient_standalone.o: In function `XRemoteClient::SendCommand(char const*, char const*, char const*, char const*, char**, int*)':
XRemoteClient.cpp:(.text+0x118d): undefined reference to `XSelectInput'
XRemoteClient.cpp:(.text+0x11f6): undefined reference to `XChangeProperty'
XRemoteClient.cpp:(.text+0x128d): undefined reference to `XGetWindowProperty'
XRemoteClient.cpp:(.text+0x12c8): undefined reference to `XFree'
XRemoteClient_standalone.o: In function `XRemoteClient::SendCommandLine(char con st*, char const*, char const*, int, char**, char**, int*)':
XRemoteClient.cpp:(.text+0x135d): undefined reference to `XSelectInput'
XRemoteClient.cpp:(.text+0x140b): undefined reference to `XGetWindowProperty'
XRemoteClient.cpp:(.text+0x1446): undefined reference to `XFree'
collect2: ld returned 1 exit status
make[3]: *** [mozilla-xremote-client] Error 1
make[3]: Leaving directory `/home/jenfoong/mozilla/firefox/widget/src/xremotecli ent'
make[2]: *** [tier_50] Error 2
make[2]: Leaving directory `/home/jenfoong/mozilla/firefox'
make[1]: *** [default] Error 2
make[1]: Leaving directory `/home/jenfoong/mozilla/firefox'
make: *** [build] Error 2
jenfoong@u053691m:~/mozilla$
Does anyone know to get throught this? I tried many ways but still stucked at here. Any help will be appreciated.