You are not logged in.

#1 2007-09-11 22:23:04

loswillios
Member
Registered: 2007-09-07
Posts: 4

building xf86-driver-ati fails

Hi,

I'm trying to build xf86-driver-ati with a verbose patch to help debugging an issue but somehow it fails very early at this point:

make  all-recursive
make[1]: Entering directory `/home/jan/src/xf86-video-ati'
Making all in src
make[2]: Entering directory `/home/jan/src/xf86-video-ati/src'
/bin/sh ../libtool --tag=CC   --mode=compile ccache gcc -DHAVE_CONFIG_H -I. -I..    -I/usr/include/xorg   -I/usr/include/drm -I/usr/include/X11/dri   -g -O2 -Wall -MT ati.lo -MD -MP -MF .deps/ati.Tpo -c -o ati.lo ati.c
mkdir .libs
 ccache gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/xorg -I/usr/include/drm -I/usr/include/X11/dri -g -O2 -Wall -MT ati.lo -MD -MP -MF .deps/ati.Tpo -c ati.c  -fPIC -DPIC -o .libs/ati.o
ati.c:228: error: 'PACKAGE_VERSION_MAJOR' undeclared here (not in a function)
ati.c:228: error: 'PACKAGE_VERSION_MINOR' undeclared here (not in a function)
ati.c:228: error: 'PACKAGE_VERSION_PATCHLEVEL' undeclared here (not in a function)
make[2]: *** [ati.lo] Fehler 1
make[2]: Leaving directory `/home/jan/src/xf86-video-ati/src'
make[1]: *** [all-recursive] Fehler 1
make[1]: Leaving directory `/home/jan/src/xf86-video-ati'
make: *** [all] Fehler 2

This is my installed xorg-list. Could it be that I missed to update something to a newer version?

[root@jan ~]# pacman -Qs xorg
local/xorg 11R7.0-1
    X.Org dummy package
local/xorg-font-utils 1.0.3-3
    X.Org font utilities
local/xorg-fonts-100dpi 1.0.1-1
    X.org 100dpi fonts
local/xorg-fonts-75dpi 1.0.1-2 (xorg)
    X.org 75dpi fonts
local/xorg-fonts-alias 1.0.1-1
    X.org font alias files
local/xorg-fonts-encodings 1.0.2-2
    X.org font encoding files
local/xorg-fonts-misc 1.0.0-3
    X.org misc fonts
local/xorg-server 1.3.0.0-7 (xorg)
    X.Org X servers
local/xorg-server-utils 1.0.4-2
    X.Org utilities required by xorg-server
local/xorg-utils 1.0.2-4
    Collection of client utilities used to query the X server
local/xorg-xauth 1.0.1-1
    X.Org authorization settings program
local/xorg-xdm 1.1.6-1
    X Display Manager
local/xorg-xinit 1.0.4-2 (xorg)
    X.Org initialisation program
local/xorg-xkb-utils 1.0.2-2
    X.org keyboard utilities

Here is the full log of ./autogen.sh && make: http://pastebin.archlinux.org/14329
This seems suspicious to me:

./configure: line 21616: XORG_MANPAGE_SECTIONS: command not found
./configure: line 21617: XORG_RELEASE_VERSION: command not found
./configure: line 21618: XORG_CHECK_LINUXDOC: command not found

Does somebody know what I am missing here?

Last edited by loswillios (2007-09-12 09:01:42)

Offline

#2 2007-09-13 19:25:41

loswillios
Member
Registered: 2007-09-07
Posts: 4

Re: building xf86-driver-ati fails

oki, I wasn't aware of the new xorg-server-1.4 in the kth repo. Now that I have it, the build fails here:

