Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 14 Jun 1999 12:49:59 +0200
From:      Marcel Moolenaar <marcel@scc.nl>
To:        Ilia Chipitsine <ilia@cgilh.chel.su>
Cc:        emulation@FreeBSD.ORG
Subject:   Re: linux emulation
Message-ID:  <3764DE57.59F77437@scc.nl>
References:  <Pine.BSF.4.05.9906141451100.324-100000@localhost.cgu.chel.su>

next in thread | previous in thread | raw e-mail | index | archive | help
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 <blah-blah> libthat_library.a'

In libc for example. You don't need to add that library, it's probably
included by default:

<VERBATIM>
scones% objdump --all-headers /compat/linux/lib/libc.so.6 | grep __ctype_b
00092004 g     O .data  00000004 __ctype_b
</VERBATIM>

-- 
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3764DE57.59F77437>