public inbox for insight@sourceware.org
 help / color / mirror / Atom feed
* Re: Insight can not get compiled under Solaris/sparc
@ 2011-02-23  8:39 Ruppert
  0 siblings, 0 replies; 3+ messages in thread
From: Ruppert @ 2011-02-23  8:39 UTC (permalink / raw)
  To: insight, kevin.h.li

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

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

end of thread, other threads:[~2011-02-23  8:39 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <9BFD7979339BD94FA52C1B94532C071C03E1D4BD6A@ESGSCCMS0002.eapac.ericsson.se>
     [not found] ` <9BFD7979339BD94FA52C1B94532C071C03E1D4BD72@ESGSCCMS0002.eapac.ericsson.se>
2011-02-23  5:45   ` Insight can not get compiled under Solaris/sparc Kevin Li H
2011-02-23  6:23     ` Kevin Li H
2011-02-23  8:39 Ruppert

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).