From owner-freebsd-hackers Thu Sep 3 01:19:46 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id BAA10604 for freebsd-hackers-outgoing; Thu, 3 Sep 1998 01:19:46 -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 BAA10594 for ; Thu, 3 Sep 1998 01:19:39 -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 KAA01631 for ; Thu, 3 Sep 1998 10:18:28 +0200 (MET DST) Received: by knecht.cs.uni-magdeburg.de (SMI-8.6/SMI-SVR4) id KAA27086; Thu, 3 Sep 1998 10:18:28 +0200 Message-ID: <19980903101828.A27073@cs.uni-magdeburg.de> Date: Thu, 3 Sep 1998 10:18:28 +0200 From: Roland Jesse To: freebsd-hackers@FreeBSD.ORG Subject: Re: gcc fails to compile jesred-1.2 References: <19980903074720.B26829@cs.uni-magdeburg.de> <199809030007.AAA00939@word.smith.net.au> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.91.2i In-Reply-To: <199809030007.AAA00939@word.smith.net.au>; from Mike Smith on Thu, Sep 03, 1998 at 12:07:06AM +0000 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Mike Smith wrote: > You need and probably before you can > include . > > You'll also want to include , because they use NULL. Well, thanks. and 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