I think I'm missing something obvious here, so a clue-stick beating
would be appreciated.
In order to get applications like mplayer to work properly, I need to
compile an ATI Radeon 4200 driver from x.org. (Thanks to brynet for
that tip.) That used to work fine, but around mid-May it stopped
compiling (details below). The configure script output has this slight
difference:
$ diff configure.ok configure.failure
88c88
< checking for LIBDRM_RADEON... no
---
> checking for LIBDRM_RADEON... yes
132c132
< Kernel modesetting: no
---
> Kernel modesetting: yes
so I think I'm missing something simple, but with my limited knowledge,
I'm just not understanding it. The driver compiles just fine when
LIBDRM_RADEON is _not_ found, but craps out when it is found. I don't
get it.
Any help would be appreciated.
Make spits out this:
$ sudo make
make all-recursive
Making all in src
CC ati.lo
CC atimodule.lo
CCLD ati_drv.la
CC radeon_accel.lo
radeon_accel.c: In function 'RADEONHostDataBlit':
radeon_accel.c:866: warning: '__expected' may be used uninitialized in
this function
CC radeon_cursor.lo
CC radeon_legacy_memory.lo
CC radeon_driver.lo
In file included from radeon_atombios.h:151,
from radeon_driver.c:77:
./AtomBios/includes/CD_Common_Types.h:82: warning: ignoring #pragma warning
./AtomBios/includes/CD_Common_Types.h:156: warning: ignoring #pragma
warning
CC radeon_video.lo
CC radeon_bios.lo
In file included from radeon_atombios.h:151,
from radeon_bios.c:42:
./AtomBios/includes/CD_Common_Types.h:82: warning: ignoring #pragma warning
./AtomBios/includes/CD_Common_Types.h:156: warning: ignoring #pragma
warning
CC radeon_mm_i2c.lo
CC radeon_vip.lo
CC radeon_misc.lo
CC radeon_probe.lo
CC legacy_crtc.lo
In file included from radeon_atombios.h:151,
from legacy_crtc.c:48:
./AtomBios/includes/CD_Common_Types.h:82: warning: ignoring #pragma warning
./AtomBios/includes/CD_Common_Types.h:156: warning: ignoring #pragma
warning
CC legacy_output.lo
In file included from radeon_atombios.h:151,
from legacy_output.c:49:
./AtomBios/includes/CD_Common_Types.h:82: warning: ignoring #pragma warning
./AtomBios/includes/CD_Common_Types.h:156: warning: ignoring #pragma
warning
CC radeon_textured_video.lo
CC radeon_pm.lo
In file included from radeon_atombios.h:151,
from radeon_pm.c:39:
./AtomBios/includes/CD_Common_Types.h:82: warning: ignoring #pragma warning
./AtomBios/includes/CD_Common_Types.h:156: warning: ignoring #pragma
warning
CC radeon_crtc.lo
In file included from radeon_atombios.h:151,
from radeon_crtc.c:703:
./AtomBios/includes/CD_Common_Types.h:82: warning: ignoring #pragma warning
./AtomBios/includes/CD_Common_Types.h:156: warning: ignoring #pragma
warning
CC radeon_output.lo
In file included from radeon_atombios.h:151,
from radeon_output.c:50:
./AtomBios/includes/CD_Common_Types.h:82: warning: ignoring #pragma warning
./AtomBios/includes/CD_Common_Types.h:156: warning: ignoring #pragma
warning
CC radeon_modes.lo
In file included from radeon_atombios.h:151,
from radeon_modes.c:51:
./AtomBios/includes/CD_Common_Types.h:82: warning: ignoring #pragma warning
./AtomBios/includes/CD_Common_Types.h:156: warning: ignoring #pragma
warning
CC radeon_tv.lo
In file included from radeon_atombios.h:151,
from radeon_tv.c:26:
./AtomBios/includes/CD_Common_Types.h:82: warning: ignoring #pragma warning
./AtomBios/includes/CD_Common_Types.h:156: warning: ignoring #pragma
warning
CC CD_Operations.lo
In file included from ./AtomBios/includes/Decoder.h:52,
from AtomBios/CD_Operations.c:47:
./AtomBios/includes/CD_Common_Types.h:82: warning: ignoring #pragma warning
./AtomBios/includes/CD_Common_Types.h:156: warning: ignoring #pragma
warning
CC Decoder.lo
In file included from ./AtomBios/includes/Decoder.h:52,
from AtomBios/Decoder.c:45:
./AtomBios/includes/CD_Common_Types.h:82: warning: ignoring #pragma warning
./AtomBios/includes/CD_Common_Types.h:156: warning: ignoring #pragma
warning
CC radeon_atombios.lo
In file included from radeon_atombios.h:151,
from radeon_atombios.c:34:
./AtomBios/includes/CD_Common_Types.h:82: warning: ignoring #pragma warning
./AtomBios/includes/CD_Common_Types.h:156: warning: ignoring #pragma
warning
radeon_atombios.c: In function 'rhdAtomParseI2CRecord':
radeon_atombios.c:1608: warning: initialization from incompatible
pointer type
CC radeon_atomwrapper.lo
In file included from radeon_atomwrapper.c:33:
./AtomBios/includes/CD_Common_Types.h:82: warning: ignoring #pragma warning
./AtomBios/includes/CD_Common_Types.h:156: warning: ignoring #pragma
warning
CC radeon_dri.lo
CC radeon_exa.lo
CC r600_exa.lo
CC r6xx_accel.lo
CC r600_textured_videofuncs.lo
CC r600_shader.lo
CC radeon_exa_shared.lo
CC evergreen_exa.lo
CC evergreen_accel.lo
CC evergreen_shader.lo
CC evergreen_textured_videofuncs.lo
CC atombios_output.lo
In file included from radeon_atombios.h:151,
from atombios_output.c:49:
./AtomBios/includes/CD_Common_Types.h:82: warning: ignoring #pragma warning
./AtomBios/includes/CD_Common_Types.h:156: warning: ignoring #pragma
warning
CC atombios_crtc.lo
In file included from radeon_atombios.h:151,
from atombios_crtc.c:47:
./AtomBios/includes/CD_Common_Types.h:82: warning: ignoring #pragma warning
./AtomBios/includes/CD_Common_Types.h:156: warning: ignoring #pragma
warning
atombios_crtc.c: In function 'atombios_crtc_mode_set':
atombios_crtc.c:364: warning: 'output' may be used uninitialized in this
function
atombios_crtc.c:364: note: 'output' was declared here
CC radeon_dri2.lo
CC radeon_kms.lo
CC drmmode_display.lo
drmmode_display.c: In function 'drmmode_pre_init':
drmmode_display.c:1381: error: 'drmEventContext' has no member named
'page_flip_handler'
drmmode_display.c: In function 'radeon_do_pageflip':
drmmode_display.c:1689: warning: implicit declaration of function
'drmModePageFlip'
drmmode_display.c:1690: error: 'DRM_MODE_PAGE_FLIP_EVENT' undeclared
(first use in this function)
drmmode_display.c:1690: error: (Each undeclared identifier is reported
only once
drmmode_display.c:1690: error: for each function it appears in.)
*** Error code 1
Stop in /home/scott/Downloads/xf86-video-ati-6.14.0/src (line 770 of
Makefile).
*** Error code 1
Stop in /home/scott/Downloads/xf86-video-ati-6.14.0 (line 371 of Makefile).
*** Error code 1
Stop in /home/scott/Downloads/xf86-video-ati-6.14.0 (line 278 of Makefile).