Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
mm-sources with fglrx
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Unsupported Software
View previous topic :: View next topic  
Author Message
hedmo
l33t
l33t


Joined: 29 Aug 2009
Posts: 923
Location: halmstad

PostPosted: Wed Mar 24, 2010 8:34 pm    Post subject: mm-sources with fglrx Reply with quote

Why does it breaks?

here is the error in log.file

firegl_public.c: In function 'KCL_SetPageCache_Array':
firegl_public.c:1324: warning: passing argument 1 of 'KCL_ConvertPageToKernelAddress' makes pointer from integer without a cast
firegl_public.h:325: note: expected 'void *' but argument is of type 'long unsigned int'
firegl_public.c: In function 'KCL_PosixSecurityCapSetIPCLock':
firegl_public.c:1938: error: 'struct task_struct' has no member named 'cap_effective'
firegl_public.c:1942: error: 'struct task_struct' has no member named 'cap_effective'
build_mod/2.6.x/firegl_public.o] Error 1


Last edited by hedmo on Sat Apr 03, 2010 9:30 am; edited 1 time in total
Back to top
View user's profile Send private message
hedmo
l33t
l33t


Joined: 29 Aug 2009
Posts: 923
Location: halmstad

PostPosted: Sat Apr 03, 2010 9:09 am    Post subject: Reply with quote

mybox ~ # emerge -av ati-drivers

* IMPORTANT: 2 news items need reading for repository 'gentoo'.
* Use eselect news to read news items.


These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild R ] x11-drivers/ati-drivers-10.4 USE="modules (multilib) qt4 -debug" 0 kB [1]

Total: 1 package (1 reinstall), Size of downloads: 0 kB
Portage tree and overlays:
[0] /usr/portage
[1] /var/lib/layman/gentoo-quebec

Would you like to merge these packages? [Yes/No] y

>>> Verifying ebuild manifests

