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

Re: Insight can not get compiled under Solaris/sparc


Hi,

there is a simple workaround for this one:

>gcc -c -g -O2    -I. -I../../insight-6.8-1/gdb -I../../insight-6.8-1/gdb/config 
-DLOCALEDIR="\"/home/ehailii/insight-host-6.8.1/tool/share/locale\"" 
-DHAVE_CONFIG_H -I../../insight-6.8-1/gdb/../include/opcode 
-I../../insight-6.8-1/gdb/../readline/..  -I../bfd 
-I../../insight-6.8-1/gdb/../bfd -I../../insight-6.8-1/gdb/../include 
-I../libdecnumber -I../../insight-6.8-1/gdb/../libdecnumber  -I./../intl  
-DMI_OUT=1 -DGDBTK -DTUI=1  -Wall -Wdeclaration-after-statement -Wpointer-arith 
-Wformat-nonliteral -Wno-unused -Wno-switch -Wno-char-subscripts -Werror 
-I../../insight-6.8-1/gdb/../libgui/src  
-I/home/ehailii/insight-6.8-1/itcl/itcl/generic \
>        -I/home/ehailii/insight-6.8-1/itcl/itk/generic  \
>-I/home/ehailii/insight-6.8-1/tcl/generic 
-I/home/ehailii/insight-6.8-1/tk/generic -I/usr/openwin/include \
>        ../../insight-6.8-1/gdb/gdbtk/generic/gdbtk.c \
>        
-DGDBTK_LIBRARY=\"/home/ehailii/insight-host-6.8.1/tool/share/insight1.0\" 
-DSRC_DIR=\"/home/ehailii/insight-6.8-1/gdb\"
>In file included from /home/ehailii/insight-6.8-1/tk/generic/tk.h:96,
>                 from /home/ehailii/insight-6.8-1/itcl/itk/generic/itk.h:61,
>                 from ../../insight-6.8-1/gdb/gdbtk/generic/gdbtk.c:46:
>/usr/openwin/include/X11/Xlib.h:38: warning: ignoring #pragma ident
>*** Error code 1

Due to "-Werror", warnings are treated as errors here. This particular
warning, OTOH, is harmless, so it is safe to invoke configure with the
option "--enable-werror=no". This will make this particular error go away.

Regards
Dieter


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