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.
0xE29FC3CC.asc
Description: application/pgp-keys
signature.asc
Description: OpenPGP digital signature
_______________________________________________ Help-gnunet mailing list [email protected] https://lists.gnu.org/mailman/listinfo/help-gnunet
