From owner-freebsd-questions@FreeBSD.ORG Wed May 26 06:30:41 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 08FA01065670 for ; Wed, 26 May 2010 06:30:40 +0000 (UTC) (envelope-from pcc@gmx.net) Received: from mail.gmx.net (mail.gmx.net [213.165.64.20]) by mx1.freebsd.org (Postfix) with SMTP id 41A2B8FC08 for ; Wed, 26 May 2010 06:30:39 +0000 (UTC) Received: (qmail 711 invoked by uid 0); 26 May 2010 06:30:38 -0000 Received: from 84.163.247.191 by www157.gmx.net with HTTP; Wed, 26 May 2010 08:30:37 +0200 (CEST) Content-Type: text/plain; charset="utf-8" Date: Wed, 26 May 2010 08:30:37 +0200 From: "Peter Cornelius" In-Reply-To: <44wrurit4c.fsf@be-well.ilk.org> Message-ID: <20100526063037.143510@gmx.net> MIME-Version: 1.0 References: <20100525150012.217220@gmx.net> <20100525153757.217220@gmx.net> <20100525204050.217200@gmx.net> <44wrurit4c.fsf@be-well.ilk.org> To: freebsd-questions@freebsd.org X-Authenticated: #491680 X-Flags: 0001 X-Mailer: WWW-Mail 6100 (Global Message Exchange) X-Priority: 5 X-Provags-ID: V01U2FsdGVkX18aIPFCEH0aRG5A1tnIvgs/m7cXWr6cm9b1WMV3sx ls126wZ4cfqGNit6+xp8STTHT0x3fzWoZ47g== Content-Transfer-Encoding: 8bit X-GMX-UID: QrWdL2ZZa0A7QcHvcjEz1Zg/Njh6dA6s X-FuHaFi: 0.42999999999999999 Subject: Re: kernel build fails - ".depend", line 27905: Need an operator X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 26 May 2010 06:30:41 -0000 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