[ubuntu-x] Help building intel driver

Geir Ove Myhr gomyhr at gmail.com
Tue Mar 10 19:51:42 GMT 2009


Thank you for the help. I was able to apply the patch to the commit
before 8d4bc36fae50b09a73ba2cfab920adb32141a358 and compile. Reverting
8d4bc... gave conflicts, so that didn't work, and debuild -b -us -uc
on the current package did not work either (error at the end for
reference).

It looks like the patch didn't work, but I just want to make sure I
didn't screw up anything. I did:
- add xorg-edgers PPA to /etc/apt/sources.d, and upgraded
- apt-get build-dep xserver-xorg-video-intel
- ./autogen.sh (in source tree)
- ./configure --prefix=/usr
- make
- sudo make install >makeinstall.log

It seems that this should have copied the driver to the right place. I
did this first without the patch, rebooted the computer and checked
that everything looked normal (bug still there). Then I applied the
patch and ran make (only a few files were compiled again then of
course) and make install again. On reboot, nothing had changed.

Did I do something wrong here, or can I report back that the patch didn't work?


Error from debuild of 2.6.1:

../doltcompile gcc -DHAVE_CONFIG_H -I. -I../../src -I..
-I/usr/include/xorg -I/usr/include/pixman-1    -I/usr/include/drm
-Wall -Wpointer-arith -Wstrict-prototypes 	-Wmissing-prototypes
-Wmissing-declarations 	-Wnested-externs -fno-strict-aliasing
-I/usr/include/xorg -I/usr/include/pixman-1   -I/usr/include/drm
-I/usr/include/X11/dri -I../../uxa -DI830_XV -DI830_USE_XAA
-DI830_USE_EXA -Wall -g -O2 -MT i830_quirks.lo -MD -MP -MF
.deps/i830_quirks.Tpo -c -o i830_quirks.lo ../../src/i830_quirks.c
../../src/i830_quirks.c: In function ‘i830_dmi_store_bios_vendor’:
../../src/i830_quirks.c:82: warning: ignoring return value of ‘fread’,
declared with attribute warn_unused_result
../../src/i830_quirks.c: In function ‘i830_dmi_store_bios_version’:
../../src/i830_quirks.c:83: warning: ignoring return value of ‘fread’,
declared with attribute warn_unused_result
../../src/i830_quirks.c: In function ‘i830_dmi_store_bios_date’:
../../src/i830_quirks.c:84: warning: ignoring return value of ‘fread’,
declared with attribute warn_unused_result
../../src/i830_quirks.c: In function ‘i830_dmi_store_sys_vendor’:
../../src/i830_quirks.c:85: warning: ignoring return value of ‘fread’,
declared with attribute warn_unused_result
../../src/i830_quirks.c: In function ‘i830_dmi_store_product_name’:
../../src/i830_quirks.c:86: warning: ignoring return value of ‘fread’,
declared with attribute warn_unused_result
../../src/i830_quirks.c: In function ‘i830_dmi_store_product_version’:
../../src/i830_quirks.c:87: warning: ignoring return value of ‘fread’,
declared with attribute warn_unused_result
../../src/i830_quirks.c: In function ‘i830_dmi_store_product_serial’:
../../src/i830_quirks.c:88: warning: ignoring return value of ‘fread’,
declared with attribute warn_unused_result
../../src/i830_quirks.c: In function ‘i830_dmi_store_product_uuid’:
../../src/i830_quirks.c:89: warning: ignoring return value of ‘fread’,
declared with attribute warn_unused_result
../../src/i830_quirks.c: In function ‘i830_dmi_store_board_vendor’:
../../src/i830_quirks.c:90: warning: ignoring return value of ‘fread’,
declared with attribute warn_unused_result
../../src/i830_quirks.c: In function ‘i830_dmi_store_board_name’:
../../src/i830_quirks.c:91: warning: ignoring return value of ‘fread’,
declared with attribute warn_unused_result
../../src/i830_quirks.c: In function ‘i830_dmi_store_board_version’:
../../src/i830_quirks.c:92: warning: ignoring return value of ‘fread’,
declared with attribute warn_unused_result
../../src/i830_quirks.c: In function ‘i830_dmi_store_board_serial’:
../../src/i830_quirks.c:93: warning: ignoring return value of ‘fread’,
declared with attribute warn_unused_result
../../src/i830_quirks.c: In function ‘i830_dmi_store_board_asset_tag’:
../../src/i830_quirks.c:94: warning: ignoring return value of ‘fread’,
declared with attribute warn_unused_result
../../src/i830_quirks.c: In function ‘i830_dmi_store_chassis_vendor’:
../../src/i830_quirks.c:95: warning: ignoring return value of ‘fread’,
declared with attribute warn_unused_result
../../src/i830_quirks.c: In function ‘i830_dmi_store_chassis_type’:
../../src/i830_quirks.c:96: warning: ignoring return value of ‘fread’,
declared with attribute warn_unused_result
../../src/i830_quirks.c: In function ‘i830_dmi_store_chassis_version’:
../../src/i830_quirks.c:97: warning: ignoring return value of ‘fread’,
declared with attribute warn_unused_result
../../src/i830_quirks.c: In function ‘i830_dmi_store_chassis_serial’:
../../src/i830_quirks.c:98: warning: ignoring return value of ‘fread’,
declared with attribute warn_unused_result
../../src/i830_quirks.c: In function ‘i830_dmi_store_chassis_asset_tag’:
../../src/i830_quirks.c:99: warning: ignoring return value of ‘fread’,
declared with attribute warn_unused_result
../../src/i830_quirks.c: In function ‘quirk_broken_acpi_lid’:
../../src/i830_quirks.c:248: error: ‘QUIRK_BROKEN_ACPI_LID’ undeclared
(first use in this function)
../../src/i830_quirks.c:248: error: (Each undeclared identifier is
reported only once
../../src/i830_quirks.c:248: error: for each function it appears in.)



More information about the Ubuntu-x mailing list