Article View: news.software.nntp
Article #13554Compiling 1.5.1 on sunos 4.1.3
From: Gavin Mathias
Date: Thu, 26 Dec 1996 00:00
Date: Thu, 26 Dec 1996 00:00
41 lines
2036 bytes
2036 bytes
I'm trying to compile 1.5.1 on a Sparc20 running SunOs 4.1.3. My config-data file corresponds closely to the one for SunOs 4.1.X in the sample-configs directory. The compiler is gcc-2.5.8. However, I'm getting the following fatal error during the "make world": ---------------------------------------------------------------------------- cd lib ; make lint ; cd .. gcc -I../include -g -target sun4 -c memmove.c In file included from memmove.c:9: ../include/clibrary.h:115: conflicting types for `free' /vol/pub/gcc-2.5.8/lib/gcc-lib/sparc-sun-sunos4.1/2.5.8/include/stdlib.h:36: previous declaration of `free' ../include/clibrary.h:133: conflicting types for `abort' /vol/pub/gcc-2.5.8/lib/gcc-lib/sparc-sun-sunos4.1/2.5.8/include/stdlib.h:28: previous declaration of `abort' *** Error code 1 make: Fatal error: Command failed for target `memmove.o' Current working directory /usr/local/NEWS/src/inn-1.5.1/lib *** Error code 1 make: Fatal error: Command failed for target `world' ---------------------------------------------------------------------------- In the gcc stdlib.h file, these are the definitions of free and abort: extern void abort(/* void */); extern void free _PARAMS((void *)); In clibrary.h, these are the definitions: #define FREEVAL int extern FREEVAL free(); extern int abort(); Any ideas on how to fix this? I'm upgrading gcc to 2.7.2 in the hope that this will fix it. Regards, Gavin Mathias
Technical Details
Message-ID:
<59un12$86i@emf.emf.net>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!not-for-mailShow Full Headers
Complete Article Headers
Message-ID: <59un12$86i@emf.emf.net> Subject: Compiling 1.5.1 on sunos 4.1.3 Date: Thu, 26 Dec 1996 00:00:00 +0000 From: gavin@emf.net (Gavin Mathias) Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!not-for-mail X-Deja-AN: 206082850 Distribution: inet Organization: "emf.net" Quality Internet Access. (510) 704-3800 (login: guest) Newsgroups: news.software.nntp