Date: Thu, 10 Jun 1999 13:45:14 -0700 (PDT) From: Tom Bartol <bartol@salk.edu> To: Charles Henrich <henrich@flnet.com> Cc: Marcel Moolenaar <marcel@scc.nl>, emulation@FreeBSD.ORG Subject: Re: Linux Development environtment Message-ID: <Pine.BSF.4.10.9906101344070.71414-100000@eccles.salk.edu> In-Reply-To: <19990610100514.C9686@orbit.flnet.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.10.9906101344070.71414-100000>
