Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 18 Dec 1998 07:59:38 +1100 (EST)
From:      John Birrell  <jb@cimlogic.com.au>
To:        bright@hotjobs.com (Alfred Perlstein)
Cc:        root@isis.dynip.com, osiris2002@yahoo.com, freebsd-current@FreeBSD.ORG
Subject:   Re: FreeBSD 3.0 RELEASE, or CURRENT that can compile NEEDED URGENLY
Message-ID:  <199812172059.HAA19912@cimlogic.com.au>
In-Reply-To: <Pine.BSF.4.05.9812171205410.378-100000@bright.fx.genx.net> from Alfred Perlstein at "Dec 17, 98 12:20:59 pm"

next in thread | previous in thread | raw e-mail | index | archive | help
Alfred, I have a few problems with your advice to someone who shouldn't
be building from source on a single machine with a poor net connection.

Alfred Perlstein wrote:
[ build advice ]
> rm -rf /usr/obj

rm -rf /usr/obj/*

> chflags -noschg /usr/obj

chflags -R noschg /usr/obj

> rm -rf /usr/obj

rm -rf /usr/obj/*

> echo OBJFORMAT=elf > /etc/objformat

Don't do that. If a 3.0-RELEASE system has been installed, it will
default to ELF.

> cd /usr/src
> make includes

Don't do that. Installing include files without the corresponding
libraries is what causes undefined references to __error. The make
world procedure handles that correctly.

> make clean

Not necessary if you've rm'd /usr/obj/*.

> make aout-to-elf

Do this with a clean /etc/make.conf.

-- 
John Birrell - jb@cimlogic.com.au; jb@freebsd.org http://www.cimlogic.com.au/
CIMlogic Pty Ltd, GPO Box 117A, Melbourne Vic 3001, Australia +61 418 353 137

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message



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