Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 15 Oct 1998 14:00:14 +1300
From:      Jonathan Chen <jonc@pinnacle.co.nz>
To:        Markus Holmberg <saska@acc.umu.se>
Cc:        Viper <viper@vipertechnology.com>, freebsd-questions@FreeBSD.ORG
Subject:   Re: ip.h
Message-ID:  <Pine.SGI.4.02.9810151348450.5617-100000@tui.pinnacle.co.nz>
In-Reply-To: <Pine.LNX.4.05.9810150209300.12729-100000@hirohito.acc.umu.se>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, 15 Oct 1998, Markus Holmberg wrote:

> How do you mean he/I could be missing a #include which defines a
> type/structure? Should one need to include files which describe basic
> datatypes? Could you please explain, I'm not sure I follow you :)

All of these sort of errors mostly boil down to coding errors. Without
having a look at the source code you're trying to compile I can't even
begin to guess just what's happening.

There's nothing wrong with <netinet/ip.h>, this is easy to prove:

	sapphire-/tmp,1:58pm> uname -a
	FreeBSD sapphire.smp.co.nz 2.2.7-RELEASE FreeBSD 2.2.7-RELEASE #0: Thu
	Oct 15 13:28:36 NZDT 1998   root@sapphire.smp.co.nz:/usr/src/sys/compile/SAPPHIRE  i386
	sapphire-/tmp,1:58pm> cat a.c
	#include        <sys/types.h>
	#include        <netinet/in_systm.h>
	#include        <netinet/in.h>
	#include        <netinet/ip.h>

	main ()
	{
			return 0;
	}
	sapphire-/tmp,1:58pm> cc a.c
	sapphire-/tmp,1:58pm> 
--
Jonathan Chen            |  de-moc-ra-cy (di mok' ra see) n.  Three wolves
                         |  and a sheep voting on what's for dinner.


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.SGI.4.02.9810151348450.5617-100000>