Date: Mon, 28 Feb 2011 15:31:41 -0600 From: Zhihao Yuan <lichray@gmail.com> To: freebsd-x11@freebsd.org Subject: Building problem with dri 7.6 Message-ID: <20110228213141.GA32961@compaq.yuetime>
next in thread | raw e-mail | index | archive | help
--nVMJ2NtxeReIH9PS Content-Type: multipart/mixed; boundary="SUOF0GtieIMvvwua" Content-Disposition: inline --SUOF0GtieIMvvwua Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable I posted this on freebsd-multimedia before. I guess I was in a wrong place. I have observed the building issue for a long time. ~> uname -a FreeBSD compaq.yuetime 8.2-STABLE FreeBSD 8.2-STABLE #0: Thu Feb 24 18:11:55 CST 2011 root@compaq.yuetime:/usr/obj/usr/src/sys/HOUKAGO amd64 My card is Ati Mobile Radeon X1600. I built and installed libdrm 2.4.17, libGL, libGLU, libglut 7.6.1, so far so good. When I want to sudo make WITHOUT_NOUVEAU=3D1 for a dri 7.6.1, I got some error message says "can't find radeon_cs_int.h", which means Mesa need the definition of struct radeon_cs_int (and radeon_bo_int, actually). So I extract these definitions (included in the attachment) and put them in the correct places, so that the package is successfully built. But, when I test it, I got the following error: ~> env LIBGL_DEBUG=3Dverbose glxinfo | grep rendering libGL: XF86DRIGetClientDriverName: 5.3.0 r300 (screen 0) libGL: OpenDriver: trying /usr/local/lib/dri/r300_dri.so libGL error: dlopen /usr/local/lib/dri/r300_dri.so failed (/usr/local/lib/dri/r300_dri.so: Undefined symbol "radeon_cs_write_table") libGL error: unable to load driver: r300_dri.so libGL: OpenDriver: trying /usr/local/lib/dri/swrast_dri.so direct rendering: Yes I tried to disable the 'inline' for the related functions, but I can't got it work. DRI 7.4.4.2 works fine with other 7.6.1 libs, but 7.4 is relatively old. --=20 Zhihao Yuan, nickname lichray The best way to predict the future is to invent it. -------------------------------------------------- let focus =3D 'computing' in here: http://let-in.blogspot.com (let (me Program!)): http://lichray.blogspot.com --SUOF0GtieIMvvwua-- --nVMJ2NtxeReIH9PS Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.17 (FreeBSD) iQEcBAEBAgAGBQJNbBQ8AAoJEDM1qsGtFE5ZaTIIAJ79aGbeDGnokRVM1hhlpgs8 QVk7UghaHiS+KPsFWpz0JsvBejrLFbfqa9Yz1pVJc8rnDcnlNcFQIWZzGQKowVpu iJfmr1Y5AKagL1RlVtlAPcXSj8LQgSqHbsb/uRVkd7EfLU0I8XQknqY6FqLSXZux Umm2TnZBxSYATG1gOySAFpEIXNqUa6bAIbaKwa4jHSfaevXop7Y/07Ue1H+phxdu 3//3/lOOY5A7vmN2d4+RLj+JacLfE/Z2gwbSLp6pAgmY4W/oC2HGiRHzjy8JNsFy jKhOALyUM/s9h30On5X/LVumNAysdw8vsr5PVmas7VU1GdlHb6wqOD8saLgQ9KA= =2Aqy -----END PGP SIGNATURE----- --nVMJ2NtxeReIH9PS--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20110228213141.GA32961>