make  all-recursive
make[1]: Entering directory `/home/jan/src/xf86-video-ati'
Making all in src
make[2]: Entering directory `/home/jan/src/xf86-video-ati/src'
/bin/sh ../libtool --tag=CC   --mode=compile ccache gcc -DHAVE_CONFIG_H -I. -I..    -I/usr/include/xorg   -I/usr/include/drm -I/usr/include/X11/dri   -g -O2 -Wall -MT ati.lo -MD -MP -MF .deps/ati.Tpo -c -o ati.lo ati.c
mkdir .libs
 ccache gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/xorg -I/usr/include/drm -I/usr/include/X11/dri -g -O2 -Wall -MT ati.lo -MD -MP -MF .deps/ati.Tpo -c ati.c  -fPIC -DPIC -o .libs/ati.o
In file included from /usr/include/xorg/randrstr.h:43,
                 from radeon_probe.h:42,
                 from ati.c:66:
/usr/include/xorg/windowstr.h:131: error: field 'clipList' has incomplete type
/usr/include/xorg/windowstr.h:132: error: field 'borderClip' has incomplete type
/usr/include/xorg/windowstr.h:134: error: field 'winSize' has incomplete type
/usr/include/xorg/windowstr.h:135: error: field 'borderSize' has incomplete type
In file included from /usr/include/xorg/glyphstr.h:30,
                 from /usr/include/xorg/picturestr.h:29,
                 from /usr/include/xorg/randrstr.h:51,
                 from radeon_probe.h:42,
                 from ati.c:66:
/usr/include/xorg/picture.h:68: error: 'PIXMAN_a8r8g8b8' undeclared here (not in a function)
/usr/include/xorg/picture.h:69: error: 'PIXMAN_x8r8g8b8' undeclared here (not in a function)
/usr/include/xorg/picture.h:70: error: 'PIXMAN_a8b8g8r8' undeclared here (not in a function)
/usr/include/xorg/picture.h:71: error: 'PIXMAN_x8b8g8r8' undeclared here (not in a function)
/usr/include/xorg/picture.h:74: error: 'PIXMAN_r8g8b8' undeclared here (not in a function)
/usr/include/xorg/picture.h:75: error: 'PIXMAN_b8g8r8' undeclared here (not in a function)
/usr/include/xorg/picture.h:78: error: 'PIXMAN_r5g6b5' undeclared here (not in a function)
/usr/include/xorg/picture.h:79: error: 'PIXMAN_b5g6r5' undeclared here (not in a function)
/usr/include/xorg/picture.h:81: error: 'PIXMAN_a1r5g5b5' undeclared here (not in a function)
/usr/include/xorg/picture.h:82: error: 'PIXMAN_x1r5g5b5' undeclared here (not in a function)
/usr/include/xorg/picture.h:83: error: 'PIXMAN_a1b5g5r5' undeclared here (not in a function)
/usr/include/xorg/picture.h:84: error: 'PIXMAN_x1b5g5r5' undeclared here (not in a function)
/usr/include/xorg/picture.h:85: error: 'PIXMAN_a4r4g4b4' undeclared here (not in a function)
/usr/include/xorg/picture.h:86: error: 'PIXMAN_x4r4g4b4' undeclared here (not in a function)
/usr/include/xorg/picture.h:87: error: 'PIXMAN_a4b4g4r4' undeclared here (not in a function)
/usr/include/xorg/picture.h:88: error: 'PIXMAN_x4b4g4r4' undeclared here (not in a function)
/usr/include/xorg/picture.h:91: error: 'PIXMAN_a8' undeclared here (not in a function)
/usr/include/xorg/picture.h:92: error: 'PIXMAN_r3g3b2' undeclared here (not in a function)
/usr/include/xorg/picture.h:93: error: 'PIXMAN_b2g3r3' undeclared here (not in a function)
/usr/include/xorg/picture.h:94: error: 'PIXMAN_a2r2g2b2' undeclared here (not in a function)
/usr/include/xorg/picture.h:95: error: 'PIXMAN_a2b2g2r2' undeclared here (not in a function)
/usr/include/xorg/picture.h:97: error: 'PIXMAN_c8' undeclared here (not in a function)
/usr/include/xorg/picture.h:98: error: 'PIXMAN_g8' undeclared here (not in a function)
/usr/include/xorg/picture.h:100: error: 'PIXMAN_x4a4' undeclared here (not in a function)
/usr/include/xorg/picture.h:102: error: 'PIXMAN_x4c4' undeclared here (not in a function)
/usr/include/xorg/picture.h:103: error: 'PIXMAN_x4g4' undeclared here (not in a function)
/usr/include/xorg/picture.h:106: error: 'PIXMAN_a4' undeclared here (not in a function)
/usr/include/xorg/picture.h:107: error: 'PIXMAN_r1g2b1' undeclared here (not in a function)
/usr/include/xorg/picture.h:108: error: 'PIXMAN_b1g2r1' undeclared here (not in a function)
/usr/include/xorg/picture.h:109: error: 'PIXMAN_a1r1g1b1' undeclared here (not in a function)
/usr/include/xorg/picture.h:110: error: 'PIXMAN_a1b1g1r1' undeclared here (not in a function)
/usr/include/xorg/picture.h:112: error: 'PIXMAN_c4' undeclared here (not in a function)
/usr/include/xorg/picture.h:113: error: 'PIXMAN_g4' undeclared here (not in a function)
/usr/include/xorg/picture.h:116: error: 'PIXMAN_a1' undeclared here (not in a function)
/usr/include/xorg/picture.h:118: error: 'PIXMAN_g1' undeclared here (not in a function)
/usr/include/xorg/picture.h:171: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'xFixed_32_32'
/usr/include/xorg/picture.h:173: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'xFixed_48_16'
/usr/include/xorg/picture.h:178: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'xFixed_1_31'
/usr/include/xorg/picture.h:179: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'xFixed_1_16'
/usr/include/xorg/picture.h:180: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'xFixed_16_16'
/usr/include/xorg/picture.h:186: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'xFixed'
In file included from /usr/include/xorg/randrstr.h:51,
                 from radeon_probe.h:42,
                 from ati.c:66:
