Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 24 May 2007 13:38:10 +0100
From:      Tom Evans <tevans.uk@googlemail.com>
To:        Christopher Prance <christopher.prance@gmail.com>
Cc:        freebsd-x11@freebsd.org, 'Florent Thoumie' <flz@FreeBSD.org>
Subject:   RE: Upgrading to Xorg 7.2.0
Message-ID:  <1180010290.9846.13.camel@zoot.mintel.co.uk>
In-Reply-To: <46558424.66ba74de.282c.7c3b@mx.google.com>
References:  <46555fb0.2fb6361b.282c.518a@mx.google.com> <1180004824.9846.6.camel@zoot.mintel.co.uk> <465574f5.0f5a955d.348f.11cb@mx.google.com> <46558324.2070900@FreeBSD.org> <46558424.66ba74de.282c.7c3b@mx.google.com>

next in thread | previous in thread | raw e-mail | index | archive | help

--=-GyS5hfx0D+t1zrzVCQIV
Content-Type: text/plain
Content-Transfer-Encoding: quoted-printable

On Thu, 2007-05-24 at 14:25 +0200, Christopher Prance wrote:
> /usr/local/lib/libGL.so.1:
>         libX11.so.6 =3D> /usr/X11R6/lib/libX11.so.6 (0x281cd000)
>         libXext.so.6 =3D> /usr/X11R6/lib/libXext.so.6 (0x2828e000)
>         libXxf86vm.so.1 =3D> /usr/X11R6/lib/libXxf86vm.so.1 (0x2829b000)
>         libXdamage.so.1 =3D> /usr/X11R6/lib/libXdamage.so.1 (0x282a0000)
>         libXfixes.so.3 =3D> /usr/X11R6/lib/libXfixes.so.3 (0x282a3000)
>         libm.so.4 =3D> /lib/libm.so.4 (0x282a8000)
>         libpthread.so.2 =3D> /lib/libpthread.so.2 (0x282be000)
>         libdrm.so.2 =3D> /usr/local/lib/libdrm.so.2 (0x282e3000)
>=20
> There you go and just out of curiosity, what exactly does this tell you? =
 If
> you don't mind explaining.  I'm trying to learn as I go.
>=20
> Thanks,
> Christopher Prance

Your config.log said

> configure:3325: cc -o conftest -O2 -fno-strict-aliasing -pipe   =20
> conftest.c -lGL -L/usr/local/lib -lX11    >&5
> /usr/local/lib/libGL.so: undefined reference to `XDamageAdd'

when it tried to link a simple test program to -lGl. Linking resolves
addresses of functions and links together compilation units with these
addresses.=20
In this case, it couldnt find the symbol (or function) XDamageAdd. This
should be in libXdamage.so, which should be dynamically linked to
libGl.so.=20
The ldd command displays the dynamic links that an object file (eg
dynamic object/dynamic executable) has, so we now know explicitly what
is being linked to what.

(and sorry, no, I don't know what the actual problem is, but I bet flz
does :)

Cheers

Tom

--=-GyS5hfx0D+t1zrzVCQIV
Content-Type: application/pgp-signature; name=signature.asc
Content-Description: This is a digitally signed message part

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (FreeBSD)

iD8DBQBGVYculcRvFfyds/cRAtaNAKCNJ1pvWd/KGnuu8GXGuFj33R7OQQCbBW/p
IxjEz8miMdT263raL8GVTAI=
=pxPP
-----END PGP SIGNATURE-----

--=-GyS5hfx0D+t1zrzVCQIV--




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1180010290.9846.13.camel>