Date: Thu, 3 Sep 1998 10:18:28 +0200 From: Roland Jesse <jesse@prinz-atm.CS.Uni-Magdeburg.De> To: freebsd-hackers@FreeBSD.ORG Subject: Re: gcc fails to compile jesred-1.2 Message-ID: <19980903101828.A27073@cs.uni-magdeburg.de> In-Reply-To: <199809030007.AAA00939@word.smith.net.au>; from Mike Smith on Thu, Sep 03, 1998 at 12:07:06AM %2B0000 References: <19980903074720.B26829@cs.uni-magdeburg.de> <199809030007.AAA00939@word.smith.net.au>
next in thread | previous in thread | raw e-mail | index | archive | help
Mike Smith wrote: > You need <sys/types.h> and probably <sys/socket.h> before you can > include <netinet/in.h>. > > You'll also want to include <stdlib.h>, because they use NULL. Well, thanks. <sys/types.h> and <stdlib.h> works fine (I did the NULL define on my own before). > And take -O3 out of the Makefile, at least to start with. -O is about > all that's reliable. I tried of course without any optimization. The author of the package strongly recommends -O5 - but that's for gcc 2.8.x. > The fact that it's supposed to build at all makes me wonder what > platform it was developed on. The Makefile discourages the immediate > "Linux" response, but I still need a barf bag. It was developed for Solaris 2.6 and successfully testet on AIX, HP-UX, and the author's private Linux machine. (I am not really sure about the HP-UX.) I will tell him what he is missing so that he can include the necessary includes. ;-) Thanks again for all your immediate responses. They are very much appreciated. Roland To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19980903101828.A27073>