/usr/include/xorg/picturestr.h:75: error: expected specifier-qualifier-list before 'xFixed'
/usr/include/xorg/picturestr.h:102: error: expected specifier-qualifier-list before 'xFixed'
/usr/include/xorg/picturestr.h:132: error: expected specifier-qualifier-list before 'xFixed'
/usr/include/xorg/picturestr.h:181: error: expected specifier-qualifier-list before 'xFixed'
/usr/include/xorg/picturestr.h:187: error: expected declaration specifiers or '...' before 'xFixed'
/usr/include/xorg/picturestr.h:222: error: expected declaration specifiers or '...' before 'xFixed'
/usr/include/xorg/picturestr.h:496: error: expected declaration specifiers or '...' before 'xFixed'
/usr/include/xorg/picturestr.h:676: error: expected declaration specifiers or '...' before 'xFixed'
/usr/include/xorg/picturestr.h:684: error: expected declaration specifiers or '...' before 'xFixed'
/usr/include/xorg/picturestr.h:685: error: expected declaration specifiers or '...' before 'xFixed'
/usr/include/xorg/picturestr.h:687: error: expected declaration specifiers or '...' before 'xFixed'
/usr/include/xorg/picturestr.h:694: error: expected declaration specifiers or '...' before 'xFixed'
/usr/include/xorg/picturestr.h:696: error: expected declaration specifiers or '...' before 'xFixed'
ati.c:228: error: 'PACKAGE_VERSION_MAJOR' undeclared here (not in a function)
ati.c:228: error: 'PACKAGE_VERSION_MINOR' undeclared here (not in a function)
ati.c:228: error: 'PACKAGE_VERSION_PATCHLEVEL' undeclared here (not in a function)
make[2]: *** [ati.lo] Fehler 1
make[2]: Leaving directory `/home/jan/src/xf86-video-ati/src'
make[1]: *** [all-recursive] Fehler 1
make[1]: Leaving directory `/home/jan/src/xf86-video-ati'
make: *** [all] Fehler 2

Offline

#3 2007-09-18 10:47:16

loswillios
Member
Registered: 2007-09-07
Posts: 4

Re: building xf86-driver-ati fails

util-macros was missing, now it's working

Offline

Board footer

Powered by FluxBB