Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 25 Feb 2005 11:24:01 -0500
From:      "Michael W. Oliver" <michael@gargantuan.com>
To:        Jay Shampur <shampurj@gmail.com>
Cc:        freebsd-current@freebsd.org
Subject:   Re: Kernel compile problems
Message-ID:  <20050225162401.GB13053@gargantuan.com>
In-Reply-To: <6d2a982f05022507565bebcc50@mail.gmail.com>
References:  <6d2a982f05022507565bebcc50@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help

--Fba/0zbH8Xs+Fj9o
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On 2005-02-25T10:56:56-0500, Jay Shampur wrote:
> Greetings,
>=20
> 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 :)
>=20
> 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   =20
> root@wv1u.btc.adaptec.com:/usr/obj/usr/src/sys/GENERIC  i386
>=20
> my cvsupfile:
> -----------------
> *default  host=3Dcvsup5.FreeBSD.org
> *default  base=3D/usr
> *default  prefix=3D/usr
> *default  release=3Dcvs
> *default  tag=3DRELENG_5_2
> *default  delete use-rel-suffix
> *default tag=3D.

you have two "*default tag=3D" 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=3D." 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
>=20
> Note that for default tag I tried both cvs and the RELENG_5_2 as
> values, and it made no difference.
>=20
> ALSO, I did not MAKE ANY CHANGES to the GENERIC file.
>=20
> Compile error:
> --------------------------------------------------------------
>>>> stage 1: configuring the kernel
> --------------------------------------------------------------
> cd /usr/src/sys/i386/conf;=20
> PATH=3D/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/s=
bin:/usr/obj/usr/src/i386/usr/bin:/usr/obj/usr/src/i386/usr/games:/sbin:/bi=
n:/usr/sbin:/usr/bin
> config  -d /usr/obj/usr/src/sys/GENERIC=20
> /usr/src/sys/i386/conf/GENERIC
> Kernel build directory is /usr/obj/usr/src/sys/GENERIC
> Don't forget to do a ``make depend''
>=20
> --------------------------------------------------------------
>>>> stage 2.1: cleaning up the object tree
> --------------------------------------------------------------
> cd /usr/obj/usr/src/sys/GENERIC;  MAKEOBJDIRPREFIX=3D/usr/obj=20
> MACHINE_ARCH=3Di386  MACHINE=3Di386  CPUTYPE=3D=20
> GROFF_BIN_PATH=3D/usr/obj/usr/src/i386/legacy/usr/bin=20
> GROFF_FONT_PATH=3D/usr/obj/usr/src/i386/legacy/usr/share/groff_font=20
> GROFF_TMAC_PATH=3D/usr/obj/usr/src/i386/legacy/usr/share/tmac=20
> _SHLIBDIRPREFIX=3D/usr/obj/usr/src/i386  INSTALL=3D"sh
> /usr/src/tools/install.sh"=20
> PATH=3D/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/s=
bin:/usr/obj/usr/src/i386/usr/bin:/usr/obj/usr/src/i386/usr/games:/sbin:/bi=
n:/usr/sbin:/usr/bin
> make KERNEL=3Dkernel 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=3D/usr/obj/usr/src/sys/GENERIC/modules
> KMODDIR=3D/boot/kernel DEBUG_FLAGS=3D"-g" MACHINE=3Di386
> KERNBUILDDIR=3D"/usr/obj/usr/src/sys/GENERIC" make  cleandir
> +for: not found
> *** Error code 127
>=20
> Stop in /usr/src/sys/modules.
> *** Error code 1
>=20
> Stop in /usr/obj/usr/src/sys/GENERIC.
> *** Error code 1
>=20
> Stop in /usr/src.
> *** Error code 1
>=20
> Stop in /usr/src.
> ----------------
>=20
> HELP !!!
>=20
> 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

--=20
Mike Oliver
[see complete headers for contact information]

--Fba/0zbH8Xs+Fj9o
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (FreeBSD)

iD8DBQFCH1EhsWv7q8X6o8kRAgmmAJ9+kxk4K4INX+QVZz5YmNcE4Ms5nwCfWD6K
wDitDG8rJsB8U6AYWYEnWgk=
=/d2a
-----END PGP SIGNATURE-----

--Fba/0zbH8Xs+Fj9o--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050225162401.GB13053>