*BSD News Article 79052


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!munnari.OZ.AU!news.ecn.uoknor.edu!news.wildstar.net!serv.hinet.net!news.uoregon.edu!Alpha!jaring.my!irmhp1.celcom.com.my!news
From: Dinesh Nair <dinesh@alphaque.com>
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: Q: problems compiling when including netinet/ip.h
Date: Tue, 24 Sep 1996 18:14:31 +0800
Organization: Alphaque. Anytime. Anywhere.
Lines: 25
Message-ID: <3247B487.41C67EA6@alphaque.com>
References: <3246B9CC.446B9B3D@alphaque.com>
NNTP-Posting-Host: 202.184.53.3
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-Mailer: Mozilla 3.0b7 (X11; I; FreeBSD 2.1.0-RELEASE i386)

Dinesh Nair wrote:
> 
> i do guess the subject says it all. when i include the above file, it
> somehow dies with some weird errors
> 
> /usr/include/netinet/ip.h:143: parse error before `n_long' and others
> like 'no semicolon before }' etc.
> 
> am i like doing something wrong here ?

me following up myself.

yes, i was doing something wrong. i had forgotten to #include
<netinet/ip_systm>. worked fine and dandy after that.

-- 
Regards,                        /\_/\   "All dogs go to heaven."
dinesh@alphaque.com             (0 0)
+=======================----oOO--(_)--OOo----=========================+
|for a in past present future; do                                     |
| for b in clients employers associates relatives neighbours pets; do |
| echo "The opinions here in no way reflect the opinions of my $a $b."|
|done; done                                                           |
+=====================================================================+
http://pgp.ai.mit.edu/htbin/pks-extract-key.pl?op=get&search=0x230096E9