From owner-freebsd-emulation Thu Jun 10 13:45:34 1999 Delivered-To: freebsd-emulation@freebsd.org Received: from helmholtz.salk.edu (helmholtz.salk.edu [198.202.70.34]) by hub.freebsd.org (Postfix) with ESMTP id 333C315576 for ; Thu, 10 Jun 1999 13:45:21 -0700 (PDT) (envelope-from bartol@salk.edu) Received: from eccles.salk.edu (eccles [198.202.70.120]) by helmholtz.salk.edu (8.7.5/8.7.3) with ESMTP id NAA29785; Thu, 10 Jun 1999 13:45:13 -0700 (PDT) Date: Thu, 10 Jun 1999 13:45:14 -0700 (PDT) From: Tom Bartol To: Charles Henrich Cc: Marcel Moolenaar , emulation@FreeBSD.ORG Subject: Re: Linux Development environtment In-Reply-To: <19990610100514.C9686@orbit.flnet.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-emulation@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On Thu, 10 Jun 1999, Charles Henrich wrote: > 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 O.K. got it! Thanks! Works like a champ for me now too! Tom To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-emulation" in the body of the message