Ubuntu compilation #15

Open
dimiro1 opened this Issue Apr 29, 2009 · 10 comments

Projects

None yet

5 participants

@dimiro1

I am getting the following error, when trying to compile e on ubuntu 8.10 with gcc 4.3.2

../external/out.release/lib/libwxwebkit.a(wxwebkit_static_WebView.o): In function wxStringBase::wxStringBase(wxStringBase const&)':
WebView.cpp:(.text._ZN12wxStringBaseC2ERKS_[wxStringBase::wxStringBase(wxStringBase const&)]+0x48): undefined reference to
wxOnAssert(wchar_t const, int, char const, wchar_t const, wchar_t const)'
../external/out.release/lib/libwxwebkit.a(wxwebkit_static_WebView.o): In function wxAutoBufferedPaintDC::TestWinStyle(wxWindow*)':
WebView.cpp:(.text._ZN21wxAutoBufferedPaintDC12TestWinStyleEP8wxWindow[wxAutoBufferedPaintDC::TestWinStyle(wxWindow*)]+0x4f): undefined reference to
wxOnAssert(wchar_t const, int, char const, wchar_t const, wchar_t const)'
../external/out.release/lib/libwebcore-wx.a(wx_webcore_static_StringWx.o): In function String':
/home/claudemiro/projetos/e/external/webkit/WebCore/platform/text/wx/StringWx.cpp:80: undefined reference to
wxOnAssert(wchar_t const, int, char const, wchar_t const, wchar_t const)'
/home/claudemiro/projetos/e/external/webkit/WebCore/platform/text/wx/StringWx.cpp:80: undefined reference to `wxOnAssert(wchar_t const, int, char const, wchar_t const, wchar_t const)'
collect2: ld returned 1 exit status
make: *** [e] Error 1

any suggestions?

@rndmerle

Hi Dimiro.

You launched external/get-packages-ubuntu.sh right ?
Can you verify wx2.8-headers package is installed ?

@dimiro1

Yes. The first thing i did was lauch external/get-packages-ubuntu.sh, The package wx2.8-headers is installed.

@dimiro1

the error happen when ld is running.

@feniix

Did you try using the latest wx package from the wx debian/ubuntu repository?
The afaik e uses 2.8.10 and even jaunty is lagging one revision behind.

@bluemoon

you didnt run make DEBUG=1 , the code in webkit for some reason wants wxAssert which is only available in the debug build of wxwidgets, trying running it with "make DEBUG=1"

@jipumarino

There is no chance of compiling it in release mode?

@bluemoon

theres a few changes you have to make to webkit for it to compile in release mode

@bluemoon

try looking at 891e3f1922585594346889ccf7a3ede916a4baeb

@jipumarino

The octocat says "That page doesn't exist!" ;)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment