Subject: Re: FreeBSD 5.0 (again), undefined reference to mkstemps()
To: None <current-users@netbsd.org>
From: Aron Stansvik <elvstone@home.se>
List: current-users
Date: 10/30/2003 22:22:42
On Thu, Oct 30, 2003 at 09:39:12AM -0500, Brian A. Seklecki wrote:
> On Tue, 2003-10-28 at 18:47, Aron Stansvik wrote:
> > Hey, me again. Thanks for the quick fix last time. Now I have another
> > problem.
> > 
> > My build fails at when linking the "cpp" target, saying:
> > 
> > /usr/home/elvis/misc/netbsd/src/gnu/usr.bin/gcc3/libiberty/obj/libiberty.a(make-temp-file.o):
> 
> 
> Most of the time, when an object/symbol is missing on a foriegn build,
> you can get around it by pulling in $OBJDIR/lib/libc/mkstemps.o into the
> directory that is failing and then re-running the command with that .o
> file as an additional argument.
> 
> This helped me get around the strlcpy problem with bin/sh/* on Linux
> (which lacks)

Oh, ok, I'll try that then. Now I'm building on Linux because I didn't
find a sollution to it, but it's good knowing anyway. Thanks.

Sincerely,
Aron Stansvik

--
unemployed