Bug 12184
| Summary: | Linux/Qt build failure on "undefined reference to `WebCore::CSSParser::lex()'" | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Takeshi Kurosawa <taken.spc> |
| Component: | Platform | Assignee: | Nobody <webkit-unassigned> |
| Status: | RESOLVED WONTFIX | ||
| Severity: | Normal | ||
| Priority: | P2 | ||
| Version: | 420+ | ||
| Hardware: | PC | ||
| OS: | Linux | ||
Takeshi Kurosawa
Building the WebKitQt failed with an follow error message.
The subversion revision of the codes is 18714.
g++ -Wl,-rpath,/home/taken/src/WebKit/WebKitBuild/Release/lib -o QtLauncher main.o -L/usr/lib -L/home/taken/src/WebKit/WebKitBuild/Release/lib -lWebKitQt -lJavaScriptCore -lQtGui -L/build/buildd/qt4-x11-4.2.0/lib -L/usr/X11R6/lib -laudio -lXt -lpng -lSM -lICE -lXrender -lXrandr -lXfixes -lXcursor -lXinerama -lfreetype -lXext -lX11 -lQtCore -lfontconfig -lz -lm -lglib-2.0 -ldl -lpthread
/home/taken/src/WebKit/WebKitBuild/Release/lib/libWebKitQt.so: undefined reference to `WebCore::CSSParser::lex()'
collect2: ld returned 1 exit status
make[1]: *** [QtLauncher] Error 1
make[1]: Leaving directory `/home/taken/src/WebKit/WebKitBuild/Release/WebKitQt/QtLauncher'
make: *** [sub-WebKitQt_QtLauncher-make_default-ordered] Error 2
Build environment
Kubuntu 6.10 with KDE4 Second Snapshot packages.
ld : "GNU ld version 2.17 Debian GNU/Linux"
gcc : "gcc version 4.1.2 20060928 (prerelease) (Ubuntu 4.1.1-13ubuntu5)"
kernel : "Linux kubuntu 2.6.17-10-generic #2 SMP Tue Dec 5 22:28:26 UTC 2006 i686 GNU/Linux"
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Takeshi Kurosawa
This was caused by missing the flex. With the flex, I succeeded in building WebKitQt.