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]

Compiling Insight


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

Attachment: signature.asc
Description: This is a digitally signed message part


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