This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

compile error for gcc on solaris


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 |





Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]