[webkit-help] Linking error with Qt port on Linux in Debug mode
Benoit Jacob
jacob.benoit.1 at gmail.com
Tue Dec 15 19:42:55 PST 2009
Dear List,
I get this linking error when trying to build webkit on my GNU linux system:
$ build-webkit --debug --makeargs='-j5' --qt
...
make[1]: Entering directory
`/home/bjacob/build/WebKit/Debug/WebKit/qt/QtLauncher'
g++ -m64 -o ../../../bin/QtLauncher main.o
-L/home/bjacob/build/WebKit/Debug/lib -L/usr/lib -lQtWebKit -L/usr/lib
-pthread -pthread -L/usr/X11R6/lib64 -pthread -pthread -pthread
-lQtNetwork -lssl -lcrypto -pthread -pthread -pthread -lQtUiTools
-L/home/pierre/chroot/arch64-extra/qt/trunk/src/qt-x11-opensource-src-4.5.3/lib
-lQtXml -pthread -pthread -pthread -pthread -lQtGui -pthread -pthread
-pthread -pthread -lpng -lfreetype -lgobject-2.0 -lSM -lICE -pthread
-pthread -lXrender -lfontconfig -lXext -lX11 -lQtCore -pthread -lz -lm
-pthread -lgthread-2.0 -lrt -lglib-2.0 -ldl -lpthread
/home/bjacob/build/WebKit/Debug/lib/libQtWebKit.so: undefined
reference to `findEntity(char const*, unsigned int)'
/home/bjacob/build/WebKit/Debug/lib/libQtWebKit.so: undefined
reference to `findColor(char const*, unsigned int)'
/home/bjacob/build/WebKit/Debug/lib/libQtWebKit.so: undefined
reference to `findProp(char const*, unsigned int)'
/home/bjacob/build/WebKit/Debug/lib/libQtWebKit.so: undefined
reference to `findDoctypeEntry(char const*, unsigned int)'
/home/bjacob/build/WebKit/Debug/lib/libQtWebKit.so: undefined
reference to `findValue(char const*, unsigned int)'
collect2: ld returned 1 exit status
When I look at these symbols in libQtWebKit.so, they are indeed
present and undefined:
$ nm /home/bjacob/build/WebKit/Debug/lib/libQtWebKit.so -C | egrep '^[ ]*U find'
U findEntity(char const*, unsigned int)
U findDoctypeEntry(char const*, unsigned int)
U findProp(char const*, unsigned int)
U findColor(char const*, unsigned int)
U findValue(char const*, unsigned int)
Here, U means 'undefined'.
More information:
Compiler: GCC 4.4.2
Architecture: x86-64
Qt version: 4.5.3
Apparently I'm not alone:
http://bugs.gentoo.org/show_bug.cgi?id=287390
but I've not been able to figure what I had to do!
Any idea?
Thanks,
Benoit
More information about the webkit-help
mailing list