[Olsr-users] OONF Build Error
Jeff Weston
(spam-protected)
Mon Jun 4 14:37:28 CEST 2018
When attempting to build OONF, I've been getting errors the last few weeks
on Ubuntu 16.04. `cmake ..` finishes successfully, but the build process
fails with what appears to be internal reference issues in some test code:
Scanning dependencies of target test_rfc5444_reader_dropcontext
[ 83%] Building C object
src/tests/rfc5444/CMakeFiles/test_rfc5444_reader_dropcontext.dir/test_rfc544
4_reader_dropcontext.c.o
[ 83%] Linking C executable ../../../test_rfc5444_reader_dropcontext
../../../liboonf_librfc5444.so.0.15.1: undefined reference to
`avl_comp_uint32'
../../../liboonf_librfc5444.so.0.15.1: undefined reference to
`avl_comp_netaddr'
../../../liboonf_librfc5444.so.0.15.1: undefined reference to `avl_insert'
../../../liboonf_librfc5444.so.0.15.1: undefined reference to `avl_init'
../../../liboonf_librfc5444.so.0.15.1: undefined reference to `avl_find'
../../../liboonf_librfc5444.so.0.15.1: undefined reference to `abuf_puts'
../../../liboonf_librfc5444.so.0.15.1: undefined reference to `abuf_hexdump'
../../../liboonf_librfc5444.so.0.15.1: undefined reference to
`avl_comp_uint8'
../../../liboonf_librfc5444.so.0.15.1: undefined reference to `abuf_appendf'
../../../liboonf_librfc5444.so.0.15.1: undefined reference to
`avl_comp_int32'
../../../liboonf_librfc5444.so.0.15.1: undefined reference to
`netaddr_from_binary_prefix'
../../../liboonf_librfc5444.so.0.15.1: undefined reference to
`netaddr_to_prefixstring'
../../../liboonf_librfc5444.so.0.15.1: undefined reference to `avl_remove'
../../../liboonf_librfc5444.so.0.15.1: undefined reference to
`avl_comp_uint16'
collect2: error: ld returned 1 exit status
src/tests/rfc5444/CMakeFiles/test_rfc5444_reader_dropcontext.dir/build.make:
97: recipe for target 'test_rfc5444_reader_dropcontext' failed
make[2]: *** [test_rfc5444_reader_dropcontext] Error 1
CMakeFiles/Makefile2:8365: recipe for target
'src/tests/rfc5444/CMakeFiles/test_rfc5444_reader_dropcontext.dir/all'
failed
make[1]: ***
[src/tests/rfc5444/CMakeFiles/test_rfc5444_reader_dropcontext.dir/all] Error
2
Makefile:138: recipe for target 'all' failed
make: *** [all] Error 2
I have successfully built OONF in the past; has something in the build
process changed, or is this just a bug?
Thanks,
-Jeff Weston
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.olsr.org/pipermail/olsr-users/attachments/20180604/ed765052/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 5387 bytes
Desc: not available
URL: <http://lists.olsr.org/pipermail/olsr-users/attachments/20180604/ed765052/attachment.bin>
More information about the Olsr-users
mailing list