[Webkit-unassigned] [Bug 25836] libwebkit from svn doesn't build (revision 43796)

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon May 25 08:43:45 PDT 2009


------- Comment #3 from MonkeeSage at gmail.com  2009-05-25 08:43 PDT -------
Same problem here. Linux 32bit (2.6.29), gcc 4.4.0, libc 2.10.1, binutils

>From a bit of googling, it appears that gcc is generating the wrong asm because
it can't figure out the arch, so it's generating for 64bit. If I export
"-march=i686" in CFLAGS/CPPFLAGS/CXXFLAGS before calling configure I can at
least get it to compile, but then during linking I get the following error:

libtool: link: ar cru .libs/libWebCoreJS.a
DerivedSources/.libs/JSCSSCharsetRule.o [lots of other files...]
ar: DerivedSources/.libs/JSCSSCharsetRule.o: No such file or directory
make[1]: *** [libWebCoreJS.la] Error 1
make[1]: Leaving directory `/tmp/builds/WebKit'
make: *** [all] Error 2

None of the object files are in DerivedSources/.libs (or anywhere in the tree).
There are a few object files there, but none of the ones that it's looking for.

$ ls DerivedSource/.libs/
libWebCore_la-CSSGrammar.o                   libWebCore_la-SVGNames.o
libWebCore_la-HTMLEntityNames.o              libWebCore_la-XLinkNames.o
libWebCore_la-HTMLNames.o                    libWebCore_la-XMLNames.o
libWebCore_la-JSHTMLElementWrapperFactory.o  libWebCore_la-XPathGrammar.o
libWebCore_la-JSSVGElementWrapperFactory.o   libwebkit_1_0_la-webkitenumtypes.o
libWebCore_la-SVGElementFactory.o            libwebkit_1_0_la-webkitmarshal.o

Can't find anything helpful on google. :(

Ps. I get the error even after a fresh pull into a new directory, using the
following command line to configure:

$ CPPFLAGS="-march=i686" CXXFLAGS="-march=i686" CFLAGS="-march=i686"
./autogen.sh --prefix=/usr --enable-gnomekeyring

Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

More information about the webkit-unassigned mailing list