* gcc-3.4.2 failed to be built on Solaris 10/x86
@ 2004-10-08 23:06 Lingtao Zeng
0 siblings, 0 replies; only message in thread
From: Lingtao Zeng @ 2004-10-08 23:06 UTC (permalink / raw)
To: gcc-help
Hello,
I was trying to build gcc-3.4.2 on a newly-installed
Solaris 10/x86 machine. The
configure was no problem, however, when I tried to run
"make bootstrap", it
generated the following error message:
cc -c -DHAVE_CONFIG_H -g -I.
-I/export/home/tech/download/sources/gcc-3.4.2/libiberty/../include
/export/home/tech/download/sources/gcc-3.4.2/libiberty/sigsetmask.c
-o
sigsetmask.o
"/usr/include/sys/feature_tests.h", line 330: #error:
"Compiler or options
invalid for pre-UNIX 03 X/Open applications and
pre-2001 POSIX applications"
cc: acomp failed for
/export/home/tech/download/sources/gcc-3.4.2/libiberty/sigsetmask.c
make[1]: *** [sigsetmask.o] Error 2
make[1]: Leaving directory
`/export/home/tech/download/sources/gcc_build/libiberty'
make: *** [all-libiberty] Error 2
I also tried to run "make CC=cc\ -D_XPG6 bootstrap",
it seemed to fix the above
error, but ceased after generating the following error
message:
cc -D_XPG6 -c -g -DHAVE_CONFIG_H -I.
-I/export/home/techdownload/sources/gcc-3.4.2/intl
/export/home/tech/download/sources/gcc-3.4.2/intl/plural-exp.c
"/export/home/tech/download/sources/gcc-3.4.2/intl/plural-exp.c",
line 37:
syntax error before or at: .
"/export/home/tech/download/sources/gcc-3.4.2/intl/plural-exp.c",
line 42:
syntax error before or at: .
"/export/home/tech/download/sources/gcc-3.4.2/intl/plural-exp.c",
line 48:
warning: syntax error: empty declaration
"/export/home/tech/download/sources/gcc-3.4.2/intl/plural-exp.c",
line 51:
syntax error before or at: .
"/export/home/tech/download/sources/gcc-3.4.2/intl/plural-exp.c",
line 61:
warning: syntax error: empty declaration
"/export/home/tech/download/sources/gcc-3.4.2/intl/plural-exp.c",
line 156:
cannot recover from previous errors
cc: acomp failed for
/export/home/tech/download/sources/gcc-3.4.2/intl/plural-exp.c
make[1]: *** [plural-exp.o] Error 2
make[1]: Leaving directory
`/export/home/tech/download/sources/gcc_build/intl'
make: *** [all-intl] Error 2
I was using SunONE compiler (from SunONE Studio 8) and
GNU make (complied
successfully using the SunONE compiler)
Could anybody give me any help?
taolizhong
_______________________________
Do you Yahoo!?
Declare Yourself - Register online to vote today!
http://vote.yahoo.com
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2004-10-08 23:06 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-10-08 23:06 gcc-3.4.2 failed to be built on Solaris 10/x86 Lingtao Zeng
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).