From owner-freebsd-hackers Wed Sep 2 22:48:31 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id WAA19957 for freebsd-hackers-outgoing; Wed, 2 Sep 1998 22:48:31 -0700 (PDT) (envelope-from owner-freebsd-hackers@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 WAA19946 for ; Wed, 2 Sep 1998 22:48:26 -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 HAA00024 for ; Thu, 3 Sep 1998 07:47:21 +0200 (MET DST) Received: by knecht.cs.uni-magdeburg.de (SMI-8.6/SMI-SVR4) id HAA26846; Thu, 3 Sep 1998 07:47:20 +0200 Message-ID: <19980903074720.B26829@cs.uni-magdeburg.de> Date: Thu, 3 Sep 1998 07:47:20 +0200 From: Roland Jesse To: freebsd-hackers@FreeBSD.ORG Subject: gcc fails to compile jesred-1.2 Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.91.2i Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Hello, I posted the question to the questions list but to no avail. When trying to compile http://ivs.cs.uni-magdeburg.de/~elkner/webtools/src/jesred-1.2.tar.gz, gcc fails with the following messages: j.wh4-422 ~/jesred-1.2 % make 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 /usr/include/netinet/in.h:263: parse error before `u_char' /usr/include/netinet/in.h:263: warning: no semicolon at end of struct or union [...] Honestly - I do not know why the compiler fails here. The source code seems to be ok and the include does, too. I would very much appreciate it if somebody else could try to build this small package and would provide a hint or two of what I am missing here. BTW: The machine is running FreeBSD 2.2.7-STABLE and therefore a gcc 2..7.2.1. Roland To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message