Subject: Re: XFree86-4.6.0 on Solaris
To: Raymond Meyer <raymond.meyer@rambler.ru>
From: Michael <macallan1888@gmail.com>
List: port-sparc64
Date: 07/15/2006 15:20:01
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hello,

On Jul 15, 2006, at 15:05, Raymond Meyer wrote:

> Hi, I did manage to build meta-pkgs/xorg on Sparc Solaris.
> I copied sunffb directory from NetBSD's X11 tree into my local tree 
> and built the
> driver. When I run 'X -configure' the Xserver tries to load the 
> driver, but then it
> gives the following error message.
>
> Couldn't open RGB_DB '/opt/pkg/xorg/lib/X11/rgb'
> List of video drivers:
>         sunffb
> ld.so.1: Xorg: fatal: relocation error: file 
> /opt/pkg/xorg/lib/modules/drivers/sunffb_drv.so: symbol 
> xf86MatchSbusInstances: referenced symbol not found

This function is defined in Xserver/hw/xfree86/common/xf86sbusBus.c, 
should be built into your XFree86 binary.

> [root@ultra10] file sunffb_drv.so
> sunffb_drv.so:  ELF 32-bit MSB dynamic lib SPARC32PLUS Version 1, V8+ 
> Required, dynamically linked, not stripped
> [root@ultra10] ldd sunffb_drv.so
>         libcfb.so =>     (file not found)
>         libcfb32.so =>   (file not found)
>         libmfb.so =>     (file not found)
>
> Looks like the share libs are not found, they are actually located 
> under
>
> /opt/pkg/xorg/lib/modules
>
> Could that be the problem?

No. These things are modules loaded by the Xserver at runtime. The 
missing symbol above is the problem

have fun
Michael
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (Darwin)

iQEVAwUBRLk/4cpnzkX8Yg2nAQLTQwf/amn+bfzBfgGmovvwPjx16PjWwJXh8RQA
5ui2/eSbGSf4Zk6ymBwfVQPdmy3qS2NaJnyNuu7wKch4uwBXSWoqdAngz+kgh24j
QU8noITuuh6/9ZKtaX2w8gkb70vQgykLr8ku0+S0bm3+6d2GPgk3rQt5OYmR5zTY
dIDBI/N6LmNVbWhwxKNuV+eNGTT4jfb6u8Ah6CZ1X8y0BcmgE0jQijHgRJ4ZIjy2
jg4gnYYXS6XT5fUq6JlusQj+PGnpv2moMlrFDctR66t0Zm7XbJSwApgLBr+z08vo
EHgHLf1G7keSvmIz2GpXpVSiOBOOMSAMm2TPNjEK1zWsQBHxdKmhxg==
=lPrF
-----END PGP SIGNATURE-----