Thread View: news.software.readers
3 messages
3 total messages
Started by Justin M. Streiner
Thu, 31 Jul 1997 00:00
slrn 0.9.4.2 compile breaks on solaris 2.5.1
Author: Justin M. Streiner
Date: Thu, 31 Jul 1997 00:00
Date: Thu, 31 Jul 1997 00:00
16 lines
1067 bytes
1067 bytes
Building slrn 0.9.4.2 [using slang 0.99-38] on my solaris 2.5.1 box errors out while building misc.c: /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? libslang.a and slang.h are in the correct places. jms
Re: slrn 0.9.4.2 compile breaks on solaris 2.5.1
Author: 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
Re: slrn 0.9.4.2 compile breaks on solaris 2.5.1
Author: Alan Coopersmith
Date: Mon, 04 Aug 1997 00:00
Date: Mon, 04 Aug 1997 00:00
34 lines
2089 bytes
2089 bytes
In article <slrn5u1ud0.sh0.streiner@lurch.bv.sgi.net>,
Justin M. Streiner <streiner@remove-to-mail-me.sgi.net> wrote:
>Building slrn 0.9.4.2 [using slang 0.99-38] on my solaris 2.5.1 box errors
>out while building misc.c:
>
>/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?
From the comp.unix.solaris FAQ:
5.9) Why do I get __builtin_va_alist or __builtin_va_arg_incr undefined?
You're using gcc without properly installing the gcc fixed include
files. Or you ran fixincludes after installing gcc w/o moving the gcc
supplied varargs.h and stdarg.h files out of the way and moving them
back again later. This often happens when people install gcc from a
binary distribution. If there's a tmp directory in gcc's include
directory, fixincludes didn't complete. You should have run
"just-fixinc" instead.
Another possible cause is using ``gcc -I/usr/include.''
--
________________________________________________________________________
Alan Coopersmith alanc@godzilla.EECS.Berkeley.EDU
Univ. of California at Berkeley http://soar.Berkeley.EDU/~alanc/
aka: alanc@{CSUA,OCF,CS,BMRC,ucsee.eecs,cory.eecs,server}.Berkeley.EDU
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads