Subject: Re: NetBSD 3.0: Can't get Xorg to work with ATI Mobility X600
To: Juan RP <juan@xtrarom.org>
From: Sam Tran <stlist@gmail.com>
List: current-users
Date: 01/11/2006 15:07:11
On 1/11/06, Juan RP <juan@xtrarom.org> wrote:
> On Wed, 11 Jan 2006 10:27:08 -0500
> "Steven M. Bellovin" <smb@cs.columbia.edu> wrote:
>
> > In message
> > <cee681b00601110711o6053d08esdd96fbe7bd1eb2e3@mail.gmail.com>, Sam T
> > ran writes:
> > >Hi All,
> > >
> > >I installed NetBSD 3.0 on a LENOVO Thinkpad Z60M laptop with an ATI
> > >Mobility X600 (128Mb).
> > >
> > >I can't get Xorg 6.8.2bn1 (compiled and installed Xorg meta from CVS)
> > >to work. I tried the ATI and the RADEON driver. Every time I try to
> > >start X it just dies with signal 11.
> > >
> > >I booted my laptop with a Linux Live CD using Xorg 6.8.2 and X
> > >started (ATI driver) without any problem.
> > >
> > >Is my problem with NetBSD kernel related or there is something wrong
> > >with my Xorg installation?
> > >
> >
> > When you say "Xorg meta from CVS", do you mean the pkgsrc version of
> > xorg?  That would tbe the first thing I'd try.
>
> Maybe 6.8.2 does not support your video card. I'll update the packages
> really soon, at this moment you can try to use my repository to test
> the new packages:
>
> * Install pkgsrc/devel/subversion-base
> * svn co http://www.xtrarom.org/repos/xorg-monolithic
> * cat README
>
> I'm using xorg-6.9.0, and it works perfectly on my Radeon 9600 XT PRO.


Juan,

I am trying to install xorg-6.9.0. But make fails when trying to
install Xft2-2.1.7.
Here are the output:

zephyr# make
=3D=3D=3D> Checking for vulnerabilities in xorg-6.9.0
=3D=3D=3D> Extracting for xorg-6.9.0
=3D=3D=3D> Required installed package xorg-imake>=3D6.9.0: xorg-imake-6.9.0=
 found
=3D=3D=3D> Required installed package xorg-libs>=3D6.9.0: xorg-libs-6.9.0 f=
ound
=3D=3D=3D> Required installed package xorg-server>=3D6.9.0: xorg-server-6.9=
.0 found
=3D=3D=3D> Required package xorg-clients>=3D6.9.0: NOT found
=3D=3D=3D> Verifying reinstall for ../../xorg-monolithic/xorg-clients
=3D=3D=3D> Checking for vulnerabilities in xorg-clients-6.9.0
=3D> Checksum SHA1 OK for X11R6.9.0-src1.tar.gz.
=3D> Checksum RMD160 OK for X11R6.9.0-src1.tar.gz.
=3D> Checksum SHA1 OK for X11R6.9.0-src2.tar.gz.
=3D> Checksum RMD160 OK for X11R6.9.0-src2.tar.gz.
=3D> Checksum SHA1 OK for X11R6.9.0-src3.tar.gz.
=3D> Checksum RMD160 OK for X11R6.9.0-src3.tar.gz.
=3D=3D=3D> Extracting for xorg-clients-6.9.0
=3D=3D=3D> Required installed package xorg-libs>=3D6.8.2nb2: xorg-libs-6.9.=
0 found
=3D=3D=3D> Required package Xft2>=3D2.1.6nb1: NOT found
=3D=3D=3D> Verifying reinstall for ../../fonts/Xft2
=3D=3D=3D> Checking for vulnerabilities in Xft2-2.1.7
=3D=3D=3D> Installing for Xft2-2.1.7
if /bin/sh ./libtool --mode=3Dcompile cc -DHAVE_CONFIG_H -I. -I. -I. =20
-I/usr/pkg/include -I/usr/pkg/xorg/include -I/usr/include
-I/usr/pkg/incl
ude/freetype2 -I/usr/pkg/include   -I/usr/pkg/include/freetype2
-I/usr/pkg/include -DXTHREADS -I/usr/pkg/include
-I/usr/pkg/xorg/include   -Wa
ll -Wpointer-arith -Wstrict-prototypes      -Wmissing-prototypes
-Wmissing-declarations     -Wnested-externs -fno-strict-aliasing -O2
-I/usr/p
kg/include -I/usr/pkg/xorg/include -I/usr/include
-I/usr/pkg/include/freetype2 -MT xftcolor.lo -MD -MP -MF
".deps/xftcolor.Tpo" \
  -c -o xftcolor.lo `test -f 'xftcolor.c' || echo './'`xftcolor.c; \
then mv -f ".deps/xftcolor.Tpo" ".deps/xftcolor.Plo"; \
else rm -f ".deps/xftcolor.Tpo"; exit 1; \
fi
[snip]
xftcolor.c:82: warning: function declaration isn't a prototype
xftcolor.c: In function `XftColorAllocValue':
xftcolor.c:83: error: `visual' undeclared (first use in this function)
xftcolor.c:95: error: `result' undeclared (first use in this function)
xftcolor.c:95: error: `color' undeclared (first use in this function)
xftcolor.c:106: error: `dpy' undeclared (first use in this function)
xftcolor.c:106: error: `cmap' undeclared (first use in this function)
xftcolor.c: At top level:
xftcolor.c:121: error: parse error before "XftColor"
xftcolor.c:122: warning: function declaration isn't a prototype
xftcolor.c: In function `XftColorFree':
xftcolor.c:123: error: `visual' undeclared (first use in this function)
xftcolor.c:124: error: `dpy' undeclared (first use in this function)
xftcolor.c:124: error: `cmap' undeclared (first use in this function)
xftcolor.c:124: error: `color' undeclared (first use in this function)
gmake: *** [xftcolor.lo] Error 1
*** Error code 2

Stop.
make: stopped in /usr/pkgsrc/fonts/Xft2
*** Error code 1

Stop.
make: stopped in /usr/pkgsrc/fonts/Xft2
*** Error code 1

Stop.
make: stopped in /usr/pkgsrc/fonts/Xft2
*** Error code 1

Stop.
make: stopped in /usr/pkgsrc/fonts/Xft2
*** Error code 1
[snip]

Is it the version of Xft2 that I should use with Xorg-6.9.0?

Thanks.
Sam