Re: make fails on ubuntu 11.04 VM,

sandip gangakhedkar <[email protected]>
Newsgroups gmane.comp.debugging.insight
Message-ID <CAEPsib2jtCPrqnt44jKgcnBujzs5E_HC61wNwNt_npf+XEXtyg@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-
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.