[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [GNUnet-developers] [test_transport_address_switch_tcp] Error 1
From: |
Christian Grothoff |
Subject: |
Re: [GNUnet-developers] [test_transport_address_switch_tcp] Error 1 |
Date: |
Sat, 1 Oct 2016 00:03:12 +0200 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Icedove/45.2.0 |
Very strange. First of all, I don't see you doing anything wrong.
The GNUNET_ARM_monitor_stop() was actually in dead code, so I removed
that in SVN 38057. GNUNET_ARM_disconnect() is properly defined in
libgnunetarm, and that library is properly specified in the Makefile.am.
I've changed the link order in SVN 38057, that _rarely_ helps. If not,
please run
$ ldd -r /path/to/gnunet/lib/libgnunettesting.so.1
and check the creation time of
/path/to/gnunet/lib/libgnunetarm.so.VERSION for whatever version ldd
shows you. It should match your recent build time. ldd -R should also
show the undefined references (-r).
On 09/30/2016 11:44 PM, jah wrote:
> I'm having a problem with make check in gnunet transport; none of the other
> tests are affected; (r38054):-
>
> make[1]: Entering directory `/path/to/gnunet/src/transport'
> CC test_transport_address_switch.o
> CCLD test_transport_address_switch_tcp
> /path/to/gnunet/lib/libgnunettesting.so.1: undefined reference to
> `GNUNET_ARM_monitor_stop'
> /path/to/gnunet/lib/libgnunettesting.so.1: undefined reference to
> `GNUNET_ARM_disconnect'
> collect2: error: ld returned 1 exit status
> make[1]: *** [test_transport_address_switch_tcp] Error 1
> make[1]: Leaving directory `/path/to/gnunet/src/transport'
> make: *** [check-am] Error 2
>
> I did this to run the tests:
>
> $ svn up
> $ svn export . /path/to/gnunet
> $ cd /path/to/gnunet
> $ export MYPATH=/path/to/gnunet
> $ export GNUNET_PREFIX=$MYPATH/lib
> $ export PATH=$MYPATH/bin:$PATH
> $ ./bootstrap
> $ ./configure --prefix=$MYPATH --with-microhttpd=/usr/local --with-sudo
> --enable-logging=verbose
> $ make && make install
> $ make check
>
> Have I done something wrong?
>
> jah
>
> _______________________________________________
> GNUnet-developers mailing list
> address@hidden
> https://lists.gnu.org/mailman/listinfo/gnunet-developers
>
signature.asc
Description: OpenPGP digital signature