xf86-video-intel does not compile

Tomas Davidek davidek at ipnp.troja.mff.cuni.cz
Tue Aug 28 10:02:18 PDT 2007


Hello,
  since yesterday I cannot compile the current git version of 
xf86-video-intel, it stops with the error message:
--------------------------------
make[3]: Entering directory `/root/xf86-video-intel/src'
if /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. 
-I. -I..    -Wall -Wpointer-arith -Wstrict-prototypes     
-Wmissing-prototypes -Wmissing-declarations     -Wnested-externs 
-fno-strict-aliasing -I/usr/include/xorg   -I/usr/include/drm 
-I/usr/include/X11/dri -DI830_XV -DI830_USE_XAA -DI830_USE_EXA -g -O2 
-MT i810_accel.lo -MD -MP -MF ".deps/i810_accel.Tpo" -c -o i810_accel.lo 
i810_accel.c; \
        then mv -f ".deps/i810_accel.Tpo" ".deps/i810_accel.Plo"; else 
rm -f ".deps/i810_accel.Tpo"; exit 1; fi
 gcc -DHAVE_CONFIG_H -I. -I. -I.. -Wall -Wpointer-arith 
-Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations 
-Wnested-externs -fno-strict-aliasing -I/usr/include/xorg 
-I/usr/include/drm -I/usr/include/X11/dri -DI830_XV -DI830_USE_XAA 
-DI830_USE_EXA -g -O2 -MT i810_accel.lo -MD -MP -MF .deps/i810_accel.Tpo 
-c i810_accel.c  -fPIC -DPIC -o .libs/i810_accel.o
In file included from i810.h:67,
                 from i810_accel.c:55:
common.h:447: error: expected identifier or '(' before '.' token
make[3]: *** [i810_accel.lo] Error 1
make[3]: Leaving directory `/root/xf86-video-intel/src'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/root/xf86-video-intel/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/root/xf86-video-intel'
make: *** [all] Error 2
-------------------------------------
Briefly looking into src/common.h I don't see any obvious problem. I am 
using gcc (GCC) 4.1.3 20070812.

BTW, about a week ago I posted two questions but never got any answer. 
They are maybe too stupid, sorry for that :-)). I append them here, 
maybe someone can advice:
1. when connecting the external monitor before starting X, the two 
monitors get auto-detected and I get the picture on both screens. The 
mode 1280x1024 is set on VGA (corresponds to its native resolution), 
LVDS is set to 1400x1050 as described in xorg.conf. The problem is that 
the LVDS screen is somehow "restricted" - e.g. the bottom toolbar 
displays a bit shifted from the real bottom. It seems that effectively 
LVDS exploits only 1280x1024 area. The other parts (i.e. outside of 
1280x1024 area) of LVDS are also accessible, but they are not displayed 
in the VGA. If I start X without VGA connected and then issue "xrandr 
--output VGA --mode 1280x1024", I got another case. The picture in LVDS 
is preserved (bottom toolbar is really in the bottom), but it is not 
visible in VGA. Basically, the part outside of 1280x1024 area in LVDS is 
not displayed in VGA. Surprisingly, in both cases the output of "xrandr 
--prop" is the same. Is there a way to set up both screens to display 
the same picture but in (truly) different resolutions?

2. since my laptop gets stuck when pushing the lid button in active 
X-session, I was advised to keep active Pipe A. This really helps, but 
how can I keep it active if there is no external monitor connected ? 
xrandr --output VGA --mode 1280x1024 only works if an external monitor 
is connected, otherwise this command complaints about non-existing mode 
and the Pipe A output is not activated.

Any ideas, please ?

Thanks a lot in advance, best regards

           Tomas

 E-mail : davidek at ipnp.troja.mff.cuni.cz,
	  Tomas.Davidek at cern.ch




More information about the xorg mailing list