From owner-freebsd-questions Wed Oct 14 13:01:00 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id NAA16292 for freebsd-questions-outgoing; Wed, 14 Oct 1998 13:01:00 -0700 (PDT) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from kakapo.pinnacle.co.nz (pinsoft.internet.co.nz [202.37.141.181]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id NAA16281 for ; Wed, 14 Oct 1998 13:00:57 -0700 (PDT) (envelope-from jonc@pinnacle.co.nz) Received: from tui.pinnacle.co.nz (tui.pinnacle.co.nz [202.37.163.3]) by kakapo.pinnacle.co.nz (8.8.8/8.8.8) with SMTP id JAA09054; Thu, 15 Oct 1998 09:01:09 +1300 (NZDT) (envelope-from jonc@pinnacle.co.nz) Date: Thu, 15 Oct 1998 09:00:32 +1300 From: Jonathan Chen To: Viper cc: freebsd-questions@FreeBSD.ORG Subject: Re: ip.h In-Reply-To: <000701bdf759$8ec3f980$db50aad2@vipernest.vipertechnology-unet.ocn.ne.jp> 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 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. -- 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