thanks for the advice, bruce! in the end, i ran: $ sed -i 's@\-Werror@@' src/Makefile
it works perfectly! On Apr 26, 2013 7:49 PM, "Bruce Dubbs" <[email protected]> wrote: > Kenno Han wrote: > > I'm trying to build nm-0.9.8 using my LFS-7.0 with all the deps > installed. > > I got this error message: > > > > nm-system.c:1689:21: error: declaration of 'link' shadows a global > > declaration [-Werror=shadow] > > cc1: all warnings being treated as errors > > One way around this type of thing in general is to > 'make V=1' and then take the failing command, usually several lines, and > copy it to the command line, adding or removing options as needed. > > For instance, you could add '-Werror=no-shadow' to the end of the line. > After nm-system.c is compiled, run make as before. Since nm-system.o is > built, the make should continue. > > Other options would be to edit the Makefile. > > These are just general suggestions. I don't use NetworkManager. Armin > may have some other ideas. > > > -- Bruce > -- > http://linuxfromscratch.org/mailman/listinfo/blfs-support > FAQ: http://www.linuxfromscratch.org/blfs/faq.html > Unsubscribe: See the above information page >
-- http://linuxfromscratch.org/mailman/listinfo/blfs-support FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page
