Discussion:
build fails on CentOS 7
Bob Tennent
2014-07-12 04:04:25 UTC
Permalink
:
Making all in test
make[2]: Entering directory `/home/rdt/src/dillo-3.0.4/test'
g++ -DHAVE_CONFIG_H -I. -I.. -I.. -I/usr/local/include -I/usr/include/freetype2 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_THREAD_SAFE -D_REENTRANT -g -O2 -Wall -W -Wno-unused-parameter -fno-rtti -fno-exceptions -MT dw_anchors_test.o -MD -MP -MF .deps/dw_anchors_test.Tpo -c -o dw_anchors_test.o dw_anchors_test.cc
mv -f .deps/dw_anchors_test.Tpo .deps/dw_anchors_test.Po
g++ -I/usr/include/freetype2 -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 -Wl,-z,relro -lfltk
/bin/ld: ../dw/libDw-fltk.a(libDw_fltk_a-fltkviewbase.o): undefined reference to symbol 'XCreatePixmap'
/bin/ld: note: 'XCreatePixmap' is defined in DSO /lib64/libX11.so.6 so try adding it to the linker command line
/lib64/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 `/home/rdt/src/dillo-3.0.4/test'

Bob T.
Sebastian Geerken
2014-07-12 13:31:06 UTC
Permalink
Post by Bob Tennent
Making all in test
make[2]: Entering directory `/home/rdt/src/dillo-3.0.4/test'
g++ -DHAVE_CONFIG_H -I. -I.. -I.. -I/usr/local/include -I/usr/include/freetype2 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_THREAD_SAFE -D_REENTRANT -g -O2 -Wall -W -Wno-unused-parameter -fno-rtti -fno-exceptions -MT dw_anchors_test.o -MD -MP -MF .deps/dw_anchors_test.Tpo -c -o dw_anchors_test.o dw_anchors_test.cc
mv -f .deps/dw_anchors_test.Tpo .deps/dw_anchors_test.Po
g++ -I/usr/include/freetype2 -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 -Wl,-z,relro -lfltk
/bin/ld: ../dw/libDw-fltk.a(libDw_fltk_a-fltkviewbase.o): undefined reference to symbol 'XCreatePixmap'
/bin/ld: note: 'XCreatePixmap' is defined in DSO /lib64/libX11.so.6 so try adding it to the linker command line
/lib64/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 `/home/rdt/src/dillo-3.0.4/test'
I've just pushed a possible fix to <http://hg.dillo.org/dillo>, please
test it. Or apply the attached patch to dillo 3.0.4, if you want to
install a stable version.

Sebastian
Bob Tennent
2014-07-12 14:11:16 UTC
Permalink
|I've just pushed a possible fix to <http://hg.dillo.org/dillo>, please
|test it. Or apply the attached patch to dillo 3.0.4, if you want to
|install a stable version.
The available automake isn't version 1.14 so I can't test
it. But as a workaround, I deleted test from the SUBDIRS
list in the global Makefile and all works well, as far as I
can tell.

Bob T.
Bob Tennent
2014-07-12 14:34:13 UTC
Permalink
| >|I've just pushed a possible fix to <http://hg.dillo.org/dillo>, please
| >|test it. Or apply the attached patch to dillo 3.0.4, if you want to
| >|install a stable version.
|
|The available automake isn't version 1.14 so I can't test
|it.
I installed automake-1.14.1 from Fedora 21 and the patched
dillo-3.0.4 builds successfully. Thanks.


Best,
Bob T.

Loading...