Date: Thu, 10 Jun 1999 10:01:35 -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.9906100954450.62549-100000@eccles.salk.edu> In-Reply-To: <19990610091221.B8851@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, Marcel Moolenaar stated: > > > Charles Henrich wrote: > > > > > How exactly does one use the linux-devel port? > > > > Very carefully :-) > > > > > The compilers and linkers insist on referencing the FreeBSD libraries... > > > > That is a common problem. Try running them from a Linux shell. Another > > problem can be that some Linux libraries do not exist and the FreeBSD > > equivalents do. In that case, installing the Linux versions, may solve the > > problem. > > > > (I assumed you meant linux_devel from the ports collection) > > Yep... It actually turned out to be a problem in the port... there were to > libraries that were softlinked to each other (I believe libc and crt1).. the > links were done with direct references instead of relative... I relinked them > so that it referenced the correct library in /compat/linux instead of /usr/lib > and running the compiler out of the box (more or less) worked like a champ./ > > -Crh > > Charles Henrich Manex Visual Effects henrich@flnet.com > > http://orbit.flnet.com/~henrich 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. 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.9906100954450.62549-100000>