From owner-freebsd-emulation Mon Jun 14 3:50: 9 1999 Delivered-To: freebsd-emulation@freebsd.org Received: from gaia.euronet.nl (gaia.euronet.nl [194.134.0.10]) by hub.freebsd.org (Postfix) with ESMTP id A4D9B14E7A for ; Mon, 14 Jun 1999 03:50:06 -0700 (PDT) (envelope-from marcel@scc.nl) Received: from scones.sup.scc.nl (i142.ztm.euronet.nl [194.134.112.103]) by gaia.euronet.nl (8.8.8/8.8.8) with ESMTP id MAA22460; Mon, 14 Jun 1999 12:50:04 +0200 (MET DST) Received: from scc.nl (scones.sup.scc.nl [192.168.2.4]) by scones.sup.scc.nl (8.9.3/8.9.3) with ESMTP id MAA02656; Mon, 14 Jun 1999 12:49:59 +0200 (CEST) (envelope-from marcel@scc.nl) Message-ID: <3764DE57.59F77437@scc.nl> Date: Mon, 14 Jun 1999 12:49:59 +0200 From: Marcel Moolenaar Organization: SCC vof X-Mailer: Mozilla 4.6 [en] (X11; I; FreeBSD 4.0-CURRENT i386) X-Accept-Language: en MIME-Version: 1.0 To: Ilia Chipitsine Cc: emulation@FreeBSD.ORG Subject: Re: linux emulation References: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-emulation@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Ilia Chipitsine wrote: > > On Mon, 14 Jun 1999, Marcel Moolenaar wrote: > > > Ilia Chipitsine wrote: > > > > > /home/ilia/fortran-cd/vast/vhpf_linux/lib//libvhpf_pvm.a(envnproc.o): In > > > function `envnproc_': > > > envnproc.o(.text+0xe2): undefined reference to `__ctype_b' > > > collect2: ld returned 1 exit status > > > > ld probably loads a FreeBSD library instead of the Linux version. There're > > a couple of reasons for this: > > 1) You don't have the Linux library on your system, > > 2) You have the library on your system, but the FreeBSD version is found > > first, > > 3) You have the library on your system, but the linker does not find it. > > > > You may also check for version mismatches. > > which library that function could be in ? > i can just add that library as 'hpf libthat_library.a' In libc for example. You don't need to add that library, it's probably included by default: scones% objdump --all-headers /compat/linux/lib/libc.so.6 | grep __ctype_b 00092004 g O .data 00000004 __ctype_b -- Marcel Moolenaar mailto:marcel@scc.nl SCC Internetworking & Databases http://www.scc.nl/ Amsterdam, The Netherlands tel: +31 20 4200655 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-emulation" in the body of the message