>>> Emerging (1 of 1) x11-drivers/ati-drivers-10.4 from gentoo-quebec
* fglrx-installer_8.721.tar.bz2 RMD160 SHA1 SHA256 size ;-) ... [ ok ]
* checking ebuild checksums ;-) ... [ ok ]
* checking auxfile checksums ;-) ... [ ok ]
* checking miscfile checksums ;-) ... [ ok ]
* CPV: x11-drivers/ati-drivers-10.4
* REPO: gentoo-quebec
* USE: amd64 elibc_glibc kernel_linux modules multilib qt4 userland_GNU
* Determining the location of the kernel source code
* Found kernel source directory:
* /usr/src/linux
* Found kernel object directory:
* /lib/modules/2.6.28-rc2-mm1/build
* Found sources for kernel version:
* 2.6.28-rc2-mm1
*
* Please note that this driver supports only graphic cards based on
* r600 chipset and newer.
* This represent the ATI Radeon HD series at this moment.
*
* If your card is older then usage of x11-drivers/xf86-video-ati
* as replacement is highly recommended. Rather than staying with
* old versions of this driver.
* For migration informations please reffer to:
* http://www.gentoo.org/proj/en/desktop/x/x11/ati-migration-guide.xml
*
>>> Unpacking source...
>>> Unpacking fglrx-installer_8.721.tar.bz2 to /var/tmp/portage/x11-drivers/ati-drivers-10.4/work
>>> Source unpacked in /var/tmp/portage/x11-drivers/ati-drivers-10.4/work
>>> Preparing source in /var/tmp/portage/x11-drivers/ati-drivers-10.4/work ...
* Applying ati-drivers-2.6.33.patch ... [ ok ]
* Applying ati-drivers-fix_compilation-bug-297322.patch ... [ ok ]
* Applying ati-powermode-opt-path-2.patch ... [ ok ]
* Converting 2.6.x/Makefile to use M= instead of SUBDIRS= ... [ ok ]
>>> Unpacking ./../usr/src/ati/fglrx_sample_source.tgz to /var/tmp/portage/x11-drivers/ati-drivers-10.4/work/extra
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/x11-drivers/ati-drivers-10.4/work ...
>>> Source configured.
>>> Compiling source in /var/tmp/portage/x11-drivers/ati-drivers-10.4/work ...
* Preparing fglrx module
make -j3 HOSTCC=x86_64-pc-linux-gnu-gcc CROSS_COMPILE=x86_64-pc-linux-gnu- LDFLAGS= GCC_VER_MAJ=4 KVER=2.6.28-rc2-mm1 KDIR=/usr/src/linux kmod_build
make -C /usr/src/linux M=/var/tmp/portage/x11-drivers/ati-drivers-10.4/work/lib/modules/fglrx/build_mod/2.6.x modules
make[1]: Entering directory `/usr/src/linux-2.6.28-rc2-mm1'
CC [M] /var/tmp/portage/x11-drivers/ati-drivers-10.4/work/lib/modules/fglrx/build_mod/2.6.x/firegl_public.o
CC [M] /var/tmp/portage/x11-drivers/ati-drivers-10.4/work/lib/modules/fglrx/build_mod/2.6.x/kcl_acpi.o
CC [M] /var/tmp/portage/x11-drivers/ati-drivers-10.4/work/lib/modules/fglrx/build_mod/2.6.x/kcl_agp.o
CC [M] /var/tmp/portage/x11-drivers/ati-drivers-10.4/work/lib/modules/fglrx/build_mod/2.6.x/kcl_debug.o
/var/tmp/portage/x11-drivers/ati-drivers-10.4/work/lib/modules/fglrx/build_mod/2.6.x/kcl_debug.c: In function 'KCL_DEBUG_Print':
/var/tmp/portage/x11-drivers/ati-drivers-10.4/work/lib/modules/fglrx/build_mod/2.6.x/kcl_debug.c:96: warning: format not a string literal and no format arguments
/var/tmp/portage/x11-drivers/ati-drivers-10.4/work/lib/modules/fglrx/build_mod/2.6.x/kcl_debug.c: In function '__ke_printk':
/var/tmp/portage/x11-drivers/ati-drivers-10.4/work/lib/modules/fglrx/build_mod/2.6.x/kcl_debug.c:157: warning: format not a string literal and no format arguments
CC [M] /var/tmp/portage/x11-drivers/ati-drivers-10.4/work/lib/modules/fglrx/build_mod/2.6.x/kcl_ioctl.o
CC [M] /var/tmp/portage/x11-drivers/ati-drivers-10.4/work/lib/modules/fglrx/build_mod/2.6.x/kcl_io.o
CC [M] /var/tmp/portage/x11-drivers/ati-drivers-10.4/work/lib/modules/fglrx/build_mod/2.6.x/kcl_pci.o
/var/tmp/portage/x11-drivers/ati-drivers-10.4/work/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c: In function 'KCL_SetPageCache_Array':
/var/tmp/portage/x11-drivers/ati-drivers-10.4/work/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:1324: warning: passing argument 1 of 'KCL_ConvertPageToKernelAddress' makes pointer from integer without a cast
/var/tmp/portage/x11-drivers/ati-drivers-10.4/work/lib/modules/fglrx/build_mod/2.6.x/firegl_public.h:325: note: expected 'void *' but argument is of type 'long unsigned int'
/var/tmp/portage/x11-drivers/ati-drivers-10.4/work/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c: In function 'KCL_PosixSecurityCapSetIPCLock':
/var/tmp/portage/x11-drivers/ati-drivers-10.4/work/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:1938: error: 'struct task_struct' has no member named 'cap_effective'
/var/tmp/portage/x11-drivers/ati-drivers-10.4/work/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:1942: error: 'struct task_struct' has no member named 'cap_effective'
make[2]: *** [/var/tmp/portage/x11-drivers/ati-drivers-10.4/work/lib/modules/fglrx/build_mod/2.6.x/firegl_public.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[1]: *** [_module_/var/tmp/portage/x11-drivers/ati-drivers-10.4/work/lib/modules/fglrx/build_mod/2.6.x] Error 2
make[1]: Leaving directory `/usr/src/linux-2.6.28-rc2-mm1'
make: *** [kmod_build] Error 2
* ERROR: x11-drivers/ati-drivers-10.4 failed:
* Unable to emake HOSTCC=x86_64-pc-linux-gnu-gcc CROSS_COMPILE=x86_64-pc-linux-gnu- LDFLAGS= GCC_VER_MAJ=4 KVER=2.6.28-rc2-mm1 KDIR=/usr/src/linux kmod_build
*
* Call stack:
* ebuild.sh, line 54: Called src_compile
* environment, line 3736: Called linux-mod_src_compile
* environment, line 2891: Called die
* The specific snippet of code:
* eval "emake HOSTCC=\"$(tc-getBUILD_CC)\" CROSS_COMPILE=${CHOST}- LDFLAGS=\"$(get_abi_LDFLAGS)\" ${BUILD_FIXES} ${BUILD_PARAMS} ${BUILD_TARGETS} " || die "Unable to emake HOSTCC="$(tc-getBUILD_CC)" CROSS_COMPILE=${CHOST}- LDFLAGS="$(get_abi_LDFLAGS)" ${BUILD_FIXES} ${BUILD_PARAMS} ${BUILD_TARGETS}";
*
* If you need support, post the output of 'emerge --info =x11-drivers/ati-drivers-10.4',
* the complete build log and the output of 'emerge -pqv =x11-drivers/ati-drivers-10.4'.
* This ebuild is from an overlay named 'gentoo-quebec': '/var/lib/layman/gentoo-quebec/'
* The complete build log is located at '/var/tmp/portage/x11-drivers/ati-drivers-10.4/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/x11-drivers/ati-drivers-10.4/temp/environment'.
* S: '/var/tmp/portage/x11-drivers/ati-drivers-10.4/work'

