This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
compile error for gcc on solaris
- To: help-gcc at gnu dot org
- Subject: compile error for gcc on solaris
- From: "Loren Cahlander" <lcahlander at acm dot org>
- Date: Wed, 27 Oct 1999 16:14:58 -0500
- Newsgroups: gnu.gcc.help
- Organization: StarNet Communications, Inc.
- Xref: wodc7nx0 gnu.gcc.help:1620
Hello,
I downloaded gcc-2.95.2 from ftp.gnu.org.
I ran config and it recognized my system as sparc-sun-solaris2.7.
I then ran make and received the following error:
cc -c -DIN_GCC -DHAIFA -DSVR4 -g -DHAVE_CONFIG_H -I. -I../../gcc-2.95
.2/gcc -I../../gcc-2.95.2/gcc/config -I../../gcc-2.95.2/gcc/../include \
-DGCC_INCLUDE_DIR=\"/usr/local/lib/gcc-lib/sparc-sun-solaris2.7/2.
95.2/include\" \
-DGPLUSPLUS_INCLUDE_DIR=\"/usr/local/lib/gcc-lib/sparc-sun-solaris2.7/2.95
.2/../../../..`echo /usr/local | sed -e 's|^/usr/local||' -e
's|/[^/]*|/..|g'`/include/g++-3\" \
-DCROSS_INCLUDE_DIR=\"/usr/local/lib/gcc-lib/sparc-sun-solaris2.7/2.95.2/.
./../../../sparc-sun-solaris2.7/sys-include\" \
-DTOOL_INCLUDE_DIR=\"/usr/local/lib/gcc-lib/sparc-sun-solaris2.7/2.95.2/..
/../../../sparc-sun-solaris2.7/include\" \
-DLOCAL_INCLUDE_DIR=\"/usr/local/include\" \
-DSTD_PROTO_DIR=\"/usr/local/lib/gcc-lib/sparc-sun-solaris2.7/2.95.2\" \
../../gcc-2.95.2/gcc/protoize.c
"/usr/include/sys/ucontext.h", line 69: syntax error before or at: stack_t
"/usr/include/sys/ucontext.h", line 69: cannot recover from previous errors
*** Error code 10
Does anyone have any suggestions?
here is the output from uname -a
SunOS grolsh 5.7 Generic_106541-07 sun4u sparc SUNW,Ultra-250
Thanks in advance,
Loren David Cahlander
--
| Loren David Cahlander | mailto:loren@ensodex.com |
| Ensodex Inc. | phone +1 (651) 766 7217 |