[prev in list] [next in list] [prev in thread] [next in thread] 

List:       freedesktop-xorg
Subject:    Re: intel modesetting compilation without xserver 1.3
From:       Eric Anholt <eric () anholt ! net>
Date:       2007-03-01 16:43:05
Message-ID: 1172767385.11248.19.camel () vonnegut
[Download RAW message or body]


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@FreeBSD.org
eric@anholt.net                         eric.anholt@intel.com


["signature.asc" (application/pgp-signature)]

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic