From owner-freebsd-questions Wed Oct 14 17:12:09 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id RAA23197 for freebsd-questions-outgoing; Wed, 14 Oct 1998 17:12:09 -0700 (PDT) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from kleopatra.acc.umu.se (kleopatra.acc.umu.se [130.239.18.150]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id RAA23149 for ; Wed, 14 Oct 1998 17:12:02 -0700 (PDT) (envelope-from saska@acc.umu.se) Received: from hirohito.acc.umu.se (saska@hirohito.acc.umu.se [130.239.18.140]) by kleopatra.acc.umu.se (8.9.1/8.9.1) with ESMTP id CAA13906; Thu, 15 Oct 1998 02:11:21 +0200 Date: Thu, 15 Oct 1998 02:11:20 +0200 (CEST) From: Markus Holmberg To: Jonathan Chen cc: Viper , freebsd-questions@FreeBSD.ORG Subject: Re: ip.h In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Thu, 15 Oct 1998, Jonathan Chen wrote: > On Wed, 14 Oct 1998, Viper wrote: > > > Hi, > > > > I am having a problem when I go to make a program that uses the ip.h file. I am running FreeBSD 2.2.7. I get run errors at; > > > > 156 Parse error before { > > 157 No semicolon at end of Struct or Union > > 158 No semicolon at end of Struct or Union > > 160 Parse error before { > > 160 No storage definition class > > 161 Parse error before } > > 161 No storage definition class > > 162 Parse error before } > > > > Is there any suggestions? This is the ip.h file out of the box. > > Why don't you check the include file? More than likely there's a bug > in your code, possibly missing a #include which defines a > type/structure. What the first author describes has happened to me too! 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 :) Best Regards, Markus. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message