SUMMARY: Compiling gcc on Solaris 2.5

From: David R Courtade (drc@amherst.com)
Date: Sat Feb 10 1996 - 13:04:45 CST


Oops, sorry. I went through the gcc docs, but the answer is in the
solaris2 FAQ (available at ftp.fwi.uva.nl/pub/comp/solaris. When you
install a binary of gcc, you have to run just-fixinc to get the correct
include files. Thanks to:

Casper Dik <casper@holland.sun.com>
Tim Evans <tkevans@eplrx7.es.dupont.com>
Albert Tam <bertie@erebus.hag.housing.washington.edu>

Original Message
__________________________________________________________________

>Hi folks,

>I have been trying to get gcc 2.7.2 compiled (using a gcc 2.7.0 I
>downloaded). I keep getting the following error at some point. I must
>have missed something on the OS install, although I thought I installed
>the entire distribution. Anyone have any ideas?

>odo{root}41: make
>/util/gnu/gcc2.6/bin/gcc -DIN_GCC -DSVR4 -g -I. -I. -I./config \
>
>-DGCC_INCLUDE_DIR=\"/usr/local/lib/gcc-lib/sparc-sun-solaris2.5/2.7.2/include\
> -DGPLUSPLUS_INCLUDE_DIR=\"/usr/local/lib/g++-include\" \
> -DLOCAL_INCLUDE_DIR=\"/util/gnu/gcc2.6/include\" \
>
>-DCROSS_INCLUDE_DIR=\"/usr/local/lib/gcc-lib/sparc-sun-solaris2.5/2.7.2/sys-i\
> -DTOOL_INCLUDE_DIR=\"/usr/local/sparc-sun-solaris2.5/include\" \
> -c `echo ./cccp.c | sed 's,^\./,,'`
>cccp.c: In function `error':
>cccp.c:8874: `__builtin_va_alist' undeclared (first use this function)
>cccp.c:8874: (Each undeclared identifier is reported only once
>cccp.c:8874: for each function it appears in.)
>cccp.c: In function `warning':
>cccp.c:8935: `__builtin_va_alist' undeclared (first use this function)
>cccp.c: In function `error_with_line':
>cccp.c:8980: `__builtin_va_alist' undeclared (first use this function)
>cccp.c: In function `warning_with_line':
>cccp.c:9020: `__builtin_va_alist' undeclared (first use this function)
>cccp.c: In function `pedwarn':
>cccp.c:9063: `__builtin_va_alist' undeclared (first use this function)
>cccp.c: In function `pedwarn_with_line':
>cccp.c:9082: `__builtin_va_alist' undeclared (first use this function)
>cccp.c: In function `pedwarn_with_file_and_line':
>cccp.c:9113: `__builtin_va_alist' undeclared (first use this function)
>cccp.c: In function `fatal':
>cccp.c:9958: `__builtin_va_alist' undeclared (first use this function)
>make: *** [cccp.o] Error 1
>
>
==============================================================================
David R. Courtade
System Administrator
Amherst Systems Inc.
30 Wilson Rd.
Buffalo, N.Y. 14221
Phone: (716)631-0610
FAX: (716)631-0629
Email: drc@amherst.com



This archive was generated by hypermail 2.1.2 : Fri Sep 28 2001 - 23:10:53 CDT