That blew up the same way. I suspect, from this and other threads, my source is polluted. I'm going to scrub and start from scratch. Is this current and correct?
https://wiki.netbsd.org/tutorials/how_to_build_netbsd-current/ Thanks for taking the time to babysit me. Paul On Wed, Mar 22, 2017 at 12:56 AM, Paul Goyette <[email protected]> wrote: > On Tue, 21 Mar 2017, pimin inwa wrote: > >> Don't understand where I went wrong. Can't get past this on Top of >> Tree with current. >> >> rm -fr usr.bin/ktrace/ktrace usr.bin/man/man >> usr.sbin/mrouted/mrouted usr.sbin/racoon/racoon >> >> cvs update -Pd >> >> ./build.sh -U -u -o -O BUILD_OBJ -T BUILD_TOOL kernel=GEMINI >> release |tee /var/build.log >> >> >> # create dhcpcd/if-options.d >> CC=/usr/src/BUILD_TOOL/bin/i486--netbsdelf-gcc >> /usr/src/BUILD_TOOL/bin/nbmkdep -f if- options.d.tmp -- >> -std=gnu99 --sysroot=/usr/src/BUILD_OBJ/destdir.i386 -DHAVE_CONFIG_H >> -D_OPENBSD_SOURCE -DSMALL -DINET -DINET6 -DDHCP6 >> -I/usr/src/external/bsd/dhcpcd/dist >> -I/usr/src/distrib/i386/ramdisks/ramdisk-big/dhcpcd >> -D_FORTIFY_SOURCE=2 /usr/src/external/bsd/dhcpcd/dist/if-options.c >> && mv if-options.d.tmp if-options.d >> /usr/src/external/bsd/dhcpcd/dist/if-options.c:54:29: fatal error: >> dhcpcd-embedded.h: No such file or directory >> compilation terminated. >> nbmkdep: compile failed. >> *** Failed target: if-options.d >> *** Failed command: CC=/usr/src/BUILD_TOOL/bin/i486--netbsdelf-gcc >> /usr/src/BUILD_TOOL/bin/nbmkdep -f if-options.d.tmp -- -std=gnu99 >> --sysroot=/usr/src/BUILD_OBJ/destdir.i386 -DHAVE_CONFIG_H >> -D_OPENBSD_SOURCE -DSMALL -DINET -DINET6 -DDHCP6 >> -I/usr/src/external/bsd/dhcpcd/dist >> -I/usr/src/distrib/i386/ramdisks/ramdisk-big/dhcpcd >> -D_FORTIFY_SOURCE=2 /usr/src/external/bsd/dhcpcd/dist/if-options.c && >> mv if-options.d.tmp if-options.d >> *** Error code 1 >> Stop. >> >> I think the file is around, perhaps not in the right place? >> >> # find / -name dhcpcd-embedded.h -print >> >> /usr/src/external/bsd/dhcpcd/sbin/dhcpcd/dhcpcd-embedded.h > > > Perhaps there is a stale if-options.d file with old contents, which can > cause this sort of problem. You can try to remove the .d file. > > Given all the troubles you've had recently, you might want to do a full > build, rather than an update build (remove the -u from command line). > > > +------------------+--------------------------+------------------------+ > | Paul Goyette | PGP Key fingerprint: | E-mail addresses: | > | (Retired) | FA29 0E3B 35AF E8AE 6651 | paul at whooppee.com | > | Kernel Developer | 0786 F758 55DE 53BA 7731 | pgoyette at netbsd.org | > +------------------+--------------------------+------------------------+
