intel modesetting compilation without xserver 1.3

Eric Anholt eric at anholt.net
Thu Mar 1 08:43:05 PST 2007


On Wed, 2007-02-28 at 23:29 -0800, Joshua J. Berry wrote:
> On Wednesday 28 February 2007 14:37:34 Dave Airlie wrote:
> > > What's the last point in time that the intel modesetting driver would
> > > compile without having xserver 1.3?  Since the recent modifications
> > > have made it more difficult to compile on current systems, knowing the
> > > last time it worked easily might be helpful to those wanting to use it.
> > > Bonus points will be awarded for providing the git command to check it
> > > out from that point.
> >
> > You don't need to install server 1.3, you just need to have the
> > sources around... so I wouldn't go using an old version because of
> > that... git cloning the server isn't exactly a major task..
> 
> When I build it, it seems to insist on looking for X header files 
> in /usr/include (instead of the server source tree).  As a result, it can't 
> seem to find xf86Crtc.h:
> 
> make[3]: Entering directory 
> `/home/des/Code/xorg/xf86-video-intel/src/ch7017'
> /bin/sh ../../libtool --tag=CC   --mode=compile 
> gcc -DHAVE_CONFIG_H -I. -I../..    -I/usr/include/xorg   -I/usr/include/drm -I/usr/include/X11/dri   -I./.. -I./../modes -g -O2 -MT 
> ch7017.lo -MD -MP -MF .deps/ch7017.Tpo -c -o ch7017.lo ch7017.c
>  
> gcc -DHAVE_CONFIG_H -I. -I../.. -I/usr/include/xorg -I/usr/include/drm -I/usr/include/X11/dri -I./.. -I./../modes -g -O2 -MT 
> ch7017.lo -MD -MP -MF .deps/ch7017.Tpo -c 
> ch7017.c  -fPIC -DPIC -o .libs/ch7017.o
> ch7017.c:40:22: error: xf86Crtc.h: No such file or directory
> In file included from ch7017.c:44:
> ../i2c_vid.h:7: error: expected specifier-qualifier-list 
> before 'xf86OutputStatus'
> ch7017.c:130: error: expected '=', ',', ';', 'asm' or '__attribute__' 
> before 'ch7017_detect'
> ch7017.c:295: error: unknown field 'detect' specified in initializer
> ch7017.c:295: error: 'ch7017_detect' undeclared here (not in a function)

Does the ../modes there actually point to the modes directory of your
1.3 server source tree?

-- 
Eric Anholt                             anholt at FreeBSD.org
eric at anholt.net                         eric.anholt at intel.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 187 bytes
Desc: This is a digitally signed message part
URL: <http://lists.x.org/archives/xorg/attachments/20070301/96d01ed3/attachment.pgp>


More information about the xorg mailing list