intel driver 'make' error

Richard Lynch ceo at l-i-e.com
Wed Jan 2 18:47:25 PST 2008


I'm using the i810 driver for a Sony Vaio VGN-TXN17P, and I've
documented my experiences with that here:
http://phpbootcamp.com/articles/vgn_txn17p.htm

I'm still stuck with the external VGA and a dead LFP once I startx.

And worse, ctrl-alt-backspace or any other kind of exit leaves me with
a DEAD laptop that has to be cold-power-off-hold-buttoned :-(

I'm trying to switch to the "intel" video driver to achieve a
dual-head system.

I've done 'emerge --sync; emerge portage; emerge xorg-server' to get
up to xserver 1.3, which is required by the "intel" driver.

I downloaded the driver and ran the "autogen.sh" script included.

Next, I did "make" and got this:

make[3]: Entering directory `/usr/src/xf86-video-intel/src'
/bin/sh ../libtool --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -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_driver.lo -MD -MP -MF .deps/i810_driver.Tpo -c -o
i810_driver.lo i810_driver.c
 gcc -DHAVE_CONFIG_H -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_driver.lo -MD -MP -MF
.deps/i810_driver.Tpo -c i810_driver.c  -fPIC -DPIC -o
.libs/i810_driver.o
i810_driver.c:453: error: 'PACKAGE_VERSION_MAJOR' undeclared here (not
in a function)
i810_driver.c:453: error: 'PACKAGE_VERSION_MINOR' undeclared here (not
in a function)
i810_driver.c:453: error: 'PACKAGE_VERSION_PATCHLEVEL' undeclared here
(not in a function)
make[3]: *** [i810_driver.lo] Error 1
make[3]: Leaving directory `/usr/src/xf86-video-intel/src'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/usr/src/xf86-video-intel/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/src/xf86-video-intel'
make: *** [all] Error 2
localhost xf86-video-intel #

I've submitted a bug report here, since I'm pretty sure that even if I
screwed something else up by doing something stoopid, that the make
should have worked...

https://bugs.freedesktop.org/show_bug.cgi?id=13899

I'm not quite sure why it's compiling an i810 driver, when I already
have one of those...

Perhaps I could hack the Makefile and get rid of that and just get the
newer intel driver?

Or perhaps this i810 is a totally different thing and is a subset of
the intel driver?

Of course, in a perfect world, somebody here would tell me exactly how
to fargle the frabinshobber and it would all just work as expected.
:-)

Any insights much appreciated!

-- 
Some people have a "gift" link here.
Know what I want?
I want you to buy a CD from some indie artist.
http://cdbaby.com/from/lynch
Yeah, I get a buck. So?




More information about the xorg mailing list