[Pkg-fglrx-devel] Bug#476844: fglrx-kernel-src: m-a a-i fails for 2.6.25-2-amd64

Kevin Mitchell kevmitch at gmail.com
Wed May 28 21:26:20 UTC 2008


Package: fglrx-kernel-src
Version: 8.47.3-3
Followup-For: Bug #476844

Updated infos about 1 packages



I tried to compile using module assitant and and specifying the kernel to compile for (I'm only running linux-image-2.6.25-1-amd64 at the moment and unfortunately can't reboot right now). The first error I can see says something about not finding /usr/src/linux-headers-2.6.25-2-amd64/scripts/gcc-x86_64-has-stack-protector.sh. Indeed this file does not exist in my headers directory. It doesn't appear to exist in the full source tree either.

# aptitude install linux-image-2.6.25-2-amd64 linux-headers-2.6.25-2-amd64 fglrx-kernel-src fglrx-glx fglrx-glx-ia32 fglrx-driver
# m-a a-i -t fglrx-kernel -l 2.6.25-2-amd64
Getting source for kernel version: 2.6.25-2-amd64
Kernel headers available in /lib/modules/2.6.25-2-amd64/build
Creating symlink...
apt-get install build-essential 
Reading package lists... Done
Building dependency tree       
Reading state information... Done
build-essential is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 2 not upgraded.

Done!
unpack 
Extracting the package tarball, /usr/src/fglrx.tar.bz2, please wait...
"/usr/share/modass/packages/fglrx-kernel-src" build KVERS=2.6.25-2-amd64 KSRC=/lib/modules/2.6.25-2-amd64/build KDREV=2.6.25-3 kdist_image
/usr/bin/make  -f debian/rules clean
make[1]: Entering directory `/usr/src/modules/fglrx'
dh_testroot
rm -f configure-stamp
rm -f fglrx.ko fglrx.mod.c *.o libfglrx_ip.a
rm -f .version .*.o.flags .*.o.d .*.o.cmd .*.ko.cmd
rm -rf .tmp_versions
rm -rf patch
dh_clean
rm /usr/src/modules/fglrx/debian/control
rm /usr/src/modules/fglrx/debian/dirs
rm: cannot remove `/usr/src/modules/fglrx/debian/dirs': No such file or directory
make[1]: [clean] Error 1 (ignored)
make[1]: Leaving directory `/usr/src/modules/fglrx'
/usr/bin/make  -f debian/rules binary_modules
make[1]: Entering directory `/usr/src/modules/fglrx'
if [ -f /usr/src/modules/fglrx/debian/control.template ]; then \
                cat /usr/src/modules/fglrx/debian/control.template > /usr/src/modules/fglrx/debian/control; \
        fi
dh_testdir
touch configure-stamp
dh_testdir
/usr/bin/make -C /lib/modules/2.6.25-2-amd64/build SUBDIRS=/usr/src/modules/fglrx modules
/bin/sh: /usr/src/linux-headers-2.6.25-2-amd64/scripts/gcc-x86_64-has-stack-protector.sh: No such file or directory
/bin/sh: /usr/src/linux-headers-2.6.25-2-amd64/scripts/gcc-x86_64-has-stack-protector.sh: No such file or directory
make[2]: Entering directory `/usr/src/linux-headers-2.6.25-2-amd64'
  CC [M]  /usr/src/modules/fglrx/firegl_public.o
/usr/src/modules/fglrx/firegl_public.c: In function 'KCL_SetPageNoCache':
/usr/src/modules/fglrx/firegl_public.c:1163: warning: 'change_page_attr' is deprecated (declared at include/asm/cacheflush.h:28)
/usr/src/modules/fglrx/firegl_public.c: In function 'firegl_put_user_ptr':
/usr/src/modules/fglrx/firegl_public.c:1596: warning: cast from pointer to integer of different size
/usr/src/modules/fglrx/firegl_public.c:1596: warning: cast from pointer to integer of different size
/usr/src/modules/fglrx/firegl_public.c:1596: warning: cast from pointer to integer of different size
/usr/src/modules/fglrx/firegl_public.c:1596: warning: cast from pointer to integer of different size
/usr/src/modules/fglrx/firegl_public.c: In function 'KCL_PosixSecurityCapGetEffectiveVector':
/usr/src/modules/fglrx/firegl_public.c:1890: error: implicit declaration of function 'cap_t'
/usr/src/modules/fglrx/firegl_public.c: In function 'KCL_PosixSecurityCapSetEffectiveVector':
/usr/src/modules/fglrx/firegl_public.c:1898: error: invalid lvalue in assignment
/usr/src/modules/fglrx/firegl_public.c: In function '__ke_check_pci':
/usr/src/modules/fglrx/firegl_public.c:1953: warning: 'pci_find_slot' is deprecated (declared at include/linux/pci.h:508)
/usr/src/modules/fglrx/firegl_public.c: In function '__ke_pci_find_slot':
/usr/src/modules/fglrx/firegl_public.c:2842: warning: 'pci_find_slot' is deprecated (declared at include/linux/pci.h:508)
/usr/src/modules/fglrx/firegl_public.c: In function '__ke_unregister_ioctl32_conversion':
/usr/src/modules/fglrx/firegl_public.c:2974: warning: 'return' with a value, in function returning void
/usr/src/modules/fglrx/firegl_public.c: In function 'KAS_SlabCache_Initialize':
/usr/src/modules/fglrx/firegl_public.c:5221: warning: cast from pointer to integer of different size
make[3]: *** [/usr/src/modules/fglrx/firegl_public.o] Error 1
make[2]: *** [_module_/usr/src/modules/fglrx] Error 2
make[2]: Leaving directory `/usr/src/linux-headers-2.6.25-2-amd64'
make[1]: *** [build] Error 2
make[1]: Leaving directory `/usr/src/modules/fglrx'
make: *** [kdist_image] Error 2
BUILD FAILED!
See /var/cache/modass/fglrx-kernel-src.buildlog.2.6.25-2-amd64.1212009115 for details.
Build failed. Press Return to continue...



-- System Information:
Debian Release: lenny/sid
  APT prefers testing
  APT policy: (600, 'testing'), (300, 'stable'), (200, 'unstable'), (100, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.25-1-amd64 (SMP w/8 CPU cores)
Locale: LANG=en_CA, LC_CTYPE=en_CA (charmap=ISO-8859-1) (ignored: LC_ALL set to en_GB)
Shell: /bin/sh linked to /bin/bash

Versions of packages fglrx-kernel-src depends on:
ii  bzip2                         1.0.5-0.1  high-quality block-sorting file co
ii  debhelper                     7.0.8      helper programs for debian/rules
ii  make                          3.81-4     The GNU version of the "make" util

Versions of packages fglrx-kernel-src recommends:
ii  module-assistant              0.10.11.0  tool to make module package creati

-- no debconf information





More information about the Pkg-fglrx-devel mailing list