Subject: Re: Undefined PLT symbols, was Re: help on porting...
To: <>
From: None <mcmahill@mtl.mit.edu>
List: tech-pkg
Date: 06/10/2002 20:21:42
is this on ppc by any chance?  I get that when code wasn't compiled with
-fPIC for a shared lib on ppc.

-dan


On Mon, 10 Jun 2002, Frederick Bruckman wrote:

> On Mon, 10 Jun 2002, Martin Weber wrote:
> 
> > On Mon, Jun 10, 2002 at 06:30:53PM +0200, Joel CARNAT wrote:
> > > Hi,
> > >
> > > 	I'm trying to get GKrellm volume's plugin work on NetBSD...
> > > 	I've succeeded compiling it !
> > > 	But on loading, I get:
> > > ==========
> > > /usr/local/lib/gkrellm/plugins/volume.so
> > > 	Error: /usr/local/lib/gkrellm/plugins/volume.so: Undefined PLT symbol
> > > "_oss_ioctl" (reloc type = 7, symnum = 88)
> >
> > Welcome to NetBSD and its ELF implementation :)
> 
> I'm getting similar errors from "javac" in the java test suite with
> kaffe 1.0.7, except they're not attributable to missing run-time
> paths:
> 
> error compiling:
> /usr/lib/libc.so.12: Undefined PLT symbol "strcat" (reloc type = 7, symnum = 530)
> FAIL: LostFrame.java
> 
> error compiling:
> /usr/lib/libc.so.12: Undefined PLT symbol "_isatty" (reloc type = 7, symnum = 1771)
> FAIL: SystemLoaderTest.java
> 
> It's not even the same tests every time! Anybody have any idea what
> could be going on here?
> 
> Frederick
>