Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 159622 - ati-drivers-8.28.8 for radeon 9200/9250 with kernel >= 2.6.18
Summary: ati-drivers-8.28.8 for radeon 9200/9250 with kernel >= 2.6.18
Status: RESOLVED DUPLICATE of bug 156790
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High major (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-01-01 08:40 UTC by Geaaru
Modified: 2007-01-01 08:51 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
fixed problem on firegl_public.c (firegl_public_patch_2.6.18,806 bytes, patch)
2007-01-01 08:45 UTC, Geaaru
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Geaaru 2007-01-01 08:40:20 UTC
make -C /lib/modules/2.6.19-Lke/build SUBDIRS=/lib/modules/fglrx/build_mod/2.6.x modules
make[1]: Entering directory `/usr/src/linux-2.6.19'
  CC [M]  /lib/modules/fglrx/build_mod/2.6.x/firegl_public.o
/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:233: error: `UTS_RELEASE' undeclared here (not in a function)
/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:447: warning: initialization from incompatible pointer type
/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c: In function `firegl_stub_open':
/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:570: warning: assignment discards qualifiers from pointer target type
/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c: In function `__ke_request_irq':
/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:2492: warning: passing arg 2 of `request_irq' from incompatible pointer type
/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c: In function `__ke_smp_call_function':
/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:3880: warning: passing arg 1 of `smp_call_function' from incompatible pointer type
make[2]: *** [/lib/modules/fglrx/build_mod/2.6.x/firegl_public.o] Error 1
make[1]: *** [_module_/lib/modules/fglrx/build_mod/2.6.x] Error 2
make[1]: Leaving directory `/usr/src/linux-2.6.19'
make: *** [kmod_build] Error 2
Comment 1 Geaaru 2007-01-01 08:45:12 UTC
Created attachment 105083 [details, diff]
fixed problem on firegl_public.c

And this is solution. Please add to portage. thanks. 
P.S. So is possible use proprietary driver for radeon 9200/9250 (because new release doesn't support its)

There is a patch for firegl_public.c file for UTS_RELEASE and VH_SHM variables undefined.

then on ati-drivers-8.28.8.ebuild add this line on src_unpack function:

src_unpack() {
	local OLDBIN="/usr/X11R6/bin"

	ebegin "Unpacking Ati drivers"
	sh ${DISTDIR}/${A} --extract ${WORKDIR} &> /dev/null
	eend $? || die "unpack failed"

	rm -rf ${ARCH_DIR}/usr/X11R6/bin/{fgl_glxgears,fireglcontrolpanel}

	if use acpi
	then
		sed -i \
		-e "s/\/var\/lib\/xdm\/authdir/\/etc\/X11\/xdm\/authdir/" \
		-e "s/\/var\/lib\/gdm/\/var\/gdm/" \
		-e "s/#ffff#/#ffff##:.*MIT-MAGIC-COOKIE/" \
		"${WORKDIR}/common/etc/ati/authatieventsd.sh" \
			|| die "sed failed."

		cd ${WORKDIR}
		epatch ${FILESDIR}/ati-powermode.sh.patch
	fi
+	epatch ${FILESDIR}/firegl_public_patch_2.6.18
}

thanks. I hope that this patch works as for me. Bye
Comment 2 Jakub Moc (RETIRED) gentoo-dev 2007-01-01 08:51:56 UTC

*** This bug has been marked as a duplicate of 156790 ***