Not much in xorg.0.log:
Code: Select all
(II) RADEON(0): Damage tracking initialized for page flippingCode: Select all
(II) RADEON(0): Damage tracking initialized for page flippingis this true?As of 5th july 2007 there doesn't exist overlay r300-driver anymore. Instead it use overlays: layman -a x11 nouveau
r300-driver still exists, and is used. Read the last comment on the talk page. Last line... "it works now". I think the site may have been down at that time.lordcris wrote:from http://gentoo-wiki.com/HOWTO_DRI_with_A ... ce_Driversis this true?As of 5th july 2007 there doesn't exist overlay r300-driver anymore. Instead it use overlays: layman -a x11 nouveau

Code: Select all
glxdri.c: In function '__glXReportDamage':
glxdri.c:952: warning: implicit declaration of function 'containerOf'
glxdri.c:952: warning: nested extern declaration of 'containerOf'
glxdri.c:952: error: expected expression before '__GLXDRIdrawable'
glxdri.c:952: warning: initialization makes pointer from integer without a cast
glxdri.c: At top level:
glxdri.c:982: warning: initialization from incompatible pointer type
make[2]: *** [glxdri.lo] Error 1
make[2]: *** Waiting for unfinished jobs....

Code: Select all
configure: creating ./config.status
config.status: creating Makefile
config.status: creating src/Makefile
config.status: creating man/Makefile
config.status: creating config.h
config.status: executing depfiles commands
make all-recursive
make[1]: Entering directory `/var/tmp/portage/x11-drivers/xf86-video-ati-9999/work/xf86-video-ati-9999'
Making all in src
make[2]: Entering directory `/var/tmp/portage/x11-drivers/xf86-video-ati-9999/work/xf86-video-ati-9999/src'
/bin/sh ../libtool --tag=CC --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/xorg -I/usr/include/drm -I/usr/include/X11/dri -march=athlon64 -O2 -pipe -Wall -MT ati.lo -MD -MP -MF .deps/ati.Tpo -c -o ati.lo ati.c
/bin/sh ../libtool --tag=CC --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/xorg -I/usr/include/drm -I/usr/include/X11/dri -march=athlon64 -O2 -pipe -Wall -MT atimodule.lo -MD -MP -MF .deps/atimodule.Tpo -c -o atimodule.lo atimodule.c
mkdir .libs
x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/xorg -I/usr/include/drm -I/usr/include/X11/dri -march=athlon64 -O2 -pipe -Wall -MT ati.lo -MD -MP -MF .deps/ati.Tpo -c ati.c -fPIC -DPIC -o .libs/ati.o
x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/xorg -I/usr/include/drm -I/usr/include/X11/dri -march=athlon64 -O2 -pipe -Wall -MT atimodule.lo -MD -MP -MF .deps/atimodule.Tpo -c atimodule.c -fPIC -DPIC -o .libs/atimodule.o
In file included from /usr/include/xorg/regionstr.h:53,
from /usr/include/xorg/region.h:51,
from /usr/include/xorg/window.h:52,
from /usr/include/xorg/input.h:55,
from /usr/include/xorg/xf86str.h:38,
from /usr/include/xorg/xf86.h:45,
from ati.h:30,
from ati.c:60:
/usr/include/xorg/miscstruct.h:54:27: error: pixman/pixman.h: No such file or directory
In file included from /usr/include/xorg/regionstr.h:53,
from /usr/include/xorg/region.h:51,
from /usr/include/xorg/window.h:52,
from /usr/include/xorg/input.h:55,
from /usr/include/xorg/xf86str.h:38,
from /usr/include/xorg/xf86.h:45,
from ati.h:30,
from atimodule.c:29:
/usr/include/xorg/miscstruct.h:54:27: error: pixman/pixman.h: No such file or directory
make[2]: *** [atimodule.lo] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: *** [ati.lo] Error 1
make[2]: Leaving directory `/var/tmp/portage/x11-drivers/xf86-video-ati-9999/work/xf86-video-ati-9999/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/x11-drivers/xf86-video-ati-9999/work/xf86-video-ati-9999'
make: *** [all] Error 2
!!! ERROR: x11-drivers/xf86-video-ati-9999 failed.
Call stack:
ebuild.sh, line 1632: Called dyn_compile
ebuild.sh, line 983: Called qa_call 'src_compile'
ebuild.sh, line 44: Called src_compile
ebuild.sh, line 1322: Called x-modular_src_compile
x-modular.eclass, line 337: Called x-modular_src_make
x-modular.eclass, line 332: Called die
OK, since I need my mouse now, and probably some other people are in the same situation, here's an ebuild that works for me. I took the 1.2.2 ebuild from portage and edited it using Primozic's keyboard ebuild, from his overlay, as a template. I make no guarantees, and it should be checked by someone with skills, but my mouse moves now.Slippery Jim wrote:Looks like the latest git xorg-server wants an xf86-input-mouse driver with the version 2 ABI. Primozic, could you please add a git ebuild for it to your overlay, if it's not too much trouble?
Code: Select all
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/x11-drivers/xf86-input-mouse/xf86-input-mouse-1.2.2.ebuild,v 1.1 2007/08/01 20:22:46 dberkholz Exp $
# Must be before x-modular eclass is inherited
SNAPSHOT="yes"
XDPVER=4
EGIT_REPO_URI="git://anongit.freedesktop.org/git/xorg/driver/${PN}"
inherit x-modular git
DESCRIPTION="X.Org driver for mouse input devices"
unset SRC_URI
KEYWORDS=""
RDEPEND=">=x11-base/xorg-server-1.2.99"
DEPEND="${RDEPEND}
x11-proto/inputproto
x11-proto/randrproto
x11-proto/xproto"
src_unpack() {
x-modular_specs_check
x-modular_server_supports_drivers_check
git_src_unpack
x-modular_patch_source
x-modular_reconf_source
}Code: Select all
checking for PCIACCESS... configure: error: Package requirements (pciaccess >= 0.8.0) were not met:
No package 'pciaccess' found
Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.
Alternatively, you may set the environment variables PCIACCESS_CFLAGS
and PCIACCESS_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.
Code: Select all
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
# Must be before x-modular eclass is inherited
SNAPSHOT="yes"
EGIT_REPO_URI="git://anongit.freedesktop.org/git/xorg/lib/libpciaccess"
inherit x-modular git
DESCRIPTION="Library providing generic access to the PCI bus and devices"
SRC_URI=""
KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~ppc ~ppc64 ~sh ~sparc ~x86 ~x86-fbsd"
IUSE=""
DEPEND=">=x11-base/xorg-server-1.2.99.901"
src_unpack() {
git_src_unpack
x-modular_specs_check
x-modular_server_supports_drivers_check
x-modular_dri_check
# x-modular_unpack_source
x-modular_patch_source
x-modular_reconf_source
}
Code: Select all
powerpc-unknown-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/xorg -I/usr/include/pixman-1 -I/usr/include/drm -I/usr/include/X11/dri -O2 -pipe -mcpu=7450 -maltivec -mabi=altivec -Wall -MT ati.lo -MD -MP -MF .deps/ati.Tpo -c ati.c -fPIC -DPIC -o .libs/ati.o
powerpc-unknown-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/xorg -I/usr/include/pixman-1 -I/usr/include/drm -I/usr/include/X11/dri -O2 -pipe -mcpu=7450 -maltivec -mabi=altivec -Wall -MT atimodule.lo -MD -MP -MF .deps/atimodule.Tpo -c atimodule.c -fPIC -DPIC -o .libs/atimodule.o
ati.c: In function 'ATIProbe':
ati.c:101: error: 'pciVideoPtr' undeclared (first use in this function)
ati.c:101: error: (Each undeclared identifier is reported only once
ati.c:101: error: for each function it appears in.)
ati.c:101: error: expected ';' before 'pVideo'
ati.c:102: error: 'xf86PciVideoInfo' undeclared (first use in this function)
ati.c:107: warning: implicit declaration of function 'xf86GetPciVideoInfo'
ati.c:112: error: 'pVideo' undeclared (first use in this function)
make[2]: *** [ati.lo] Error 1
make[2]: *** Waiting for unfinished jobs....
mv -f .deps/atimodule.Tpo .deps/atimodule.Plo
make[2]: Leaving directory `/var/tmp/portage/x11-drivers/xf86-video-ati-9999/work/xf86-video-ati-9999/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/x11-drivers/xf86-video-ati-9999/work/xf86-video-ati-9999'
make: *** [all] Error 2
*
* ERROR: x11-drivers/xf86-video-ati-9999 failed.
* Call stack:
* ebuild.sh, line 1654: Called dyn_compile
* ebuild.sh, line 990: Called qa_call 'src_compile'
* ebuild.sh, line 44: Called src_compile
* ebuild.sh, line 1334: Called x-modular_src_compile
* x-modular.eclass, line 337: Called x-modular_src_make
* x-modular.eclass, line 332: Called die
*

