You can try to configure this way: ./configure --disable-werror 2012/6/29 abhishek srivastava <just_abh...@yahoo.co.in> > > hi > i have getting error while compiling insight 6.8a/6.8-1a for gdb. > after ./configure when i do make,i get following error. > > libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.././bfd -I. -DTRAD_CORE -I. > -I.././bfd -I.././bfd/../include -W -Wall -Wstrict-prototypes > -Wmissing-prototypes -Werror -g -O2 -c -DDEBUGDIR=\"/usr/local/lib/debug\" > .././bfd/dwarf2.c -o dwarf2.o > /bin/bash ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. > -I.././bfd -I. -DTRAD_CORE -I. -I.././bfd -I.././bfd/../include -W > -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -g -O2 -c -o simple.lo > simple.c > libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.././bfd -I. -DTRAD_CORE -I. > -I.././bfd -I.././bfd/../include -W -Wall -Wstrict-prototypes > -Wmissing-prototypes -Werror -g -O2 -c simple.c -o simple.o > rm -f elf32-target.h > sed -e s/NN/32/g < .././bfd/elfxx-target.h > elf32-target.new > mv -f elf32-target.new elf32-target.h > /bin/bash ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. > -I.././bfd -I. -DTRAD_CORE -I. -I.././bfd -I.././bfd/../include -W > -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -g -O2 -c -o > elf32-i386.lo elf32-i386.c > libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.././bfd -I. -DTRAD_CORE -I. > -I.././bfd -I.././bfd/../include -W -Wall -Wstrict-prototypes > -Wmissing-prototypes -Werror -g -O2 -c elf32-i386.c -o elf32-i386.o > elf32-i386.c: In function 'elf_i386_relocate_section': > elf32-i386.c:2635:16: error: variable 'warned' set but not used > [-Werror=unused-but-set-variable] > cc1: all warnings being treated as errors > make[4]: *** [elf32-i386.lo] Error 1 > make[4]: Leaving directory > `/home/abhi/ecos/gnutools/i386-elf/insight/insight-6.8/bfd' > make[3]: *** [all-recursive] Error 1 > make[3]: Leaving directory > `/home/abhi/ecos/gnutools/i386-elf/insight/insight-6.8/bfd' > make[2]: *** [all] Error 2 > make[2]: Leaving directory > `/home/abhi/ecos/gnutools/i386-elf/insight/insight-6.8/bfd' > make[1]: *** [all-bfd] Error 2 > make[1]: Leaving directory > `/home/abhi/ecos/gnutools/i386-elf/insight/insight-6.8' > make: *** [all] Error 2 > abhi@abhi-HP:~/ecos/gnutools/i386-elf/insight/insight-6.8$ > > > please help > > > > Abhishek > > > -- > Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos > and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss >
-- With best regards! ____________________________ Yurij Grechishhev Bauman State Technical University, Department of Computer Systems and Networks -- Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss