Subject: Re: ultra5 & Xwindows
To: Michael <macallan18@earthlink.net>
From: Amadeus Stevenson <amadeus.stevenson@gmail.com>
List: port-sparc64
Date: 05/02/2005 01:34:39
On 5/2/05, Michael <macallan18@earthlink.net> wrote:
>=20
> > configure:2520: checking for XOpenDisplay in -lX11
> > configure:2539: cc -o conftest -O2 -I/usr/pkg/include -I/usr/include
> > -I/usr/X11R6/include -I/usr/pkg/include -I/usr/include -L/usr/pkg/lib
> > -L/usr/lib -Wl,-R/usr/lib -Wl,-R/usr/pkg/lib -L/usr/X11R6/lib
> > -Wl,-R/usr/X11R6/lib -lintl  -L/usr/X11R6/lib  conftest.c -lX11
> > -lintl  -L/usr/X11R6/lib 1>&5 > ld: cannot find -lX11
>=20
> > The "ld: cannot find -lX11" seems to be ominous; but I'm too ignorant
> > to know what to do to fix this!
>=20
> Umm, that sounds odd. Do you /have/ a libX11.so in /usr/X11R6/lib?
> There should be libX11.so.6.2, libX11.so.6 and libX11.so with the latter
> two being symlinks to the former. If one of the symlinks is missing
> just add it and try again.

in /usr/X11R6/lib:

lrwxr-xr-x  1 root  wheel       11 Dec 31 12:16 libX11.so -> libX11.so.6
lrwxr-xr-x  1 root  wheel       13 Dec 31 12:16 libX11.so.6 -> libX11.so.6.=
2
-rwxr-xr-x  1 root  wheel  1044826 Dec 31 12:16 libX11.so.6.2

I don't think this counts as a "hack" but I commented out any
reference to XOpenWindows in the work/*/configure and the thing
started compiling until:

c++  -O2 -I/usr/pkg/include -I/usr/include  -I/usr/X11R6/include -Wall
-W -pedantic -L/usr/pkg/lib -L/usr/lib -Wl,-R/usr/lib
-Wl,-R/usr/pkg/lib -L/usr/X11R6/lib -Wl,-R/usr/X11R6/lib -lintl=20
-L/usr/X11R6/lib -o bsetroot  bsetroot.o BaseDisplay.o Color.o
GCCache.o Texture.o Timer.o Image.o ImageControl.o i18n.o Util.o
-lintl  -L/usr/X11R6/lib
bsetroot.o(.text+0xc94): In function `bsetroot::~bsetroot()':
: undefined reference to `XSetCloseDownMode'
bsetroot.o(.text+0xca0): In function `bsetroot::~bsetroot()':
: undefined reference to `XKillClient'
bsetroot.o(.text+0xeb8): In function `bsetroot::~bsetroot()':
: undefined reference to `XSetCloseDownMode'
... (lots -> stop)

I'd like to have a go compiling the kernel, userland and X on this
machine if there's no quick fix. That might help?

Amadeus