This is the mail archive of the archer@sourceware.org mailing list for the Archer 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]

build problem


Has anyone encountered this build problem ?

gcc -g -O2 -I. -I../../gdb -I../../gdb/config -DLOCALEDIR="\"/usr/local/share/locale\"" -DHAVE_CONFIG_H -I../../gdb/../include/opcode -I../../gdb/../readline/.. -I../bfd -I../../gdb/../bfd -I../../gdb/../include -I../libdecnumber -I../../gdb/../libdecnumber -I../../gdb/gnulib -Ignulib -DMI_OUT=1 -DTUI=1 -Wall -Wdeclaration-after-statement -Wpointer-arith -Wformat-nonliteral -Wno-pointer-sign -Wno-unused -Wno-switch -Wno-char-subscripts -Werror -c -o c-exp.o -MT c-exp.o -MMD -MP -MF .deps/c-exp.Tpo c-exp.c
cc1: warnings being treated as errors
c-exp.c:1: warning: return type defaults to ‘int’
make[2]: *** [c-exp.o] Error 1
make[2]: Leaving directory `/home/swagiaal/src/archer/build/gdb'
make[1]: *** [all-gdb] Error 2
make[1]: Leaving directory `/home/swagiaal/src/archer/build'
make: *** [all] Error 2


All generated files contains a single line:

main() { return 0; }


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