[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [GNUnet-developers] Re: [bug-GNUnet] gnunetd and netstat
From: |
Robert Millan |
Subject: |
Re: [GNUnet-developers] Re: [bug-GNUnet] gnunetd and netstat |
Date: |
Tue, 4 Jun 2002 08:17:07 +0200 |
User-agent: |
Mutt/1.3.28i |
On Mon, Jun 03, 2002 at 06:51:22PM -0500, 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.
I think the correct define is __linux__ (i always used this without problem)
--
Robert Millan
"5 years from now everyone will be running
free GNU on their 200 MIPS, 64M SPARCstation-5"
Andrew S. Tanenbaum, 30 Jan 1992