On Sun, Dec 6, 2009 at 12:43 AM, James Hartley <[email protected]> wrote: > On Sun, Dec 6, 2009 at 12:19 AM, Philip Guenther <[email protected]> wrote: >> And that describes using -nostdinc and -idirafter where? > > I had not altered any Makefile or added any options.
Well, I'll leave it to you to figure out where the -nostdinc and -idirafter options are coming from, as they are not normally present in a build of sbin/route. ===> sbin/route cc -O2 -pipe -g -c /usr/src/sbin/route/route.c cc -O2 -pipe -g -c /usr/src/sbin/route/show.c cc -g -static -o route route.o show.o nroff -Tascii -mandoc /usr/src/sbin/route/route.8 > route.cat8 ... > Section 5.3.2 gave me the impression that -current systems could be brought > up to date simply by updating source followed by building. From what you > are saying, this was incorrect. I should always do a binary upgrade to the > latest snapshot first. I was not aware of this. Thanks for the > clarification. Updating to a snapshot and rebuilding after that is the only "always works" method, but it's not _usually_ required and was not required for this change. It didn't work for you because your build used non-standard compiler options and a non-empty DESTDIR during the build stage. Philip Guenther

