From owner-freebsd-questions Tue Sep 1 10:10:19 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id KAA12431 for freebsd-questions-outgoing; Tue, 1 Sep 1998 10:10:19 -0700 (PDT) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from csmd2.cs.uni-magdeburg.de (prinz-atm.CS.Uni-Magdeburg.De [141.44.30.2]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id KAA11937 for ; Tue, 1 Sep 1998 10:09:00 -0700 (PDT) (envelope-from jesse@prinz-atm.CS.Uni-Magdeburg.De) Received: from knecht.cs.uni-magdeburg.de (knecht [141.44.21.3]) by csmd2.cs.uni-magdeburg.de (8.8.8/8.8.8) with SMTP id TAA08125 for ; Tue, 1 Sep 1998 19:07:34 +0200 (MET DST) Received: by knecht.cs.uni-magdeburg.de (SMI-8.6/SMI-SVR4) id TAA08969; Tue, 1 Sep 1998 19:07:34 +0200 Message-ID: <19980901190734.A8953@cs.uni-magdeburg.de> Date: Tue, 1 Sep 1998 19:07:34 +0200 From: Roland Jesse To: freebsd-questions@FreeBSD.ORG Subject: gcc trouble while compiling jesred 1.2 Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.91.2i Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Hello, I just tried to compile http://ivs.cs.uni-magdeburg.de/~elkner/webtools/src/jesred-1.2.tar.gz and run into the following problem: j.wh4-422 ~/jesred-1.2 % make cc -O3 -s -I. -c main.c cc -O3 -s -I. -c ip_list.c In file included from ip_list.c:99: /usr/include/netinet/in.h:212: parse error before `u_long' /usr/include/netinet/in.h:212: warning: no semicolon at end of struct or union Both, the source code file (ip_list.c) and the include file (in.h) look fine to me. I tried without any optimization but that did not help. Right now I am kinda clueless what is causing the trouble. The author of the packages guesses that it is the too old gcc 2.7.x. The package compiles just fine using gcc 2.8 on Linux, Solaris, AIX, and HP-UX (not 100% sure about the last one). Any hints on what I am missing are appreciated. Roland To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message