This is the mail archive of the gcc@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]

gcc-3.3.x compiling bug





Hi to all,
recently I've made the gcc-3.4.0-20040218 without problems in my Cygwin
(XP SP1) environment with:

configure --target=sh-coff --prefix=/opt/sh01-003 --enable-languages="c"
--with-gnu-as --with-gnu-ld
make all info install

but when I try to do same thing with gcc-3.3.3 or gcc-3.3.2 I obtain always
same error
during make all phase:

/home/Silverio_Diqui/sh01-003-building/gcc-3.3.3-building/gcc/xgcc
-B/home/Silverio_Diqui/sh01-003-building/gcc-3.3.3-building/gcc/
-B/opt/sh01-003/sh-coff/bin/ -B/opt/sh01-003/sh-coff/lib/ -isystem
/opt/sh01-003/sh-coff/include -O2  -DIN_GCC -DCROSS_COMPILE   -W -Wall
-Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -isystem ./include
-g  -DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NEEDED -Dinhibit_libc -I. -I.
-I../../gcc-3.3.3/gcc -I../../gcc-3.3.3/gcc/. -I../../gcc-3.3.3/gcc/config
-I../../gcc-3.3.3/gcc/../include -DFINE_GRAINED_LIBRARIES -DL_usi_to_df -c
dp-bit.c -o libgcc/./_usi_to_df.o
/home/Silverio_Diqui/sh01-003-building/gcc-3.3.3-building/gcc/xgcc
-B/home/Silverio_Diqui/sh01-003-building/gcc-3.3.3-building/gcc/
-B/opt/sh01-003/sh-coff/bin/ -B/opt/sh01-003/sh-coff/lib/ -isystem
/opt/sh01-003/sh-coff/include -O2  -DIN_GCC -DCROSS_COMPILE   -W -Wall
-Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -isystem ./include
-g  -DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NEEDED -Dinhibit_libc -I. -I.
-I../../gcc-3.3.3/gcc -I../../gcc-3.3.3/gcc/. -I../../gcc-3.3.3/gcc/config
-I../../gcc-3.3.3/gcc/../include -c embed-bb.c -o libgcc/./embed-bb.o
In file included from embed-bb.c:40:
../../gcc-3.3.3/gcc/tsystem.h:72:19: stdio.h: No such file or directory
../../gcc-3.3.3/gcc/tsystem.h:75:23: sys/types.h: No such file or directory
../../gcc-3.3.3/gcc/tsystem.h:78:19: errno.h: No such file or directory
../../gcc-3.3.3/gcc/tsystem.h:89:20: stdlib.h: No such file or directory
../../gcc-3.3.3/gcc/tsystem.h:90:20: unistd.h: No such file or directory
embed-bb.c:1282:19: stdio.h: No such file or directory
In file included from embed-bb.c:1284:
../../gcc-3.3.3/gcc/gcov-io.h:32:19: stdio.h: No such file or directory
../../gcc-3.3.3/gcc/gcov-io.h:33:23: sys/types.h: No such file or directory
In file included from embed-bb.c:1284:
../../gcc-3.3.3/gcc/gcov-io.h:37: error: parse error before "FILE"
../../gcc-3.3.3/gcc/gcov-io.h:38: warning: function declaration isn't a
prototype
../../gcc-3.3.3/gcc/gcov-io.h:39: error: parse error before "FILE"
../../gcc-3.3.3/gcc/gcov-io.h:40: warning: function declaration isn't a
prototype
../../gcc-3.3.3/gcc/gcov-io.h:45: error: parse error before "FILE"
../../gcc-3.3.3/gcc/gcov-io.h:46: warning: function declaration isn't a
prototype
../../gcc-3.3.3/gcc/gcov-io.h:47: error: parse error before "FILE"
../../gcc-3.3.3/gcc/gcov-io.h:48: warning: function declaration isn't a
prototype
../../gcc-3.3.3/gcc/gcov-io.h:49: error: parse error before "FILE"
../../gcc-3.3.3/gcc/gcov-io.h:50: warning: function declaration isn't a
prototype
../../gcc-3.3.3/gcc/gcov-io.h:51: error: parse error before "FILE"
../../gcc-3.3.3/gcc/gcov-io.h:52: warning: function declaration isn't a
prototype
../../gcc-3.3.3/gcc/gcov-io.h:152: warning: function declaration isn't a
prototype
../../gcc-3.3.3/gcc/gcov-io.h: In function `__write_gcov_type':
../../gcc-3.3.3/gcc/gcov-io.h:153: error: parse error before "FILE"
../../gcc-3.3.3/gcc/gcov-io.h:152: warning: type of `file' defaults to
`int'
../../gcc-3.3.3/gcc/gcov-io.h:161: warning: implicit declaration of
function `fwrite'
../../gcc-3.3.3/gcc/gcov-io.h:161: warning: comparison between signed and
unsigned
../../gcc-3.3.3/gcc/gcov-io.h: At top level:
../../gcc-3.3.3/gcc/gcov-io.h:166: warning: function declaration isn't a
prototype
../../gcc-3.3.3/gcc/gcov-io.h: In function `__write_long':
../../gcc-3.3.3/gcc/gcov-io.h:167: error: parse error before "FILE"
../../gcc-3.3.3/gcc/gcov-io.h:166: warning: type of `file' defaults to
`int'
../../gcc-3.3.3/gcc/gcov-io.h:175: warning: comparison between signed and
unsigned
../../gcc-3.3.3/gcc/gcov-io.h: At top level:
../../gcc-3.3.3/gcc/gcov-io.h:189: warning: function declaration isn't a
prototype
../../gcc-3.3.3/gcc/gcov-io.h: In function `__read_gcov_type':
../../gcc-3.3.3/gcc/gcov-io.h:190: error: parse error before "FILE"
../../gcc-3.3.3/gcc/gcov-io.h:189: warning: type of `file' defaults to
`int'
../../gcc-3.3.3/gcc/gcov-io.h:195: warning: implicit declaration of
function `fread'
../../gcc-3.3.3/gcc/gcov-io.h:195: warning: comparison between signed and
unsigned
../../gcc-3.3.3/gcc/gcov-io.h: At top level:
../../gcc-3.3.3/gcc/gcov-io.h:203: warning: function declaration isn't a
prototype
../../gcc-3.3.3/gcc/gcov-io.h: In function `__read_long':
../../gcc-3.3.3/gcc/gcov-io.h:204: error: parse error before "FILE"
../../gcc-3.3.3/gcc/gcov-io.h:203: warning: type of `file' defaults to
`int'
../../gcc-3.3.3/gcc/gcov-io.h:209: warning: comparison between signed and
unsigned
../../gcc-3.3.3/gcc/gcov-io.h: At top level:
../../gcc-3.3.3/gcc/gcov-io.h:220: warning: function declaration isn't a
prototype
../../gcc-3.3.3/gcc/gcov-io.h: In function `__write_gcov_string':
../../gcc-3.3.3/gcc/gcov-io.h:222: error: parse error before "FILE"
../../gcc-3.3.3/gcc/gcov-io.h:220: warning: type of `file' defaults to
`int'
../../gcc-3.3.3/gcc/gcov-io.h:220: warning: type of `delim' defaults to
`int'
../../gcc-3.3.3/gcc/gcov-io.h:245: warning: comparison between signed and
unsigned
../../gcc-3.3.3/gcc/gcov-io.h: At top level:
../../gcc-3.3.3/gcc/gcov-io.h:260: warning: function declaration isn't a
prototype
../../gcc-3.3.3/gcc/gcov-io.h: In function `__read_gcov_string':
../../gcc-3.3.3/gcc/gcov-io.h:262: error: parse error before "FILE"
../../gcc-3.3.3/gcc/gcov-io.h:260: warning: type of `file' defaults to
`int'
../../gcc-3.3.3/gcc/gcov-io.h:260: warning: type of `delim' defaults to
`int'
../../gcc-3.3.3/gcc/gcov-io.h:292: warning: implicit declaration of
function `fseek'
../../gcc-3.3.3/gcc/gcov-io.h:292: error: `SEEK_CUR' undeclared (first use
in this function)
../../gcc-3.3.3/gcc/gcov-io.h:292: error: (Each undeclared identifier is
reported only once
../../gcc-3.3.3/gcc/gcov-io.h:292: error: for each function it appears in.)
embed-bb.c:1285:20: string.h: No such file or directory
embed-bb.c: In function `__bb_exit_func':
embed-bb.c:1334: error: `FILE' undeclared (first use in this function)
embed-bb.c:1334: error: `da_file' undeclared (first use in this function)
embed-bb.c:1344: warning: implicit declaration of function `fopen'
embed-bb.c:1363: warning: implicit declaration of function `fprintf'
embed-bb.c:1363: error: `stderr' undeclared (first use in this function)
embed-bb.c:1393: error: `SEEK_CUR' undeclared (first use in this function)
embed-bb.c:1398: warning: implicit declaration of function `clearerr'
embed-bb.c:1413: warning: implicit declaration of function `strlen'
embed-bb.c:1436: error: `SEEK_SET' undeclared (first use in this function)
embed-bb.c:1502: warning: implicit declaration of function `fclose'
embed-bb.c: In function `__bb_init_func':
embed-bb.c:1558: warning: implicit declaration of function `atexit'
make[2]: *** [libgcc/./embed-bb.o] Error 1
make[2]: Leaving directory
`/home/Silverio_Diqui/sh01-003-building/gcc-3.3.3-building/gcc'
make[1]: *** [stmp-multilib] Error 2
make[1]: Leaving directory
`/home/Silverio_Diqui/sh01-003-building/gcc-3.3.3-building/gcc'
make: *** [all-gcc] Error 2

Can you help me about ?
Thank you
Silverio Diquigiovanni


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