[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[avr-gcc-list] Latest gcc cvs compilation error
From: |
Kang Tin LAI |
Subject: |
[avr-gcc-list] Latest gcc cvs compilation error |
Date: |
Mon, 09 Sep 2002 21:56:20 +0800 |
Hi,
I tried to compiled the latest gcc cvs source, but an error occured. The
version string of cvs source I pulled is "3.3 20020907 (experimental)".
Today I sync my source to 20020908 from cvs, no luck. I changed the
binutils to latest snapshot binutils-020907, and then compile 3.3 again,
same problem. Changed to new prefix location for installation, i.e,
totally from scratch, same problem. My compilation system is "gcc
version 2.95.3 20010315 (release)".
The error happened in avr.c file. Anyone here has the same problem
(source codes problem)? Or it is specific to my system only?
Thanks.
Kang Tin LAI <address@hidden>
The error screen dump:
gcc -c -g -O2 -DIN_GCC -DCROSS_COMPILE -W -Wall -Wwrite-strings
-Wstrict-prototypes -Wmissing-prototypes -Wtraditional -pedantic
-Wno-long-long -fno-common -DHAVE_CONFIG_H -I. -I.
-I../../gcc-3.3/gcc -I../../gcc-3.3/gcc/. -I../../gcc-3.3/gcc/config
-I../../gcc-3.3/gcc/../include \
../../gcc-3.3/gcc/config/avr/avr.c -o avr.o
In file included from /usr/include/unistd.h:500,
from ../../gcc-3.3/gcc/system.h:157,
from ../../gcc-3.3/gcc/config/avr/avr.c:23:
/usr/include/bits/confname.h:565: warning: comma at end of enumerator
list
../../gcc-3.3/gcc/config/avr/avr.c:229: `default_assemble_visibility'
undeclared here (not in a function)
../../gcc-3.3/gcc/config/avr/avr.c:229: initializer element is not
constant
../../gcc-3.3/gcc/config/avr/avr.c:229: (near initialization for
`targetm.asm_out.visibility')
../../gcc-3.3/gcc/config/avr/avr.c: In function
`avr_simplify_comparision_p':
../../gcc-3.3/gcc/config/avr/avr.c:1454: warning: integer constant is
unsigned in ANSI C, signed with -traditional
../../gcc-3.3/gcc/config/avr/avr.c: In function `adjust_insn_length':
../../gcc-3.3/gcc/config/avr/avr.c:4338: warning: integer constant is
unsigned in ANSI C, signed with -traditional
../../gcc-3.3/gcc/config/avr/avr.c:4338: warning: integer constant is
unsigned in n ANSI C, signed with -traditional
../../gcc-3.3/gcc/config/avr/avr.c:4353: warning: integer constant is
unsigned in ANSI C, signed with -traditional
../../gcc-3.3/gcc/config/avr/avr.c: In function `mask_one_bit_p':
../../gcc-3.3/gcc/config/avr/avr.c:5263: warning: integer constant is
unsigned in ANSI C, signed with -traditional
../../gcc-3.3/gcc/config/avr/avr.c: In function `output_reload_insisf':
../../gcc-3.3/gcc/config/avr/avr.c:5446: warning: integer constant is
unsigned in ANSI C, signed with -traditional
../../gcc-3.3/gcc/config/avr/avr.c:5474: warning: integer constant is
unsigned in ANSI C, signed with -traditional
make[1]: *** [avr.o] Error 1
make[1]: Leaving directory `/mnt/k/avr/src/gcc-3.3-build/gcc'
make: *** [install-gcc] Error 2
address@hidden:/opt/avr/src$
avr-gcc-list at http://avr1.org
- [avr-gcc-list] Latest gcc cvs compilation error,
Kang Tin LAI <=