>>> Failed to emerge x11-drivers/ati-drivers-10.4, Log file:

>>> '/var/tmp/portage/x11-drivers/ati-drivers-10.4/temp/build.log'

* Messages for package x11-drivers/ati-drivers-10.4:

*
* Please note that this driver supports only graphic cards based on
* r600 chipset and newer.
* This represent the ATI Radeon HD series at this moment.
*
* If your card is older then usage of x11-drivers/xf86-video-ati
* as replacement is highly recommended. Rather than staying with
* old versions of this driver.
* For migration informations please reffer to:
* http://www.gentoo.org/proj/en/desktop/x/x11/ati-migration-guide.xml
* ERROR: x11-drivers/ati-drivers-10.4 failed:
* Unable to emake HOSTCC=x86_64-pc-linux-gnu-gcc CROSS_COMPILE=x86_64-pc-linux-gnu- LDFLAGS= GCC_VER_MAJ=4 KVER=2.6.28-rc2-mm1 KDIR=/usr/src/linux kmod_build
*
* Call stack:
* ebuild.sh, line 54: Called src_compile
* environment, line 3736: Called linux-mod_src_compile
* environment, line 2891: Called die
* The specific snippet of code:
* eval "emake HOSTCC=\"$(tc-getBUILD_CC)\" CROSS_COMPILE=${CHOST}- LDFLAGS=\"$(get_abi_LDFLAGS)\" ${BUILD_FIXES} ${BUILD_PARAMS} ${BUILD_TARGETS} " || die "Unable to emake HOSTCC="$(tc-getBUILD_CC)" CROSS_COMPILE=${CHOST}- LDFLAGS="$(get_abi_LDFLAGS)" ${BUILD_FIXES} ${BUILD_PARAMS} ${BUILD_TARGETS}";
*
* If you need support, post the output of 'emerge --info =x11-drivers/ati-drivers-10.4',
* the complete build log and the output of 'emerge -pqv =x11-drivers/ati-drivers-10.4'.
* This ebuild is from an overlay named 'gentoo-quebec': '/var/lib/layman/gentoo-quebec/'
* The complete build log is located at '/var/tmp/portage/x11-drivers/ati-drivers-10.4/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/x11-drivers/ati-drivers-10.4/temp/environment'.
* S: '/var/tmp/portage/x11-drivers/ati-drivers-10.4/work'

* IMPORTANT: 2 news items need reading for repository 'gentoo'.
* Use eselect news to read news items.

mybox ~ #
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Unsupported Software All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum