Subject: Re: ultra5 & Xwindows
To: Amadeus Stevenson <amadeus.stevenson@gmail.com>
From: Michael <macallan18@earthlink.net>
List: port-sparc64
Date: 05/01/2005 20:45:40
--Signature_Sun__1_May_2005_20_45_40_-0400_hAlhFyKpCLHUClab
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: quoted-printable

Hello,

> > > 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.
>=20
> in /usr/X11R6/lib:
>=20
> 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

Looks ok.

> 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:

That's definitely NOT the right way.

> 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)

This is missing -lX11 so all libX11-references are unresolved.

> 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?

I honestly have no idea what's going on there - the library is at the
right place, the commands in your config.log look right - this this
should just work.=20

Did you try to compile this from pkgsrc or something else?

have fun
Michael

--Signature_Sun__1_May_2005_20_45_40_-0400_hAlhFyKpCLHUClab
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (NetBSD)

iQEVAwUBQnV4NMpnzkX8Yg2nAQKubQf+ICQbVJujcqH4WSRFFfc0i0Qy1K5zGNvO
Fmi0HIXFmaOl0ss6pfg5N6dHISE8EjanD666fv4MOCMzKYbyp1HqLm5KuNEyJ98s
1nISkLZkuxfhNNXjRT/IcMepb8ECm0nhiJwoTr3kAfAkw7zCRbc1NXw/4M44b/Nh
X/jFcLOqayNO7Xn12QKFZOqNMZ9kAj4bOM86/c4RaI1wnSTOeF6bkBb9UB68Z0PY
TSFaVhxCcElfaE9R+QsO1YYl9qTHk9/P0WNzClulY+UsOiKpa+vHrkThk955dWvQ
K5w42lMvvRwyXeHMPMdhTynhHp92DKqNW0Ik9tj5Wv0uFGCk4vi4Zg==
=B4Cm
-----END PGP SIGNATURE-----

--Signature_Sun__1_May_2005_20_45_40_-0400_hAlhFyKpCLHUClab--