Re: Can't compile Dillo 3.0.3
"Sebastian Geerken" <[email protected]>
| Newsgroups | gmane.comp.web.dillo.devel |
|---|---|
| Message-ID | <[email protected]> |
On Fri, May 10, August Karlstrom wrote:
> On 2013-05-10 11:48, Johannes Hofmann wrote:
> >Could you please post the linker command line?
>
> Sure, here it is:
>
> g++ -I/usr/include/libpng12 -I/usr/include/cairo
> -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include
> -I/usr/include/pixman-1 -I/usr/include/freetype2
> -I/usr/include/libpng12 -I/usr/include/freetype2
> -I/usr/include/cairo -I/usr/include/glib-2.0
> -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/pixman-1
> -I/usr/include/freetype2 -I/usr/include/libpng12
> -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_THREAD_SAFE
> -D_REENTRANT -g -O2 -Wall -W -Wno-unused-parameter -fno-rtti
> -fno-exceptions -L/usr/local/lib -o dillo dillo.o paths.o tipwin.o
> ui.o uicmd.o bw.o cookies.o auth.o md5.o digest.o colors.o misc.o
> history.o prefs.o prefsparser.o keys.o url.o bitvec.o klist.o
> chain.o utf8.o timeout.o dialog.o web.o nav.o cache.o decode.o
> dicache.o capi.o domain.o css.o cssparser.o styleengine.o plain.o
> html.o form.o table.o bookmark.o dns.o gif.o jpeg.o png.o imgbuf.o
> image.o menu.o dpiapi.o findbar.o xembed.o ../dlib/libDlib.a
> ../dpip/libDpip.a IO/libDiof.a ../dw/libDw-widgets.a
> ../dw/libDw-fltk.a ../dw/libDw-core.a ../lout/liblout.a -ljpeg
> -L/usr/lib/x86_64-linux-gnu -lpng12 -lpng12
> -L/usr/lib/x86_64-linux-gnu -Wl,-Bsymbolic-functions -lfltk -lz
> -lpthread
It is identical to mine (Debian wheezy amd64) except this option:
> -Wl,-Bsymbolic-functions
Maybe you should try it without it (simply by typing the command
manually). The documentation does not give a reason for hope, however
(man ld):
-Bsymbolic-functions
When creating a shared library, bind references to global function
symbols to the definition within the shared library, if any. This
option is only meaningful on ELF platforms which support shared
libraries.
> >You could try
> >export LDFLAGS=-lX11
> >and then run configure;make again.
I have found it always convenient to type something like:
$ CFLAGS=... ./configure
The modified variables become part of the generated Makefile.
Sebastian