Subject: Undefined PLT symbols, was Re: help on porting...
To: Martin Weber <Ephaeton@gmx.net>
From: Frederick Bruckman <fredb@immanent.net>
List: tech-pkg
Date: 06/10/2002 17:09:54
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