build error on FC4 with its gcc (4.0.2 20051125) trying to build arm-unknown-linux-gnu/gcc-3.3.4-glibc-2.3.2

Niklaus niklaus@gmail.com
Thu Jun 22 15:18:00 GMT 2006


take something like gcc3.4.6 or 3.6 or later. It can work . i am not
sure about gcc-3.3.4

On 6/20/06, Philippe Laporte <philippe.laporte@gatespacetelematics.com> wrote:
> Hi,
>    Is this the best place to post these?
>
>
>
> gcc -c   -g -O2 -DIN_GCC -DCROSS_COMPILE  -W -Wall -Wwrite-strings
> -Wstrict-prototypes -Wmissing-prototypes    -DHAVE_CONFIG_H    -I.
> -Ijava
> -I/home/laporte/downloads/crosstool-0.42/build/arm-unknown-linux-gnu/gcc-3.3.4-glibc-2.3.2/gcc-3.3.4/gcc -I/home/laporte/downloads/crosstool-0.42/build/arm-unknown-linux-gnu/gcc-3.3.4-glibc-2.3.2/gcc-3.3.4/gcc/java -I/home/laporte/downloads/crosstool-0.42/build/arm-unknown-linux-gnu/gcc-3.3.4-glibc-2.3.2/gcc-3.3.4/gcc/config -I/home/laporte/downloads/crosstool-0.42/build/arm-unknown-linux-gnu/gcc-3.3.4-glibc-2.3.2/gcc-3.3.4/gcc/../include /home/laporte/downloads/crosstool-0.42/build/arm-unknown-linux-gnu/gcc-3.3.4-glibc-2.3.2/gcc-3.3.4/gcc/java/gjavah.c -o java/gjavah.o
> /home/laporte/downloads/crosstool-0.42/build/arm-unknown-linux-gnu/gcc-3.3.4-glibc-2.3.2/gcc-3.3.4/gcc/java/gjavah.c:49: error: static declaration of 'flag_jni' follows non-static declaration
> /home/laporte/downloads/crosstool-0.42/build/arm-unknown-linux-gnu/gcc-3.3.4-glibc-2.3.2/gcc-3.3.4/gcc/java/java-tree.h:170: error: previous declaration of 'flag_jni' was here
> /home/laporte/downloads/crosstool-0.42/build/arm-unknown-linux-gnu/gcc-3.3.4-glibc-2.3.2/gcc-3.3.4/gcc/java/gjavah.c: In function 'throwable_p':
> /home/laporte/downloads/crosstool-0.42/build/arm-unknown-linux-gnu/gcc-3.3.4-glibc-2.3.2/gcc-3.3.4/gcc/java/gjavah.c:1155: warning: pointer targets in assignment differ in signedness
> /home/laporte/downloads/crosstool-0.42/build/arm-unknown-linux-gnu/gcc-3.3.4-glibc-2.3.2/gcc-3.3.4/gcc/java/gjavah.c:1159: warning: pointer targets in assignment differ in signedness
> /home/laporte/downloads/crosstool-0.42/build/arm-unknown-linux-gnu/gcc-3.3.4-glibc-2.3.2/gcc-3.3.4/gcc/java/gjavah.c:1186: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness
> /home/laporte/downloads/crosstool-0.42/build/arm-unknown-linux-gnu/gcc-3.3.4-glibc-2.3.2/gcc-3.3.4/gcc/java/gjavah.c:1187: warning: pointer targets in passing argument 1 of 'find_class' differ in signedness
> /home/laporte/downloads/crosstool-0.42/build/arm-unknown-linux-gnu/gcc-3.3.4-glibc-2.3.2/gcc-3.3.4/gcc/java/gjavah.c: In function 'decode_signature_piece':
> /home/laporte/downloads/crosstool-0.42/build/arm-unknown-linux-gnu/gcc-3.3.4-glibc-2.3.2/gcc-3.3.4/gcc/java/gjavah.c:1336: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness
> /home/laporte/downloads/crosstool-0.42/build/arm-unknown-linux-gnu/gcc-3.3.4-glibc-2.3.2/gcc-3.3.4/gcc/java/gjavah.c:1336: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness
> /home/laporte/downloads/crosstool-0.42/build/arm-unknown-linux-gnu/gcc-3.3.4-glibc-2.3.2/gcc-3.3.4/gcc/java/gjavah.c:1336: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness
> /home/laporte/downloads/crosstool-0.42/build/arm-unknown-linux-gnu/gcc-3.3.4-glibc-2.3.2/gcc-3.3.4/gcc/java/gjavah.c:1336: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness
> /home/laporte/downloads/crosstool-0.42/build/arm-unknown-linux-gnu/gcc-3.3.4-glibc-2.3.2/gcc-3.3.4/gcc/java/gjavah.c:1336: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness
> /home/laporte/downloads/crosstool-0.42/build/arm-unknown-linux-gnu/gcc-3.3.4-glibc-2.3.2/gcc-3.3.4/gcc/java/gjavah.c:1336: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness
> /home/laporte/downloads/crosstool-0.42/build/arm-unknown-linux-gnu/gcc-3.3.4-glibc-2.3.2/gcc-3.3.4/gcc/java/gjavah.c:1336: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness
> /home/laporte/downloads/crosstool-0.42/build/arm-unknown-linux-gnu/gcc-3.3.4-glibc-2.3.2/gcc-3.3.4/gcc/java/gjavah.c:1336: warning: pointer targets in passing argument 1 of 'strncmp' differ in signedness
> /home/laporte/downloads/crosstool-0.42/build/arm-unknown-linux-gnu/gcc-3.3.4-glibc-2.3.2/gcc-3.3.4/gcc/java/gjavah.c:1339: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness
> /home/laporte/downloads/crosstool-0.42/build/arm-unknown-linux-gnu/gcc-3.3.4-glibc-2.3.2/gcc-3.3.4/gcc/java/gjavah.c:1339: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness
> /home/laporte/downloads/crosstool-0.42/build/arm-unknown-linux-gnu/gcc-3.3.4-glibc-2.3.2/gcc-3.3.4/gcc/java/gjavah.c:1339: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness
> /home/laporte/downloads/crosstool-0.42/build/arm-unknown-linux-gnu/gcc-3.3.4-glibc-2.3.2/gcc-3.3.4/gcc/java/gjavah.c:1339: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness
> /home/laporte/downloads/crosstool-0.42/build/arm-unknown-linux-gnu/gcc-3.3.4-glibc-2.3.2/gcc-3.3.4/gcc/java/gjavah.c:1339: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness
> /home/laporte/downloads/crosstool-0.42/build/arm-unknown-linux-gnu/gcc-3.3.4-glibc-2.3.2/gcc-3.3.4/gcc/java/gjavah.c:1339: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness
> /home/laporte/downloads/crosstool-0.42/build/arm-unknown-linux-gnu/gcc-3.3.4-glibc-2.3.2/gcc-3.3.4/gcc/java/gjavah.c:1339: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness
> /home/laporte/downloads/crosstool-0.42/build/arm-unknown-linux-gnu/gcc-3.3.4-glibc-2.3.2/gcc-3.3.4/gcc/java/gjavah.c:1339: warning: pointer targets in passing argument 1 of 'strncmp' differ in signedness
> /home/laporte/downloads/crosstool-0.42/build/arm-unknown-linux-gnu/gcc-3.3.4-glibc-2.3.2/gcc-3.3.4/gcc/java/gjavah.c: In function 'print_full_cxx_name':
> /home/laporte/downloads/crosstool-0.42/build/arm-unknown-linux-gnu/gcc-3.3.4-glibc-2.3.2/gcc-3.3.4/gcc/java/gjavah.c:1490: warning: pointer targets in passing argument 3 of 'overloaded_jni_method_exists_p' differ in signedness
> /home/laporte/downloads/crosstool-0.42/build/arm-unknown-linux-gnu/gcc-3.3.4-glibc-2.3.2/gcc-3.3.4/gcc/java/gjavah.c: In function 'print_include':
> /home/laporte/downloads/crosstool-0.42/build/arm-unknown-linux-gnu/gcc-3.3.4-glibc-2.3.2/gcc-3.3.4/gcc/java/gjavah.c:1751: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness
> /home/laporte/downloads/crosstool-0.42/build/arm-unknown-linux-gnu/gcc-3.3.4-glibc-2.3.2/gcc-3.3.4/gcc/java/gjavah.c:1757: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness
> /home/laporte/downloads/crosstool-0.42/build/arm-unknown-linux-gnu/gcc-3.3.4-glibc-2.3.2/gcc-3.3.4/gcc/java/gjavah.c:1757: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness
> /home/laporte/downloads/crosstool-0.42/build/arm-unknown-linux-gnu/gcc-3.3.4-glibc-2.3.2/gcc-3.3.4/gcc/java/gjavah.c:1757: warning: pointer targets in passing argument 2 of '__builtin_strcmp' differ in signedness
> /home/laporte/downloads/crosstool-0.42/build/arm-unknown-linux-gnu/gcc-3.3.4-glibc-2.3.2/gcc-3.3.4/gcc/java/gjavah.c:1757: warning: pointer targets in passing argument 2 of '__builtin_strcmp' differ in signedness
> /home/laporte/downloads/crosstool-0.42/build/arm-unknown-linux-gnu/gcc-3.3.4-glibc-2.3.2/gcc-3.3.4/gcc/java/gjavah.c:1757: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness
> /home/laporte/downloads/crosstool-0.42/build/arm-unknown-linux-gnu/gcc-3.3.4-glibc-2.3.2/gcc-3.3.4/gcc/java/gjavah.c:1757: warning: pointer targets in passing argument 2 of '__builtin_strcmp' differ in signedness
> /home/laporte/downloads/crosstool-0.42/build/arm-unknown-linux-gnu/gcc-3.3.4-glibc-2.3.2/gcc-3.3.4/gcc/java/gjavah.c:1757: warning: pointer targets in passing argument 2 of '__builtin_strcmp' differ in signedness
> /home/laporte/downloads/crosstool-0.42/build/arm-unknown-linux-gnu/gcc-3.3.4-glibc-2.3.2/gcc-3.3.4/gcc/java/gjavah.c:1757: warning: pointer targets in passing argument 2 of 'strncmp' differ in signedness
> /home/laporte/downloads/crosstool-0.42/build/arm-unknown-linux-gnu/gcc-3.3.4-glibc-2.3.2/gcc-3.3.4/gcc/java/gjavah.c:1763: warning: pointer targets in passing argument 2 of '__builtin_strncpy' differ in signedness
> /home/laporte/downloads/crosstool-0.42/build/arm-unknown-linux-gnu/gcc-3.3.4-glibc-2.3.2/gcc-3.3.4/gcc/java/gjavah.c: In function 'add_namelet':
> /home/laporte/downloads/crosstool-0.42/build/arm-unknown-linux-gnu/gcc-3.3.4-glibc-2.3.2/gcc-3.3.4/gcc/java/gjavah.c:1823: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness
> /home/laporte/downloads/crosstool-0.42/build/arm-unknown-linux-gnu/gcc-3.3.4-glibc-2.3.2/gcc-3.3.4/gcc/java/gjavah.c:1823: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness
> /home/laporte/downloads/crosstool-0.42/build/arm-unknown-linux-gnu/gcc-3.3.4-glibc-2.3.2/gcc-3.3.4/gcc/java/gjavah.c:1823: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness
> /home/laporte/downloads/crosstool-0.42/build/arm-unknown-linux-gnu/gcc-3.3.4-glibc-2.3.2/gcc-3.3.4/gcc/java/gjavah.c:1823: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness
> /home/laporte/downloads/crosstool-0.42/build/arm-unknown-linux-gnu/gcc-3.3.4-glibc-2.3.2/gcc-3.3.4/gcc/java/gjavah.c:1823: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness
> /home/laporte/downloads/crosstool-0.42/build/arm-unknown-linux-gnu/gcc-3.3.4-glibc-2.3.2/gcc-3.3.4/gcc/java/gjavah.c:1823: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness
> /home/laporte/downloads/crosstool-0.42/build/arm-unknown-linux-gnu/gcc-3.3.4-glibc-2.3.2/gcc-3.3.4/gcc/java/gjavah.c:1823: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness
> /home/laporte/downloads/crosstool-0.42/build/arm-unknown-linux-gnu/gcc-3.3.4-glibc-2.3.2/gcc-3.3.4/gcc/java/gjavah.c:1823: warning: pointer targets in passing argument 1 of 'strncmp' differ in signedness
> /home/laporte/downloads/crosstool-0.42/build/arm-unknown-linux-gnu/gcc-3.3.4-glibc-2.3.2/gcc-3.3.4/gcc/java/gjavah.c:1825: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness
> /home/laporte/downloads/crosstool-0.42/build/arm-unknown-linux-gnu/gcc-3.3.4-glibc-2.3.2/gcc-3.3.4/gcc/java/gjavah.c:1825: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness
> /home/laporte/downloads/crosstool-0.42/build/arm-unknown-linux-gnu/gcc-3.3.4-glibc-2.3.2/gcc-3.3.4/gcc/java/gjavah.c:1825: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness
> /home/laporte/downloads/crosstool-0.42/build/arm-unknown-linux-gnu/gcc-3.3.4-glibc-2.3.2/gcc-3.3.4/gcc/java/gjavah.c:1825: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness
> /home/laporte/downloads/crosstool-0.42/build/arm-unknown-linux-gnu/gcc-3.3.4-glibc-2.3.2/gcc-3.3.4/gcc/java/gjavah.c:1825: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness
> /home/laporte/downloads/crosstool-0.42/build/arm-unknown-linux-gnu/gcc-3.3.4-glibc-2.3.2/gcc-3.3.4/gcc/java/gjavah.c:1825: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness
> /home/laporte/downloads/crosstool-0.42/build/arm-unknown-linux-gnu/gcc-3.3.4-glibc-2.3.2/gcc-3.3.4/gcc/java/gjavah.c:1825: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness
> /home/laporte/downloads/crosstool-0.42/build/arm-unknown-linux-gnu/gcc-3.3.4-glibc-2.3.2/gcc-3.3.4/gcc/java/gjavah.c:1825: warning: pointer targets in passing argument 1 of 'strncmp' differ in signedness
> /home/laporte/downloads/crosstool-0.42/build/arm-unknown-linux-gnu/gcc-3.3.4-glibc-2.3.2/gcc-3.3.4/gcc/java/gjavah.c:1827: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness
> /home/laporte/downloads/crosstool-0.42/build/arm-unknown-linux-gnu/gcc-3.3.4-glibc-2.3.2/gcc-3.3.4/gcc/java/gjavah.c:1827: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness
> /home/laporte/downloads/crosstool-0.42/build/arm-unknown-linux-gnu/gcc-3.3.4-glibc-2.3.2/gcc-3.3.4/gcc/java/gjavah.c:1827: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness
> /home/laporte/downloads/crosstool-0.42/build/arm-unknown-linux-gnu/gcc-3.3.4-glibc-2.3.2/gcc-3.3.4/gcc/java/gjavah.c:1827: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness
> /home/laporte/downloads/crosstool-0.42/build/arm-unknown-linux-gnu/gcc-3.3.4-glibc-2.3.2/gcc-3.3.4/gcc/java/gjavah.c:1827: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness
> /home/laporte/downloads/crosstool-0.42/build/arm-unknown-linux-gnu/gcc-3.3.4-glibc-2.3.2/gcc-3.3.4/gcc/java/gjavah.c:1827: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness
> /home/laporte/downloads/crosstool-0.42/build/arm-unknown-linux-gnu/gcc-3.3.4-glibc-2.3.2/gcc-3.3.4/gcc/java/gjavah.c:1827: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness
> /home/laporte/downloads/crosstool-0.42/build/arm-unknown-linux-gnu/gcc-3.3.4-glibc-2.3.2/gcc-3.3.4/gcc/java/gjavah.c:1827: warning: pointer targets in passing argument 1 of 'strncmp' differ in signedness
> /home/laporte/downloads/crosstool-0.42/build/arm-unknown-linux-gnu/gcc-3.3.4-glibc-2.3.2/gcc-3.3.4/gcc/java/gjavah.c:1839: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness
> /home/laporte/downloads/crosstool-0.42/build/arm-unknown-linux-gnu/gcc-3.3.4-glibc-2.3.2/gcc-3.3.4/gcc/java/gjavah.c:1839: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness
> /home/laporte/downloads/crosstool-0.42/build/arm-unknown-linux-gnu/gcc-3.3.4-glibc-2.3.2/gcc-3.3.4/gcc/java/gjavah.c:1839: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness
> /home/laporte/downloads/crosstool-0.42/build/arm-unknown-linux-gnu/gcc-3.3.4-glibc-2.3.2/gcc-3.3.4/gcc/java/gjavah.c:1839: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness
> /home/laporte/downloads/crosstool-0.42/build/arm-unknown-linux-gnu/gcc-3.3.4-glibc-2.3.2/gcc-3.3.4/gcc/java/gjavah.c:1839: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness
> /home/laporte/downloads/crosstool-0.42/build/arm-unknown-linux-gnu/gcc-3.3.4-glibc-2.3.2/gcc-3.3.4/gcc/java/gjavah.c:1839: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness
> /home/laporte/downloads/crosstool-0.42/build/arm-unknown-linux-gnu/gcc-3.3.4-glibc-2.3.2/gcc-3.3.4/gcc/java/gjavah.c:1839: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness
> /home/laporte/downloads/crosstool-0.42/build/arm-unknown-linux-gnu/gcc-3.3.4-glibc-2.3.2/gcc-3.3.4/gcc/java/gjavah.c:1839: warning: pointer targets in passing argument 1 of 'strncmp' differ in signedness
> /home/laporte/downloads/crosstool-0.42/build/arm-unknown-linux-gnu/gcc-3.3.4-glibc-2.3.2/gcc-3.3.4/gcc/java/gjavah.c:1850: warning: pointer targets in passing argument 2 of '__builtin_strncpy' differ in signedness
> /home/laporte/downloads/crosstool-0.42/build/arm-unknown-linux-gnu/gcc-3.3.4-glibc-2.3.2/gcc-3.3.4/gcc/java/gjavah.c: In function 'add_class_decl':
> /home/laporte/downloads/crosstool-0.42/build/arm-unknown-linux-gnu/gcc-3.3.4-glibc-2.3.2/gcc-3.3.4/gcc/java/gjavah.c:1938: warning: pointer targets in passing argument 2 of 'print_include' differ in signedness
> /home/laporte/downloads/crosstool-0.42/build/arm-unknown-linux-gnu/gcc-3.3.4-glibc-2.3.2/gcc-3.3.4/gcc/java/gjavah.c: In function 'process_file':
> /home/laporte/downloads/crosstool-0.42/build/arm-unknown-linux-gnu/gcc-3.3.4-glibc-2.3.2/gcc-3.3.4/gcc/java/gjavah.c:2116: warning: pointer targets in passing argument 2 of 'print_include' differ in signedness
> /home/laporte/downloads/crosstool-0.42/build/arm-unknown-linux-gnu/gcc-3.3.4-glibc-2.3.2/gcc-3.3.4/gcc/java/gjavah.c:2121: warning: pointer targets in passing argument 2 of 'print_include' differ in signedness
> /home/laporte/downloads/crosstool-0.42/build/arm-unknown-linux-gnu/gcc-3.3.4-glibc-2.3.2/gcc-3.3.4/gcc/java/gjavah.c:2123: warning: pointer targets in passing argument 2 of 'print_include' differ in signedness
> make[1]: *** [java/gjavah.o] Error 1
> make[1]: Leaving directory
> `/home/laporte/downloads/crosstool-0.42/build/arm-unknown-linux-gnu/gcc-3.3.4-glibc-2.3.2/build-gcc/gcc'
> make: *** [all-gcc] Error 2
>
>
> Best Regards,
> --
> Philippe Laporte
>
>
>
> --
> For unsubscribe information see http://sourceware.org/lists.html#faq
>
>

--
For unsubscribe information see http://sourceware.org/lists.html#faq



More information about the crossgcc mailing list