Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 02 Dec 2004 10:37:53 -0800
From:      Sean McNeil <sean@mcneil.com>
To:        nmeverde@np.k12.mn.us
Cc:        freebsd-amd64@freebsd.org
Subject:   Re: Kernel Build errors
Message-ID:  <1102012673.19450.9.camel@server.mcneil.com>
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>

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

--=-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--



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