Re: [tkined] Assistance compiling Scotty 2.1.10

Erik Schoenfelder (schoenfr@gaertner.de)
Fri, 11 Dec 1998 16:07:35 +0100 (MET)

Hi,

Andrew> Forgive me if this has been asked before, but I have just
Andrew> joined this list.

well, this were on the list. you may like to use the searchable index
at
http://www.xray.mpe.mpg.de/mailing-lists/tkined/

and search for ip_hl .

Andrew> I am having trouble trying to compile Scotty 2.1.10 using GCC
Andrew> 2.8.1 under Digital Unix 4.0D with TCL 8.0.4 and TK 8.0.4
Andrew> [...]
Andrew> gcc -c -O -I. -DHAVE_CONFIG_H ./../tnm/ntping/ntping.c
Andrew> ./../tnm/ntping/ntping.c: In function `receive_pkt':
Andrew> ./../tnm/ntping/ntping.c:700: structure has no member named `ip_hl'

in the theread found in the archive it turned out, that there were an
additional ip.h header installed in the gcc own include folder, which
was not useable.

the header in /usr/include/netinet/ip.h is useable without __STDC__
set, so compiling ntping.c with cc should be fine.

i hope this helps,
Erik

--
!! This message is brought to you via the `tkined & scotty' mailing list.
!! Please do not reply to this message to unsubscribe. To subscribe or
!! unsubscribe, send a mail message to <tkined-request@ibr.cs.tu-bs.de>.
!! See http://wwwsnmp.cs.utwente.nl/~schoenw/scotty/ for more information.