Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 10 Jun 1999 10:05:14 -0700
From:      Charles Henrich <henrich@flnet.com>
To:        Tom Bartol <bartol@salk.edu>
Cc:        Marcel Moolenaar <marcel@scc.nl>, emulation@FreeBSD.ORG
Subject:   Re: Linux Development environtment
Message-ID:  <19990610100514.C9686@orbit.flnet.com>
In-Reply-To: <Pine.BSF.4.10.9906100954450.62549-100000@eccles.salk.edu>; from Tom Bartol on Thu, Jun 10, 1999 at 10:01:35AM -0700
References:  <19990610091221.B8851@orbit.flnet.com> <Pine.BSF.4.10.9906100954450.62549-100000@eccles.salk.edu>

next in thread | previous in thread | raw e-mail | index | archive | help
On the subject of Re: Linux Development environtment, Tom Bartol stated:

> 
> Hmmm... could you be more explicit about exactly what you did to get this
> working.  I've got linux_lib-2.6 and linux_devel-0.2 on a 3.2-STABLE
> system.  In the link step after compiling I get things like:
> 
> /usr/lib/crt1.o: In function `_start':
> /usr/lib/crt1.o(.text+0x35): undefined reference to `__fpu_control'
> /usr/lib/crt1.o(.text+0x3b): undefined reference to `__setfpucw'
> /usr/lib/crt1.o(.text+0x43): undefined reference to `__libc_init'
> 
> and
> 
> /usr/lib/libc.so: undefined reference to `__progname'
> 
> I get this from a freebsd /bin/sh shell or a /compat/linux/bin/sh shell.
> 
> Any assistance would be most appreciated.

I deleted the links /compat/linux/usr/lib/libc.so  and
/compat/linux/usr/lib/libm.so and relinked them as 
ln -s ../../lib/libc.so.5.4.23 and libm.so.5.0.8

I ran in a FreeBSD shell with /compat/linux/bin and /compat/linux/usr/bin in
my path first.

I had no LD_LIBRARY_PATHs set.

And it worked like a charm to compile all sorts of nasty linux stuff
(compiledl inuex to link with linux commercial libraries).

       Charles Henrich       Manex Visual Effects       henrich@flnet.com

                       http://orbit.flnet.com/~henrich


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




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