Article View: news.software.readers
Article #35618Re: slrn 0.9.4.2 compile breaks on solaris 2.5.1
From: Torsten Schneider
Date: Sat, 02 Aug 1997 00:00
Date: Sat, 02 Aug 1997 00:00
27 lines
1451 bytes
1451 bytes
Justin M. Streiner wrote: >/tmp/slrn/src/misc.c: In function slrn_get_response':/tmp/slrn/src/misc.c:1222: >__builtin_va_alist' undeclared (first use this function) > >This happens during a number of functions in this file. > >Where is __builtin_va_alist declared/supposed to be declared? This problem occurs when you try to compile it with gcc. The va_list feature is defined in /usr/include/stdarg.h. The Sun cc has indeed functions called __builtin_alloca and __builtin_va_alist. The only way I found is to change /usr/include/stdarg.h or to modify the slrn source. There are only a few lines in misc.c where the modifications must be made, so you can use varargs.h instead. I hope John reads this and changes the source accordingly. ;-) -- Torsten Schneider 35216 Biedenkopf, Germany http://www.mabi.de/~schneidt Fax: +49-6461-92082
Technical Details
Message-ID:
<5rv828$2qr$1@sonne.mabi.de>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.mbox.zip!not-for-mailReferences:
<slrn5u1ud0.sh0.streiner@lurch.bv.sgi.net>Show Full Headers
Complete Article Headers
Message-ID: <5rv828$2qr$1@sonne.mabi.de> Subject: Re: slrn 0.9.4.2 compile breaks on solaris 2.5.1 Date: Sat, 02 Aug 1997 00:00:00 +0000 From: schneidt@mabi.de (Torsten Schneider) References: <slrn5u1ud0.sh0.streiner@lurch.bv.sgi.net> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.mbox.zip!not-for-mail X-Deja-AN: 261708551 Organization: HRZ Uni Marburg Newsgroups: news.software.readers