From: Ruppert <dieter_ruppert@siemens.com>
To: insight@sourceware.org, kevin.h.li@ericsson.com
Subject: Re: Insight can not get compiled under Solaris/sparc
Date: Wed, 23 Feb 2011 08:39:00 -0000 [thread overview]
Message-ID: <20110223083934.3B51455C4@haiti.swb.siemens.de> (raw)
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
next reply other threads:[~2011-02-23 8:39 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-02-23 8:39 Ruppert [this message]
[not found] <9BFD7979339BD94FA52C1B94532C071C03E1D4BD6A@ESGSCCMS0002.eapac.ericsson.se>
[not found] ` <9BFD7979339BD94FA52C1B94532C071C03E1D4BD72@ESGSCCMS0002.eapac.ericsson.se>
2011-02-23 5:45 ` Kevin Li H
2011-02-23 6:23 ` Kevin Li H
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20110223083934.3B51455C4@haiti.swb.siemens.de \
--to=dieter_ruppert@siemens.com \
--cc=insight@sourceware.org \
--cc=kevin.h.li@ericsson.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).