This is the mail archive of the
insight@sourceware.org
mailing list for the Insight project.
Re: insight not compiling under cygwin.
Am 18.05.2010 04:21, schrieb vikas gupta:
> I tried compiling insight 6.8-1 for cygwin, got the following
> compilation errors:-
> Please help:-
> /bin/sh ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../../insigh
> t-6.8-1/bfd -I. -I. -I../../insight-6.8-1/bfd -I../../insight-6.8-1/bfd/../inclu
> de -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -g -O2 -c -o el
> flink.lo ../../insight-6.8-1/bfd/elflink.c
> libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../../insight-6.8-1/bfd -I. -I. -I.
> ./../insight-6.8-1/bfd -I../../insight-6.8-1/bfd/../include -W -Wall -Wstrict-pr
> ototypes -Wmissing-prototypes -Werror -g -O2 -c ../../insight-6.8-1/bfd/elflink.
> c -o elflink.o
> ../../insight-6.8-1/bfd/elflink.c:5237: warning: unused parameter 'info'
> make[4]: *** [elflink.lo] Error 1
> make[4]: Leaving directory `/cygdrive/c/insight-6.8-1/insight/bfd'
> make[3]: *** [all-recursive] Error 1
> make[3]: Leaving directory `/cygdrive/c/insight-6.8-1/insight/bfd'
> make[2]: *** [all] Error 2
> make[2]: Leaving directory `/cygdrive/c/insight-6.8-1/insight/bfd'
> make[1]: *** [all-bfd] Error 2
> make[1]: Leaving directory `/cygdrive/c/insight-6.8-1/insight'
> make: *** [all] Error 2
>
> my gdb version is gdb 6.8.0.
I reported this short after Cygwin 1.7 release I believe in January, no response
since then :-(
You can use configure options to suppress -Werror, but then building the tcl/tk
stuff fails later on.
--
Matthias Andree