Subject: Re: Linker: ok; ld.so: undefined symbol
To: None <port-amiga@netbsd.org>
From: Ignatios Souvatzis <is@beverly.kleinbus.org>
List: port-amiga
Date: 08/12/2000 16:49:39
On Sun, Jul 23, 2000 at 12:18:33AM +0200, Ingolf Koch wrote:
> 
> on NetBSD-1.5_ALPHA/amiga it is possible to successfully
> link object files with shared libraries but then get
> "undefined symbol" errors by ld.so, e.g.
> 
> % lyx
> /usr/libexec/ld.so: Undefined symbol "_glXMakeCurrent" in lyx:/usr/X11R6/lib/libforms.so.0.88
> 
> "ldd `which lyx`" does not list libGL.so. I thought that
> the _linker_ should have detected that _glXMakeCurrent is
> missing and should not have produced an executable ins this
> case. Am I wrong?

the m68k ld can't do this. if you want to know more, search old mailing
list archives, or ask on tech-toolchain... I'm no expert in this field.

Regards,
	-is