Thanks. Somehow I still had the gnunet-dev package from ubuntu installed. Removing it and reinstalling from git gives me the ability to compile the testbed. :)
Sorry. On 14.06.2017 14:50, Christian Grothoff wrote: > On 06/14/2017 02:00 PM, Vincent wrote: >> Hi, >> everytime I try to comile the testbed it doesn't work: >> >> gcc $CPPFLAGS $LDFLAGS -o testbed-test testbed_test.c -lgnunettestbed >> -lgnunetdht -lgnunetutil >> /tmp/ccZmNcYw.o: In function `service_connect_comp': >> testbed_test.c:(.text+0xe9): undefined reference to `GNUNET_abort_' >> /tmp/ccZmNcYw.o: In function `test_master': >> testbed_test.c:(.text+0x1e3): undefined reference to >> `GNUNET_SCHEDULER_add_shutdown' >> collect2: error: ld returned 1 exit status >> >> So I think I don't link all the necessary libraries. But what library am >> I missing? > Very strange, the symbols are in libgnunetutil, which you do link against. > > _Maybe_ you have some ancient version thereof on your system. You might > want to try building with the usual 'Makefile.am' inside of the GNUnet > configure/autotool process, as that is, eh, more likely to give you the > correct $LDFLAGS. Regardless, the list of libraries is correct, so this > is most likely an issue with your installation / system / paths. > > > _______________________________________________ > Help-gnunet mailing list > [email protected] > https://lists.gnu.org/mailman/listinfo/help-gnunet
_______________________________________________ Help-gnunet mailing list [email protected] https://lists.gnu.org/mailman/listinfo/help-gnunet
