Compiling Insight

Russel Winder russel.winder@concertant.com
Sat Aug 15 12:11:00 GMT 2009


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="\"/opt/insight-6.8.1/share/locale\"" -DHAVE_CONFIG_H -I.././gdb/../include/opcode -I.././gdb/../readline/.. -I../bfd -I.././gdb/../bfd -I.././gdb/../include -I../libdecnumber -I.././gdb/../libdecnumber   -DMI_OUT=1 -DGDBTK -DTUI=1  -Wall -Wdeclaration-after-statement -Wpointer-arith -Wformat-nonliteral -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 ‘pwd_command’:
        .././gdb/cli/cli-cmds.c:323: error: ignoring return value of ‘getcwd’, 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

-- 
Russel.
=============================================================================
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.net
London SW11 1EN, UK   m: +44 7770 465 077   skype: russel_winder
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part
URL: <http://sourceware.org/pipermail/insight/attachments/20090815/82d90550/attachment.sig>


More information about the Insight mailing list