Article View: news.software.nntp
Article #21537Re: INN 1.5.1sec2 compile problems on Solaris 2.4 (snprintf fails to compile)
From: Mark G. Thomas
Date: Mon, 15 Sep 1997 00:00
Date: Mon, 15 Sep 1997 00:00
38 lines
1836 bytes
1836 bytes
In <5vd0ka$bmc@winter.news.erols.com>, Robert D. Beal <rbeal@draper.com> wrote: > I've seen other similar posts related to problems compiling snprintf in > INN 1.5.1, but I can't seem to find any answers :-(. I'm trying to compile > INN 1.5.1sec2 on a Solaris 2.4 system using gcc 2.7.2, but I can't get past > snprintf. I've tried a few different $DEFs, but nothing seems to work. Does > anyone know how I can get past the following problems: > > > cd frontends ; make all ; cd .. > make[1]: Entering directory `/export/home/beal/inn-1.5.1sec2/frontends' > (cd ../snprintf ; make install) > make[2]: Entering directory `/export/home/beal/inn-1.5.1sec2/snprintf' > gcc -I../include -DSUNOS5 -O -Dsun -D__svr4__ -DBad_float_h -c vfprintf.c > In file included from > /usr/local/GNU/lib/gcc-lib/sparc-sun-solaris2.4/2.7.2/incl > ude/floatingpoint.h:33, > from > /usr/local/GNU/lib/gcc-lib/sparc-sun-solaris2.4/2.7.2/incl > ude/math.h:206, > from vfprintf.c:202: > /usr/local/GNU/lib/gcc-lib/sparc-sun-solaris2.4/2.7.2/include/stdio.h:70: > warnin You need to remove the #include "math.h" in strtod.c and vfprintf.c -Mark -- Mark Thomas (Mark@Misty.com)
Technical Details
Message-ID:
<slrn61pk0l.ag8.mark@marksys.misty.com>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-mailReferences:
<5vd0ka$bmc@winter.news.erols.com>Show Full Headers
Complete Article Headers
Message-ID: <slrn61pk0l.ag8.mark@marksys.misty.com> Subject: Re: INN 1.5.1sec2 compile problems on Solaris 2.4 (snprintf fails to compile) Date: Mon, 15 Sep 1997 00:00:00 +0000 From: mark@misty.com (Mark G. Thomas) References: <5vd0ka$bmc@winter.news.erols.com> 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: 272560516 Organization: Thomas' Consulting Newsgroups: news.software.nntp