gnunet-developers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [GNUnet-developers] Re: [bug-GNUnet] gnunetd and netstat


From: Peter F Bradshaw
Subject: Re: [GNUnet-developers] Re: [bug-GNUnet] gnunetd and netstat
Date: Tue, 4 Jun 2002 13:32:13 +0800 (WST)

Hi;

I've just rebuilt v0.4.0 and that seems to have cleared the problem.
To build originally I followed the five step proceedure in the INSTALL
file which means that I probably did not run autogen.sh. I ran it this
time and that is probably the difference. So this problem is finger
problems here.

I still have to add -ldl to LIBS in src/textui/Makefile to get the
*-insert-* utilities to link. So now I have a line:

LIBS = -lgdbm -lm -lnsl -lpthread -lcrypto -ldl

On Mon, 3 Jun 2002, Christian Grothoff wrote:

> Hi!
>
> Since the only code using netstat says:
>
> #ifdef LINUX
>  //...
> #else
>   if ( ( command = popen("netstat -n -f inet -i", "r") ) == NULL ) {
>  //...
> #endif
>
> this must be something with the build process (you don't get the 'LINUX'
> directive). Blake, any idea? For a workaround, try putting #define LINUX 1
> at the beginning of src/util/statuscalls.c and try if that fixes it.
>
> Christian
>
> Monday 03 June 2002 02:42 am, you wrote:
> > Hi;
> >
> > --------------------------------------------------------------
> > OS             : Linux
> > OS RELEASE     : 2.2.19pre17
> > HARDWARE       : i686
> > OpenSSL Version: OpenSSL 0.9.4 09 Aug 1999
> > gcc version    : 2.95.2
> > Gnu make       : 3.79.1
> > autoconf       :
> > automake       : 1.4
> > --------------------------------------------------------------
> >
> > When running up the new gnunetd v0.4.0 I get the following p/o:
> >
> > Loading configuration from /home/pfb//.gnunet/gnunet.conf.
> > Database (GDBM): /home/pfb//.gnunet/data/content/
> > netstat: invalid option -- f
> > usage: netstat [-veenNcCF] [<Af>] -r         netstat
> > {-V|--version|-h|--help} netstat [-vnNcaeol] [<Socket> ...]
> >        netstat { [-veenNac] -i | [-cnNe] -M | -s }
> >
> >         -r, --route              display routing table
> >         -i, --interfaces         display interface table
> > .
> > .
> > .
> >
> > FYI netstat --version returns:
> >
> > net-tools 1.54
> > netstat 1.38 (1999-04-20)
> > Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang and
> > others+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N AF: (inet)
> > +UNIX +INET +INET6 +IPX +AX25 +NETROM +ATALK +ECONET +ROSE HW:  +ETHER +ARC
> > +SLIP +PPP +TUNNEL +TR +AX25 +NETROM +FR +ROSE +ASH +SIT +FDDI +HIPPI
> > +HDLC/LAPB
> >
> > I'm not sure what netstat -f is supposed to do. No doubt this is a hang
> > over from the SYSV / BSD differences (will they ever end).
> >
> > Cheers
>
>

Cheers

-- 
Peter F Bradshaw, address@hidden, ICQ 75431157 (exadios).
http://www.exadios.com
PGP public key at http://www.exadios.com/public_key.html
"Needs more salt" - Archimedes





reply via email to

[Prev in Thread] Current Thread [Next in Thread]