Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 21 Feb 2002 09:55:18 -0800 (PST)
From:      David Wolfskill <david@catwhisker.org>
To:        eculp@casa-205.mexcomusa.net, eculp@encontacto.net
Cc:        current@FreeBSD.ORG, obrien@FreeBSD.ORG
Subject:   Re: compile errors after yesterdays cvsup and makeworld.
Message-ID:  <200202211755.g1LHtIm73084@bunrab.catwhisker.org>
In-Reply-To: <1014313690.3c7532da5a5d2@Mail.MexComUSA.Net>

next in thread | previous in thread | raw e-mail | index | archive | help
>Date: Thu, 21 Feb 2002 09:48:10 -0800
>From: eculp@casa-205.mexcomusa.net

>I sure missed something, I'm sorry.  I still have the problem with
>buildworld.  What should I do to fix it?  

># /usr/bin/cc -print-search-dirs
>install: /usr/libexec/(null)
>programs: /usr/libexec/elf/
>libraries: /usr/lib/

Well, you need to do something so the installed cc actually works.

What worked for me was to do the following just before starting the
"make buildworld"":

* cd /usr/libexec/elf
* ln -s ../cc* ../cpp* .

Then go through the usual "make buildworld" & friends.

After the "make installworld" is done (I actually did this after
"mergemaster"):

* cd /usr/libexec/elf
* rm cc* cpp*

Following the reboot, I created a "hello.c" in /tmp, typed "make", and
was mildly gratified to see that it not only compiled without complaint,
it even ran properly.  :-}

Cheers,
david       (links to my resume at http://www.catwhisker.org/~david)
-- 
David H. Wolfskill				david@catwhisker.org
I believe it would be irresponsible (and thus, unethical) for me to advise,
recommend, or support the use of any product that is or depends on any
Microsoft product for any purpose other than personal amusement.

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?200202211755.g1LHtIm73084>