From owner-freebsd-amd64@FreeBSD.ORG Thu Dec 2 18:37:59 2004 Return-Path: Delivered-To: freebsd-amd64@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 093D616A4CE for ; Thu, 2 Dec 2004 18:37:59 +0000 (GMT) Received: from mail.mcneil.com (mcneil.com [24.199.45.54]) by mx1.FreeBSD.org (Postfix) with ESMTP id DB36B43D2F for ; Thu, 2 Dec 2004 18:37:58 +0000 (GMT) (envelope-from sean@mcneil.com) Received: from localhost (localhost.mcneil.com [127.0.0.1]) by mail.mcneil.com (Postfix) with ESMTP id 911BFF214C; Thu, 2 Dec 2004 10:37:56 -0800 (PST) Received: from mail.mcneil.com ([127.0.0.1]) by localhost (server.mcneil.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 50023-10; Thu, 2 Dec 2004 10:37:53 -0800 (PST) Received: from mcneil.com (mcneil.com [24.199.45.54]) by mail.mcneil.com (Postfix) with ESMTP id BBFC1F1888; Thu, 2 Dec 2004 10:37:53 -0800 (PST) From: Sean McNeil To: nmeverde@np.k12.mn.us In-Reply-To: <60106.206.146.85.21.1102012445.squirrel@206.146.85.21> References: <20041202170246.3CFE7790094@ws1-14.us4.outblaze.com> <60106.206.146.85.21.1102012445.squirrel@206.146.85.21> Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-kRDZ5lvVUB/Sc9+E82eC" Date: Thu, 02 Dec 2004 10:37:53 -0800 Message-Id: <1102012673.19450.9.camel@server.mcneil.com> Mime-Version: 1.0 X-Mailer: Evolution 2.0.2 FreeBSD GNOME Team Port X-Virus-Scanned: by amavisd-new at mcneil.com cc: freebsd-amd64@freebsd.org Subject: Re: Kernel Build errors X-BeenThere: freebsd-amd64@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting FreeBSD to the AMD64 platform List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 02 Dec 2004 18:37:59 -0000 --=-kRDZ5lvVUB/Sc9+E82eC Content-Type: text/plain Content-Transfer-Encoding: quoted-printable On Thu, 2004-12-02 at 12:34 -0600, nmeverde@np.k12.mn.us wrote: > > Well, I tried to compile GENERIC kernel for my Athlon64 and result was: > > What should I do? Help plz... > > [snip] > is there a reason your building the kernel the old school way? > read /usr/src/Makefile >=20 > try this: > cd /usr/src/ > make TARGET_ARCH=3Damd64 buildkernel The old school way should still be supported. The problem, however, appears to be that you are attempting to cross compile an amd64 kernel on an i386 system. I'm guessing that the old school way doesn't support that. Originally, that is exactly what I did - cross from i386 to amd64. I think I did it the new(er) way, though, with: make TARGET_ARCH=3Damd64 buildworld make TARGET_ARCH=3Damd64 buildkernel It has been a long time since I did this and I can't recall completely how I accomplished it. You will have serious headaches if you try to install world on top of an i386 system. Do not attempt unless you know exactly what you are doing. Of course, the best thing to do is to install a fresh copy of FreeBSD from an amd64 version of 5.3. Cheers, Sean --=-kRDZ5lvVUB/Sc9+E82eC Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.6 (FreeBSD) iD8DBQBBr2EByQsGN30uGE4RAjsjAKDc9DXGmDzjoo4VIhrNM8KPTKlrjQCeMemV IBls1utXyxGt5qGQ77Ltqe4= =lCan -----END PGP SIGNATURE----- --=-kRDZ5lvVUB/Sc9+E82eC--