Date: Wed, 26 May 2010 08:30:37 +0200 From: "Peter Cornelius" <pcc@gmx.net> To: freebsd-questions@freebsd.org Subject: Re: kernel build fails - ".depend", line 27905: Need an operator Message-ID: <20100526063037.143510@gmx.net> In-Reply-To: <44wrurit4c.fsf@be-well.ilk.org> References: <20100525150012.217220@gmx.net> <AANLkTimlJSqhLg-8UHWOWS6oCVsQ_QCssFAzKjz9es4k@mail.gmail.com> <20100525153757.217220@gmx.net> <20100525204050.217200@gmx.net> <44wrurit4c.fsf@be-well.ilk.org>
next in thread | previous in thread | raw e-mail | index | archive | help
Re... > Can you build GENERIC? Yes. However. I just diff'ed against GENERIC, switched any option on/off that was different to GENERIC, without any change. Finally, [root@netserv /usr/src/sys/i386/conf]# mv NETSERV NETSERV.bakk [root@netserv /usr/src/sys/i386/conf]# cp -p GENERIC NETSERV [root@netserv /usr/src/sys/i386/conf]# ( cd /usr/src/ && make kernel KERNCONF=NETSERV ) -------------------------------------------------------------- >>> Kernel build for NETSERV started on Wed May 26 06:19:45 UTC 2010 -------------------------------------------------------------- ===> NETSERV mkdir -p /usr/obj/usr/Src-RELENG_8/sys -------------------------------------------------------------- >>> stage 1: configuring the kernel -------------------------------------------------------------- cd /usr/Src-RELENG_8/sys/i386/conf; PATH=/usr/obj/usr/Src-RELENG_8/tmp/legacy/usr/sbin:/usr/obj/usr/Src-RELENG_8/tmp/legacy/usr/bin:/usr/obj/usr/Src-RELENG_8/tmp/legacy/usr/games:/usr/obj/usr/Src-RELENG_8/tmp/usr/sbin:/usr/obj/usr/Src-RELENG_8/tmp/usr/bin:/usr/obj/usr/Src-RELENG_8/tmp/usr/games:/sbin:/bin:/usr/sbin:/usr/bin config -d /usr/obj/usr/Src-RELENG_8/sys/NETSERV /usr/Src-RELENG_8/sys/i386/conf/NETSERV Kernel build directory is /usr/obj/usr/Src-RELENG_8/sys/NETSERV Don't forget to do ``make cleandepend && make depend'' -------------------------------------------------------------- >>> stage 2.1: cleaning up the object tree -------------------------------------------------------------- cd /usr/obj/usr/Src-RELENG_8/sys/NETSERV; MAKEOBJDIRPREFIX=/usr/obj MACHINE_ARCH=i386 MACHINE=i386 CPUTYPE= GROFF_BIN_PATH=/usr/obj/usr/Src-RELENG_8/tmp/legacy/usr/bin GROFF_FONT_PATH=/usr/obj/usr/Src-RELENG_8/tmp/legacy/usr/share/groff_font GROFF_TMAC_PATH=/usr/obj/usr/Src-RELENG_8/tmp/legacy/usr/share/tmac _SHLIBDIRPREFIX=/usr/obj/usr/Src-RELENG_8/tmp VERSION="FreeBSD 8.0-STABLE i386 800505" INSTALL="sh /usr/Src-RELENG_8/tools/install.sh" PATH=/usr/obj/usr/Src-RELENG_8/tmp/legacy/usr/sbin:/usr/obj/usr/Src-RELENG_8/tmp/legacy/usr/bin:/usr/obj/usr/Src-RELENG_8/tmp/legacy/usr/games:/usr/obj/usr/Src-RELENG_8/tmp/usr/sbin:/usr/obj/usr/Src-RELENG_8/tmp/usr/bin:/usr/obj/usr/Src-RELENG_8/tmp/usr/games:/sbin:/bin:/usr/sbin:/usr/bin NO_CTF=1 make KERNEL=kernel cleandir ".depend", line 27905: Need an operator make: fatal errors encountered -- cannot continue *** Error code 1 Stop in /usr/Src-RELENG_8. *** Error code 1 Stop in /usr/Src-RELENG_8. I just built from that KERNCONF !!! as long as it was named GENERIC, all was fine! Now, that's time for the big bat, then. [root@netserv /usr/src/sys/i386/conf]# rm -rf /usr/obj/usr/Src-RELENG_8 And all of a sudden, life seems well again, see below. I now will build world & kernel and hope that it'll come out fine. So thanks to all who wasted their time with me, All the best regards, Peter. --- [root@netserv /usr/src/sys/i386/conf]# mv NETSERV.bakk NETSERV [root@netserv /usr/src/sys/i386/conf]# ( cd /usr/src/ && make kernel KERNCONF=NETSERV ) -------------------------------------------------------------- >>> Kernel build for NETSERV started on Wed May 26 06:26:40 UTC 2010 -------------------------------------------------------------- ===> NETSERV mkdir -p /usr/obj/usr/Src-RELENG_8/sys -------------------------------------------------------------- >>> stage 1: configuring the kernel -------------------------------------------------------------- cd /usr/Src-RELENG_8/sys/i386/conf; PATH=/usr/obj/usr/Src-RELENG_8/tmp/legacy/usr/sbin:/usr/obj/usr/Src-RELENG_8/tmp/legacy/usr/bin:/usr/obj/usr/Src-RELENG_8/tmp/legacy/usr/games:/usr/obj/usr/Src-RELENG_8/tmp/usr/sbin:/usr/obj/usr/Src-RELENG_8/tmp/usr/bin:/usr/obj/usr/Src-RELENG_8/tmp/usr/games:/sbin:/bin:/usr/sbin:/usr/bin config -d /usr/obj/usr/Src-RELENG_8/sys/NETSERV /usr/Src-RELENG_8/sys/i386/conf/NETSERV Kernel build directory is /usr/obj/usr/Src-RELENG_8/sys/NETSERV Don't forget to do ``make cleandepend && make depend'' -------------------------------------------------------------- >>> stage 2.1: cleaning up the object tree -------------------------------------------------------------- cd /usr/obj/usr/Src-RELENG_8/sys/NETSERV; MAKEOBJDIRPREFIX=/usr/obj MACHINE_ARCH=i386 MACHINE=i386 CPUTYPE= GROFF_BIN_PATH=/usr/obj/usr/Src-RELENG_8/tmp/legacy/usr/bin GROFF_FONT_PATH=/usr/obj/usr/Src-RELENG_8/tmp/legacy/usr/share/groff_font GROFF_TMAC_PATH=/usr/obj/usr/Src-RELENG_8/tmp/legacy/usr/share/tmac _SHLIBDIRPREFIX=/usr/obj/usr/Src-RELENG_8/tmp VERSION="FreeBSD 8.0-STABLE i386 800505" INSTALL="sh /usr/Src-RELENG_8/tools/install.sh" PATH=/usr/obj/usr/Src-RELENG_8/tmp/legacy/usr/sbin:/usr/obj/usr/Src-RELENG_8/tmp/legacy/usr/bin:/usr/obj/usr/Src-RELENG_8/tmp/legacy/usr/games:/usr/obj/usr/Src-RELENG_8/tmp/usr/sbin:/usr/obj/usr/Src-RELENG_8/tmp/usr/bin:/usr/obj/usr/Src-RELENG_8/tmp/usr/games:/sbin:/bin:/usr/sbin:/usr/bin NO_CTF=1 make KERNEL=kernel cleandir rm -f *.o *.so *.So *.ko *.s eddep errs kernel.debug kernel kernel.symbols linterrs makelinks tags vers.c vnode_if.c vnode_if.h vnode_if_newproto.h vnode_if_typedef.h agp_if.c ata_if.c eisa_if.c miibus_if.c mmcbr_if.c mmcbus_if.c card_if.c power_if.c pci_if.c pcib_if.c ppbus_if.c uart_if.c usb_if.c g_part_if.c isa_if.c bus_if.c clock_if.c cpufreq_if.c device_if.c linker_if.c serdev_if.c acpi_if.c acpi_wmi_if.c agp_if.h ata_if.h eisa_if.h miibus_if.h mmcbr_if.h mmcbus_if.h card_if.h power_if.h pci_if.h pcib_if.h ppbus_if.h uart_if.h usb_if.h g_part_if.h isa_if.h bus_if.h clock_if.h cpufreq_if.h device_if.h linker_if.h serdev_if.h acpi_if.h acpi_wmi_if.h acpi_quirks.h aicasm* y.tab.h aic7xxx_seq.h aic7xxx_reg.h aic7xxx_reg_print.c aic79xx_seq.h aic79xx_reg.h aic79xx_reg_print.c miidevs.h pccarddevs.h teken_state.h usbdevs.h usbdevs_data.h acpi_wakecode.h acpi_wakecode.o acpi_wakecode.bin rm -f .depend machine cd /usr/Src-RELENG_8/sys/modules; MAKEOBJDIRPREFIX=/usr/Obj-RELENG_8/usr/Src-RELENG_8/sys/NETSERV/modules KMODDIR=/boot/kernel DEBUG_FLAGS="-g" MACHINE=i386 KERNBUILDDIR="/usr/Obj-RELENG_8/usr/Src-RELENG_8/sys/NETSERV" SYSDIR="/usr/Src-RELENG_8/sys" make cleandir (...) -- GRATIS für alle GMX-Mitglieder: Die maxdome Movie-FLAT! Jetzt freischalten unter http://portal.gmx.net/de/go/maxdome01
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20100526063037.143510>