Subject: Re: Compiling problems - linker broken?
To: mjbedy <mjbedy@Oakland.edu>
From: Simon Burge <simonb@telstra.com.au>
List: port-pmax
Date: 04/06/1998 10:12:30
On Sun, 5 Apr 1998 19:34:48 -0400 (EDT)  mjbedy wrote:

>    First off, I am using the latest version (1.3.1) of NetBSD, so this
> isn't the ld.so bug of earlier. (Just installed it this weekend)
> 
>    Here's the situation: I was trying to compile Afterstep-1.4 on the
> pmax, and during the link phase for the Pager module, I am getting the
> following errors:
> 
> (typed from memory, so forgive stupid errors)
> /usr/X11R6/lib/libXpm.so ; unreferenced symbol "XUngrabServer"
> /usr/X11R6/lib/libXpm.so ; unreferenced symbol "XGetImage"
> /usr/X11R6/lib/libXpm.so ; unreferenced symbol "XFreeColor"
> /usr/X11R6/lib/libXpm.so ; unreferenced symbol "XGrabServer"
> 
>   ...and one or two more that I can't remember.

Just a hunch, but is -lXpm _after_ -lX11 (and the rest)?  Some linkers
(I don't know if pmax/ELF is one), don't grab dependencies from previous
libraries.  Ultrix's linker is in this boat.

Simon.