Subject: Re: Compiling problems - linker broken?
To: Simon Burge <simonb@telstra.com.au>
From: mjbedy <mjbedy@Oakland.edu>
List: port-pmax
Date: 04/05/1998 20:32:43
Not sure - I'll try it when I get home tonight and let you know.
Thanks for the answer,
-Mike
On Mon, 6 Apr 1998, Simon Burge wrote:
> 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.
>