Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 1 Sep 1998 19:07:34 +0200
From:      Roland Jesse <jesse@prinz-atm.CS.Uni-Magdeburg.De>
To:        freebsd-questions@FreeBSD.ORG
Subject:   gcc trouble while compiling jesred 1.2
Message-ID:  <19980901190734.A8953@cs.uni-magdeburg.de>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19980901190734.A8953>