From owner-freebsd-current@FreeBSD.ORG Fri Feb 25 16:30:44 2005 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 60ECB16A4CE for ; Fri, 25 Feb 2005 16:30:44 +0000 (GMT) Received: from rproxy.gmail.com (rproxy.gmail.com [64.233.170.202]) by mx1.FreeBSD.org (Postfix) with ESMTP id B69D543D53 for ; Fri, 25 Feb 2005 16:30:43 +0000 (GMT) (envelope-from shampurj@gmail.com) Received: by rproxy.gmail.com with SMTP id j1so526991rnf for ; Fri, 25 Feb 2005 08:30:43 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:references; b=MzLB1dqV936XFMSJPFYymjyhC+xys8lXK8ocRSr5WLgcp77Z+DZyey/AhpX0yku5yWuuAl7mb2jEGKzNyHbVm64m1BPdLFrKMNuRbqT4W3zfdqFLJvrWX/3ivIAUMdVsiEP5g6OdBZ9DhV7NUWjknXw2jCPkDWGLdoYiJhmPcsM= Received: by 10.38.65.21 with SMTP id n21mr132529rna; Fri, 25 Feb 2005 08:30:42 -0800 (PST) Received: by 10.38.181.65 with HTTP; Fri, 25 Feb 2005 08:30:42 -0800 (PST) Message-ID: <6d2a982f050225083047197bc8@mail.gmail.com> Date: Fri, 25 Feb 2005 11:30:42 -0500 From: Jay Shampur To: Jay Shampur , freebsd-current@freebsd.org In-Reply-To: <20050225162401.GB13053@gargantuan.com> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit References: <6d2a982f05022507565bebcc50@mail.gmail.com> <20050225162401.GB13053@gargantuan.com> Subject: Re: Kernel compile problems X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Jay Shampur List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 25 Feb 2005 16:30:44 -0000 On Fri, 25 Feb 2005 11:24:01 -0500, Michael W. Oliver wrote: > On 2005-02-25T10:56:56-0500, Jay Shampur wrote: > > Greetings, > > > > I have a problem with recompiling my kernel. I have wiped the > > /usr/src and re-cvsupped the source after I first encountered the > > problem. Following is info that I think might help you help me :) > > > > uname -a output: > > ----------------------- > > FreeBSD webmail.domain.com 5.2.1-RELEASE FreeBSD 5.2.1-RELEASE #0: Mon > > Feb 23 20:45:55 GMT 2004 > > root@wv1u.btc.adaptec.com:/usr/obj/usr/src/sys/GENERIC i386 > > > > my cvsupfile: > > ----------------- > > *default host=cvsup5.FreeBSD.org > > *default base=/usr > > *default prefix=/usr > > *default release=cvs > > *default tag=RELENG_5_2 > > *default delete use-rel-suffix > > *default tag=. > > you have two "*default tag=" lines here, one for RELENG_5_2 and one for > HEAD. i am no expert, but i think you now have CURRENT src on your > machine, not RELENG_5_2. personally, i use a "tag=." cvsup-file for > ports and doc, and a different cvsup-file for src, depending on the > machine, that uses a relative tag line. > > > ports-all > > doc-all > > src-all > > > > Note that for default tag I tried both cvs and the RELENG_5_2 as > > values, and it made no difference. > > > > ALSO, I did not MAKE ANY CHANGES to the GENERIC file. > > > > Compile error: > > -------------------------------------------------------------- > >>>> stage 1: configuring the kernel > > -------------------------------------------------------------- > > cd /usr/src/sys/i386/conf; > > PATH=/usr/obj/usr/src/i386/legacy/usr/sbin:/usr/obj/usr/src/i386/legacy/usr/bin:/usr/obj/usr/src/i386/legacy/usr/games:/usr/obj/usr/src/i386/usr/sbin:/usr/obj/usr/src/i386/usr/bin:/usr/obj/usr/src/i386/usr/games:/sbin:/bin:/usr/sbin:/usr/bin > > config -d /usr/obj/usr/src/sys/GENERIC > > /usr/src/sys/i386/conf/GENERIC > > Kernel build directory is /usr/obj/usr/src/sys/GENERIC > > Don't forget to do a ``make depend'' > > > > -------------------------------------------------------------- > >>>> stage 2.1: cleaning up the object tree > > -------------------------------------------------------------- > > cd /usr/obj/usr/src/sys/GENERIC; MAKEOBJDIRPREFIX=/usr/obj > > MACHINE_ARCH=i386 MACHINE=i386 CPUTYPE= > > GROFF_BIN_PATH=/usr/obj/usr/src/i386/legacy/usr/bin > > GROFF_FONT_PATH=/usr/obj/usr/src/i386/legacy/usr/share/groff_font > > GROFF_TMAC_PATH=/usr/obj/usr/src/i386/legacy/usr/share/tmac > > _SHLIBDIRPREFIX=/usr/obj/usr/src/i386 INSTALL="sh > > /usr/src/tools/install.sh" > > PATH=/usr/obj/usr/src/i386/legacy/usr/sbin:/usr/obj/usr/src/i386/legacy/usr/bin:/usr/obj/usr/src/i386/legacy/usr/games:/usr/obj/usr/src/i386/usr/sbin:/usr/obj/usr/src/i386/usr/bin:/usr/obj/usr/src/i386/usr/games:/sbin:/bin:/usr/sbin:/usr/bin > > make KERNEL=kernel cleandir > > rm -f *.o *.so *.So *.ko *.s eddep errs kernel.debug kernel linterrs > > makelinks tags vers.c vnode_if.c vnode_if.h majors.c eisa_if.c > > miibus_if.c card_if.c power_if.c pci_if.c pcib_if.c ppbus_if.c > > usb_if.c isa_if.c bus_if.c cpufreq_if.c device_if.c linker_if.c > > agp_if.c acpi_if.c eisa_if.h miibus_if.h card_if.h power_if.h pci_if.h > > pcib_if.h ppbus_if.h usb_if.h isa_if.h bus_if.h cpufreq_if.h > > device_if.h linker_if.h agp_if.h acpi_if.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 usbdevs.h > > usbdevs_data.h > > cd /usr/src/sys/modules; > > MAKEOBJDIRPREFIX=/usr/obj/usr/src/sys/GENERIC/modules > > KMODDIR=/boot/kernel DEBUG_FLAGS="-g" MACHINE=i386 > > KERNBUILDDIR="/usr/obj/usr/src/sys/GENERIC" make cleandir > > +for: not found > > *** Error code 127 > > > > Stop in /usr/src/sys/modules. > > *** Error code 1 > > > > Stop in /usr/obj/usr/src/sys/GENERIC. > > *** Error code 1 > > > > Stop in /usr/src. > > *** Error code 1 > > > > Stop in /usr/src. > > ---------------- > > > > HELP !!! > > > > Thank you...Jay > > Check out what Harti says about the `make' problem in this message: > > http://lists.freebsd.org/pipermail/freebsd-current/2004-August/033693.html > Hi Mike, I looked at the message, but there is no such folder ie: /usr/obj/usr/src/rescue/rescue/rescue.mk. In the /usr/obj/src/ there is only the sys folder Thanks, Jay