[Olsr-users] OONF Build Error
Henning Rogge
(spam-protected)
Mon Jun 4 15:11:19 CEST 2018
Hi,
I recently restructured the whole directory layout... can you try with
a fresh (empty) build directory?
Henning
On Mon, Jun 4, 2018 at 3:03 PM Jeff Weston <(spam-protected)> wrote:
>
> 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_rfc5444_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
>
> --
> Olsr-users mailing list
> (spam-protected)
> https://lists.olsr.org/mailman/listinfo/olsr-users
More information about the Olsr-users
mailing list