[Olsr-users] OONF Build Error

Jeff Weston (spam-protected)
Mon Jun 4 20:22:11 CEST 2018


The commands I am using are:
git clone https://github.com/OLSR/OONF oonf
optionally: rm -rf oonf/build
mkdir -p oonf/build
cd oonf/build
cmake ..
make

-Jeff Weston

> -----Original Message-----
> From: Henning Rogge <(spam-protected)>
> Sent: Monday, June 4, 2018 2:18 PM
> To: (spam-protected)
> Cc: olsr users mailing list <(spam-protected)>
> Subject: Re: [Olsr-users] OONF Build Error
> 
> What git commit and what branch are you using ?
> 
> Henning
> 
> Henning
> On Mon, Jun 4, 2018 at 8:07 PM Jeff Weston <(spam-protected)>
> wrote:
> >
> > It happens with a new build directory, and also with a new git checkout.
> >
> > Thanks,
> > -Jeff Weston
> >
> >
> > > -----Original Message-----
> > > From: Henning Rogge <(spam-protected)>
> > > Sent: Monday, June 4, 2018 9:11 AM
> > > To: (spam-protected)
> > > Cc: olsr users mailing list <(spam-protected)>
> > > Subject: Re: [Olsr-users] OONF Build Error
> > >
> > > 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/t
> > > > est_
> > > > 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/b
> > > > uild
> > > > .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
> >

-------------- 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/ad3e5460/attachment.bin>


More information about the Olsr-users mailing list