From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 7724 invoked by alias); 15 Aug 2009 12:11:23 -0000 Received: (qmail 7640 invoked by uid 22791); 15 Aug 2009 12:11:22 -0000 X-SWARE-Spam-Status: No, hits=2.1 required=5.0 tests=AWL,BAYES_05 X-Spam-Check-By: sourceware.org Received: from dimen.russel.org.uk (HELO dimen.russel.org.uk) (213.165.225.90) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Sat, 15 Aug 2009 12:11:15 +0000 Received: from [192.168.1.3] (balin.russel.org.uk [192.168.1.3]) by dimen.russel.org.uk (Postfix) with ESMTP id B324E4BA14; Sat, 15 Aug 2009 13:11:12 +0100 (BST) Subject: Compiling Insight From: Russel Winder To: Insight Content-Type: multipart/signed; micalg="pgp-sha1"; protocol="application/pgp-signature"; boundary="=-3yw682fzBNYF8IcnuLUz" Date: Sat, 15 Aug 2009 12:11:00 -0000 Message-Id: <1250338272.20123.292.camel@balin> Mime-Version: 1.0 X-IsSubscribed: yes Mailing-List: contact insight-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: insight-owner@sourceware.org X-SW-Source: 2009-q3/txt/msg00028.txt.bz2 --=-3yw682fzBNYF8IcnuLUz Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Content-length: 1777 I have just downloaded 6.8.1 from the website, but when I try to compile it I get an error as shown below. I am on Ubuntu 9.04 with the standard GCC installed. Is this supposed to compile "out of the box"? Thanks. gcc -c -g -O2 -I. -I.././gdb -I.././gdb/config -DLOCALEDIR=3D"\"/= opt/insight-6.8.1/share/locale\"" -DHAVE_CONFIG_H -I.././gdb/../include/opc= ode -I.././gdb/../readline/.. -I../bfd -I.././gdb/../bfd -I.././gdb/../incl= ude -I../libdecnumber -I.././gdb/../libdecnumber -DMI_OUT=3D1 -DGDBTK -DT= UI=3D1 -Wall -Wdeclaration-after-statement -Wpointer-arith -Wformat-nonlit= eral -Wno-pointer-sign -Wno-unused -Wno-switch -Wno-char-subscripts -Werror= .././gdb/cli/cli-cmds.c cc1: warnings being treated as errors .././gdb/cli/cli-cmds.c: In function =E2=80=98pwd_command=E2=80=99: .././gdb/cli/cli-cmds.c:323: error: ignoring return value of =E2=80= =98getcwd=E2=80=99, declared with attribute warn_unused_result make[2]: *** [cli-cmds.o] Error 1 make[2]: Leaving directory `/home/share/tmp/insight-6.8-1/gdb' make[1]: *** [all-gdb] Error 2 make[1]: Leaving directory `/home/share/tmp/insight-6.8-1' make: *** [all] Error 2 --=20 Russel. =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D Dr Russel Winder Partner xmpp: russel@russel.org.uk Concertant LLP t: +44 20 7585 2200, +44 20 7193 9203 41 Buckmaster Road, f: +44 8700 516 084 voip: sip:russel.winder@ekiga.n= et London SW11 1EN, UK m: +44 7770 465 077 skype: russel_winder --=-3yw682fzBNYF8IcnuLUz Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part Content-length: 197 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (GNU/Linux) iEYEABECAAYFAkqGpd8ACgkQ9Mb+qYVvBY0eggCeOy8yunWZRZLzE09BRQShyd3x 18kAn0Zvm0kOSVZ3xiVJtXCBl8si7QA2 =t8nu -----END PGP SIGNATURE----- --=-3yw682fzBNYF8IcnuLUz--