Bug 18168 - Can't compile 2.4.2 driver
Summary: Can't compile 2.4.2 driver
Status: RESOLVED NOTABUG
Alias: None
Product: xorg
Classification: Unclassified
Component: Driver/intel (show other bugs)
Version: unspecified
Hardware: Other All
: medium normal
Assignee: Wang Zhenyu
QA Contact: Xorg Project Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-10-22 00:20 UTC by Edwin Boersma
Modified: 2008-10-24 00:44 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments

Description Edwin Boersma 2008-10-22 00:20:02 UTC
Downloaded the latest stable driver from intellinuxgraphics.org, xf86-video-intel-2.4.2.

configure doesnt report any errors, but make does:

In file included from bios_reader.c:39:
../i830_bios.h:32:21: error: xf86str.h: Bestand of map bestaat niet
In file included from bios_reader.c:39:
../i830_bios.h:255: error: expected ‘)’ before ‘pScrn’
bios_reader.c:42:18: error: edid.h: Bestand of map bestaat niet
bios_reader.c: In function ‘dump_lvds_data’:
bios_reader.c:205: warning: implicit declaration of function ‘_PIXEL_CLOCK’
bios_reader.c:205: warning: nested extern declaration of ‘_PIXEL_CLOCK’
bios_reader.c:207: warning: implicit declaration of function ‘_H_ACTIVE’
bios_reader.c:207: warning: nested extern declaration of ‘_H_ACTIVE’
bios_reader.c:208: warning: implicit declaration of function ‘_H_BLANK’
bios_reader.c:208: warning: nested extern declaration of ‘_H_BLANK’
bios_reader.c:209: warning: implicit declaration of function ‘_H_SYNC_OFF’
bios_reader.c:209: warning: nested extern declaration of ‘_H_SYNC_OFF’
bios_reader.c:210: warning: implicit declaration of function ‘_H_SYNC_WIDTH’
bios_reader.c:210: warning: nested extern declaration of ‘_H_SYNC_WIDTH’
bios_reader.c:211: warning: implicit declaration of function ‘_V_ACTIVE’
bios_reader.c:211: warning: nested extern declaration of ‘_V_ACTIVE’
bios_reader.c:212: warning: implicit declaration of function ‘_V_BLANK’
bios_reader.c:212: warning: nested extern declaration of ‘_V_BLANK’
bios_reader.c:213: warning: implicit declaration of function ‘_V_SYNC_OFF’
bios_reader.c:213: warning: nested extern declaration of ‘_V_SYNC_OFF’
bios_reader.c:214: warning: implicit declaration of function ‘_V_SYNC_WIDTH’
bios_reader.c:214: warning: nested extern declaration of ‘_V_SYNC_WIDTH’
bios_reader.c: In function ‘main’:
bios_reader.c:276: warning: passing argument 2 of ‘dump_lvds_data’ from incompatible pointer type
make[4]: *** [bios_reader.o] Fout 1
Comment 1 Wang Zhenyu 2008-10-23 19:16:02 UTC
Depends on your dist, you have to install xorg-devel, libdrm-devel, mesa-devel packages for compile.
Comment 2 Edwin Boersma 2008-10-23 23:26:13 UTC
(In reply to comment #1)
> Depends on your dist, you have to install xorg-devel, libdrm-devel, mesa-devel
> packages for compile.
> 

:-) I know that and I have that. All xorg-x11-devel, libdrm-devel and Mesa-devel packages are installed. If something would be missing there, then configure should fail, shouldn't it?

But compiling gives errors:

   In file included from bios_reader.c:39:
   ../i830_bios.h:32:21: error: xf86str.h: File not found
In which package should this file be?


   In file included from bios_reader.c:39:
   ../i830_bios.h:255: error: expected ‘)’ before ‘pScrn’
Looks like a typo to me...


  bios_reader.c:42:18: error: edid.h: File not found
In which package should this file be?

Comment 3 Edwin Boersma 2008-10-23 23:32:36 UTC
I do have edid.h:

edwin@edwin-hp:~> locate edid
/usr/include/video/edid.h
/usr/src/linux-2.6.25.16-0.1-obj/i386/debug/include/config/firmware/edid.h
/usr/src/linux-2.6.25.16-0.1-obj/i386/default/include/config/firmware/edid.h
/usr/src/linux-2.6.25.16-0.1-obj/i386/lockdep/include/config/firmware/edid.h
/usr/src/linux-2.6.25.16-0.1-obj/i386/pae/include/config/firmware/edid.h
/usr/src/linux-2.6.25.16-0.1-obj/i386/xen/include/config/firmware/edid.h
/usr/src/linux-2.6.25.16-0.1/drivers/video/edid.h
/usr/src/linux-2.6.25.16-0.1/include/video/edid.h

Does the script look in the wrong directory? I run openSuSE 11.0.
Comment 4 Wang Zhenyu 2008-10-24 00:07:23 UTC
They should be in /usr/include/xorg/, looks you're still missing devel packages, or suse's packages are broken.
Comment 5 Edwin Boersma 2008-10-24 00:29:20 UTC
(In reply to comment #4)
> They should be in /usr/include/xorg/, looks you're still missing devel
> packages, or suse's packages are broken.
> 

xorg-devel files are in /usr/include/X11 in opensuse, and that has always been like that, as far as I know.

I have subscribed to all possible repositories, but nothing provides xf86str.h...
Comment 6 Edwin Boersma 2008-10-24 00:37:15 UTC
Sorry to bug you again ;-)

Found it, but it is in xorg-x11-server-sdk. Unfortunately, the "provides" swtich didn't produce this package to provide xf86str.h.

'make install' now ran successful, it seems.
Comment 7 Wang Zhenyu 2008-10-24 00:44:43 UTC
So close this. You can subscribe to intel-gfx mail list on freedesktop.org for this kind of problem.


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.