This is the mail archive of the
insight@sourceware.org
mailing list for the Insight project.
Re: make fails on ubuntu 11.04 VM,
- From: sandip gangakhedkar <sandipfloyd at gmail dot com>
- To: insight at sourceware dot org
- Date: Fri, 4 Nov 2011 02:11:24 +0100
- Subject: Re: make fails on ubuntu 11.04 VM,
- References: <CAEPsib3XCnbO1yK49NQDp1QFQJVYamgBR1nQL1vAL7+HGVMKfw@mail.gmail.com>
Hi,
I am on Ubuntu 11.04 guest, and trying to install insight, but the
make fails with the following error:
cc1: warnings being treated as errors
linux-nat.c: In function ‘linux_nat_info_proc_cmd’:
linux-nat.c:2879:10: error: ignoring return value of ‘fgets’, declared
with attribute warn_unused_result
make[2]: *** [linux-nat.o] Error 1
make[2]: Leaving directory `/home/sandipg/insight-6.8-1/gdb'
make[1]: *** [all-gdb] Error 2
make[1]: Leaving directory `/home/sandipg/insight-6.8-1'
make: *** [all] Error 2
sandipg@sandipg-VirtualBox:~/insight-6.8-1$ make > makelog
cc1: warnings being treated as errors
linux-nat.c: In function ‘linux_nat_info_proc_cmd’:
linux-nat.c:2879:10: error: ignoring return value of ‘fgets’, declared
with attribute warn_unused_result
make[2]: *** [linux-nat.o] Error 1
make[1]: *** [all-gdb] Error 2
make: *** [all] Error 2
Would appreciate any help to get this to work.
Thanks.
--
-Sandip-