Works fine for me. Try remerging libdrm first. the xf86-video-ati ebuild depends on it, and they might be out of sync. If that fails, do what I do every time I update:Lithium07 wrote:I ve got the same error when compiling the xf86-video-ati package. Does anybody know a solution or do we have to wait? thx
lordcris wrote:tnx man,Slippery Jim wrote:
Works fine for me. Try remerging libdrm first. the xf86-video-ati ebuild depends on it, and they might be out of sync.
now it works.
Code: Select all
mv -f .deps/atimodule.Tpo .deps/atimodule.Plo
/bin/sh ../libtool --tag=CC --mode=compile powerpc-unknown-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/xorg -I/usr/include/pixman-1 -I/usr/include/drm -I/usr/include/X11/dri -O2 -pipe -mcpu=7450 -maltivec -mabi=altivec -Wall -MT atibus.lo -MD -MP -MF .deps/atibus.Tpo -c -o atibus.lo atibus.c
ati.c: In function 'ATIProbe':
ati.c:101: error: 'pciVideoPtr' undeclared (first use in this function)
ati.c:101: error: (Each undeclared identifier is reported only once
ati.c:101: error: for each function it appears in.)
ati.c:101: error: expected ';' before 'pVideo'
ati.c:102: error: 'xf86PciVideoInfo' undeclared (first use in this function)
ati.c:107: warning: implicit declaration of function 'xf86GetPciVideoInfo'
ati.c:112: error: 'pVideo' undeclared (first use in this function)
make[2]: *** [ati.lo] Error 1
make[2]: *** Waiting for unfinished jobs....
powerpc-unknown-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/xorg -I/usr/include/pixman-1 -I/usr/include/drm -I/usr/include/X11/dri -O2 -pipe -mcpu=7450 -maltivec -mabi=altivec -Wall -MT atibus.lo -MD -MP -MF .deps/atibus.Tpo -c atibus.c -fPIC -DPIC -o .libs/atibus.o
In file included from atimach64io.h:38,
from atibus.c:33:
atistruct.h:266: error: expected specifier-qualifier-list before 'pciVideoPtr'
In file included from atibus.c:33:
atimach64io.h: In function 'ATIDRIMarkSyncInt':
atimach64io.h:245: error: 'struct _ATIRec' has no member named 'useEXA'
atimach64io.h:249: error: 'struct _ATIRec' has no member named 'useEXA'
atimach64io.h:250: error: 'struct _ATIRec' has no member named 'pXAAInfo'
atimach64io.h: In function 'ATIDRIMarkSyncExt':
atimach64io.h:262: error: 'struct _ATIRec' has no member named 'NeedDRISync'
atimach64io.h: In function 'ATIDRISync':
atimach64io.h:269: error: 'struct _ATIRec' has no member named 'directRenderingEnabled'
atimach64io.h:269: error: 'struct _ATIRec' has no member named 'pExa'
atimach64io.h:271: error: 'struct _ATIRec' has no member named 'NeedDRISync'
atimach64io.h:275: error: 'struct _ATIRec' has no member named 'directRenderingEnabled'
atimach64io.h:275: error: 'struct _ATIRec' has no member named 'pXAAInfo'
atimach64io.h:277: error: 'struct _ATIRec' has no member named 'NeedDRISync'
atimach64io.h:277: error: 'struct _ATIRec' has no member named 'pXAAInfo'
atibus.c: In function 'ATIClaimBusSlot':
atibus.c:120: error: 'struct _ATIRec' has no member named 'iEntity'
atibus.c:123: error: 'struct _ATIRec' has no member named 'iEntity'
make[2]: *** [atibus.lo] Error 1
make[2]: Leaving directory `/var/tmp/portage/x11-drivers/xf86-video-ati-9999/work/xf86-video-ati-9999/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/x11-drivers/xf86-video-ati-9999/work/xf86-video-ati-9999'
make: *** [all] Error 2
*
* ERROR: x11-drivers/xf86-video-ati-9999 failed.
* Call stack:
* ebuild.sh, line 1654: Called dyn_compile
* ebuild.sh, line 990: Called qa_call 'src_compile'
* ebuild.sh, line 44: Called src_compile
* ebuild.sh, line 1334: Called x-modular_src_compile
* x-modular.eclass, line 337: Called x-modular_src_make
* x-modular.eclass, line 332: Called die
*
* emake failed
* If you need support, post the topmost build error, and the call stack if relevant.
* A complete build log is located at '/var/tmp/portage/x11-drivers/xf86-video-ati-9999/temp/build.log'.
* This ebuild is from an overlay: '/usr/local/layman/r300-driver/'
Code: Select all
emerge -v libdrm libpixman x11-drm mesa mesa-progs libpciaccess xorg-server xf86-input-keyboard xf86-video-ati xf86-input-mouse synapticsi got it from Lithium07 ( a couple of posts up )Blaine wrote:Where does that libpciaccess ebuild come from? As far as I can see it is neither in portage nor in r300-overlay.
Code: Select all
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
# Must be before x-modular eclass is inherited
SNAPSHOT="yes"
EGIT_REPO_URI="git://anongit.freedesktop.org/git/xorg/lib/libpciaccess"
inherit x-modular git
DESCRIPTION="Library providing generic access to the PCI bus and devices"
SRC_URI=""
KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~ppc ~ppc64 ~sh ~sparc ~x86 ~x86-fbsd"
IUSE=""
DEPEND=">=x11-base/xorg-server-1.2.99.901"
src_unpack() {
git_src_unpack
x-modular_specs_check
x-modular_server_supports_drivers_check
x-modular_dri_check
# x-modular_unpack_source
x-modular_patch_source
x-modular_reconf_source
}i guess somebody should release a cvs of the 1.4 branch ...------ Comment #1 From Michel Dänzer 2007-08-27 06:56:56 PST [reply] -------
The driver needs to be adapated to the pci-rework changes merged to the xserver
master branch recently. Meanwhile, you may want to try the xserver
server-1.4-branch.

a quick fix for your problem could beSlippery Jim wrote:yeah, I can't get past that pciVideoPtr error either. I'm typing this on my laptop instead of my main system because of this. I guess I should've built some binary packages before installing to the live system. It looks like we'll have to wait for someone to check something into the repository.
Code: Select all
emerge =xorg-server-1.3.0.0 xf86-video-atiany update on this? I'm getting this same error on the current cvs.. :Si update my xorg-server using this command:Code: Select all
mv -f .deps/atimodule.Tpo .deps/atimodule.Plo /bin/sh ../libtool --tag=CC --mode=compile powerpc-unknown-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/xorg -I/usr/include/pixman-1 -I/usr/include/drm -I/usr/include/X11/dri -O2 -pipe -mcpu=7450 -maltivec -mabi=altivec -Wall -MT atibus.lo -MD -MP -MF .deps/atibus.Tpo -c -o atibus.lo atibus.c ati.c: In function 'ATIProbe': ati.c:101: error: 'pciVideoPtr' undeclared (first use in this function) ati.c:101: error: (Each undeclared identifier is reported only once ati.c:101: error: for each function it appears in.) ati.c:101: error: expected ';' before 'pVideo' ati.c:102: error: 'xf86PciVideoInfo' undeclared (first use in this function) ati.c:107: warning: implicit declaration of function 'xf86GetPciVideoInfo' ati.c:112: error: 'pVideo' undeclared (first use in this function) make[2]: *** [ati.lo] Error 1 make[2]: *** Waiting for unfinished jobs.... ....Code: Select all
emerge -v libdrm libpixman x11-drm mesa mesa-progs libpciaccess xorg-server xf86-input-keyboard xf86-video-ati xf86-input-mouse synaptics