Re: Can't compile Dillo 3.0.3

August Karlstrom <[email protected]>
Newsgroups gmane.comp.web.dillo.devel
Message-ID <[email protected]>
On 2013-05-22 15:33, Sebastian Geerken wrote:
[...]
> August: Please test whether the version from the repository works for
> you.

I still get an error when compiling Dillo (version 2013-05-22, changeset 
2843:60a7bb6ca06b):

$ make
...
g++ -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 
dw-anchors-test dw_anchors_test.o ../dw/libDw-widgets.a 
../dw/libDw-fltk.a ../dw/libDw-core.a ../lout/liblout.a 
-L/usr/lib/x86_64-linux-gnu -Wl,-Bsymbolic-functions -lfltk
/usr/bin/ld: ../dw/libDw-fltk.a(libDw_fltk_a-fltkviewbase.o): undefined 
reference to symbol 'XCreatePixmap'
/usr/bin/ld: note: 'XCreatePixmap' is defined in DSO 
/usr/lib/x86_64-linux-gnu/libX11.so.6 so try adding it to the linker 
command line
/usr/lib/x86_64-linux-gnu/libX11.so.6: could not read symbols: Invalid 
operation
collect2: error: ld returned 1 exit status
make[2]: *** [dw-anchors-test] Error 1
make[2]: Leaving directory `/tmp/dillo3/test'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/tmp/dillo3'
make: *** [all] Error 2

Apparently -lX11 has not been added. Although I don't see how that would 
make a difference I can also mention that I start X Windows (Blackbox 
WM) from the console with the startx command without using a display 
manager.


Regards,
August
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.