public inbox for ecos-discuss@sourceware.org
 help / color / mirror / Atom feed
* [ECOS] error while compiling insight 6.8
@ 2012-06-28 20:41 abhishek srivastava
  2012-06-29  6:50 ` Yurij Grechishhev
  0 siblings, 1 reply; 2+ messages in thread
From: abhishek srivastava @ 2012-06-28 20:41 UTC (permalink / raw)
  To: ecos discuss

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [ECOS] error while compiling insight 6.8
  2012-06-28 20:41 [ECOS] error while compiling insight 6.8 abhishek srivastava
@ 2012-06-29  6:50 ` Yurij Grechishhev
  0 siblings, 0 replies; 2+ messages in thread
From: Yurij Grechishhev @ 2012-06-29  6:50 UTC (permalink / raw)
  To: ecos discuss

You can try to configure this way:
./configure --disable-werror

2012/6/29 abhishek srivastava <just_abhi22@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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2012-06-29  6:50 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-06-28 20:41 [ECOS] error while compiling insight 6.8 abhishek srivastava
2012-06-29  6:50 ` Yurij Grechishhev

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).