This is the mail archive of the gcc-bugs@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]
Other format: [Raw text]

Problems during compilation of gcc


My GCC version is gcc-2.95.
My machine is sparc-sun-solaris2.7
I've done only configure without any options. Then I use make all. And
here is the output :

cc  -DIN_GCC -DHAIFA -DSVR4  -g   -DHAVE_CONFIG_H    -I. -I. -I./config
-I./../include \

-DGCC_INCLUDE_DIR=\"/usr/local/lib/gcc-lib/sparc-sun-solaris2.7/2.95/include\"
\

-DGPLUSPLUS_INCLUDE_DIR=\"/usr/local/lib/gcc-lib/sparc-sun-solaris2.7/2.95/../../../..`echo
/usr/local | sed -e 's|^/usr/local||' -e
's|/[^/]*|/..|g'`/include/g++-3\" \
  -DLOCAL_INCLUDE_DIR=\"/usr/local/include\" \

-DCROSS_INCLUDE_DIR=\"/usr/local/lib/gcc-lib/sparc-sun-solaris2.7/2.95/../../../../sparc-sun-solaris2.7/sys-include\"
\

-DTOOL_INCLUDE_DIR=\"/usr/local/lib/gcc-lib/sparc-sun-solaris2.7/2.95/../../../../sparc-sun-solaris2.7/include\"
\
  -c `echo ./cccp.c | sed 's,^\./,,'`
"cccp.c", line 393: syntax error before or at: /
"cccp.c", line 393: undefined or not a type: usr
"cccp.c", line 393: undefined or not a type: local
"cccp.c", line 393: undefined or not a type: lib
"cccp.c", line 393: undefined or not a type: gcc
"cccp.c", line 393: undefined or not a type: lib
"cccp.c", line 393: undefined or not a type: solaris2
"cccp.c", line 393: undefined or not a type: include
"cccp.c", line 393: undefined or not a type: g
"cccp.c", line 409: undefined or not a type: usr
"cccp.c", line 409: undefined or not a type: local
"cccp.c", line 409: warning: old-style declaration or incorrect type
for: include
"cccp.c", line 409: identifier redeclared: include
        current : int
        previous: function(void) returning int : "cccp.c", line 393
"cccp.c", line 414: undefined or not a type: usr
"cccp.c", line 414: undefined or not a type: local
"cccp.c", line 414: undefined or not a type: lib
"cccp.c", line 414: undefined or not a type: gcc
"cccp.c", line 414: undefined or not a type: lib
"cccp.c", line 414: undefined or not a type: solaris2
"cccp.c", line 414: undefined or not a type: solaris2
"cccp.c", line 414: warning: old-style declaration or incorrect type
for: include
"cccp.c", line 418: undefined or not a type: usr
"cccp.c", line 418: undefined or not a type: local
"cccp.c", line 418: undefined or not a type: lib
"cccp.c", line 418: undefined or not a type: gcc
"cccp.c", line 418: undefined or not a type: lib
"cccp.c", line 418: undefined or not a type: solaris2
"cccp.c", line 418: warning: old-style declaration or incorrect type
for: include
"cccp.c", line 429: warning: syntax error:  empty declaration
"cccp.c", line 437: identifier redeclared: include
        current : pointer to struct file_name_list {pointer to struct
file_name_list {..} next, int c_system_include_path, pointer to struct
f...
        previous: int : "cccp.c", line 409
"cccp.c", line 1058: cannot recover from previous errors
cc: acomp failed for cccp.c
*** Error code 2
make: Fatal error: Command failed for target `cccp.o'

Can you help me to compile the gcc properly ?
Thanks,
Sebastien Dubois.


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