intel modesetting compilation without xserver 1.3
Joshua J. Berry
des at condordes.net
Wed Feb 28 23:29:36 PST 2007
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)
...
Anyone have a proper fix for this? I'm sure I could just throw the relevant
header file someplace where it will find it, but ... rather get it fixed
the Right Way. ;)
-- Josh
--
Joshua J. Berry
"I haven't lost my mind -- it's backed up on tape somewhere."
-- /usr/games/fortune
More information about the xorg
mailing list