[Pkg-fglrx-devel] Bug#535597: fglrx-source: module compile fails on amd64 with kernel 2.6.30

Matthew Smith hazed at xs4all.nl
Fri Jul 3 14:31:10 UTC 2009


Package: fglrx-source
Version: 1:9-5-1
Severity: important
Justification: fails to build from source

Using module-aaistant to build:

/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 -f /usr/src/modules/fglrx/debian/control
rm -f /usr/src/modules/fglrx/debian/dirs
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.30-1-amd64/build SUBDIRS=/usr/src/modules/fglrx modules
make[2]: Entering directory `/usr/src/linux-headers-2.6.30-1-amd64'
  CC [M]  /usr/src/modules/fglrx/firegl_public.o
In file included from /usr/src/modules/fglrx/firegl_public.c:171:
/usr/src/modules/fglrx/firegl_public.h:164:1: warning: "PM_EVENT_SUSPEND" redefined
In file included from /usr/src/linux-headers-2.6.30-1-common/arch/x86/include/asm/apic.h:6,
                 from /usr/src/linux-headers-2.6.30-1-common/arch/x86/include/asm/smp.h:13,
                 from /usr/src/linux-headers-2.6.30-1-common/arch/x86/include/asm/mmzone_64.h:12,
                 from /usr/src/linux-headers-2.6.30-1-common/arch/x86/include/asm/mmzone.h:4,
                 from /usr/src/linux-headers-2.6.30-1-common/include/linux/mmzone.h:775,
                 from /usr/src/linux-headers-2.6.30-1-common/include/linux/gfp.h:4,
                 from /usr/src/linux-headers-2.6.30-1-common/include/linux/kmod.h:22,
                 from /usr/src/linux-headers-2.6.30-1-common/include/linux/module.h:13,
                 from /usr/src/modules/fglrx/firegl_public.c:93:
/usr/src/linux-headers-2.6.30-1-common/include/linux/pm.h:241:1: warning: this is the location of the previous definition
In file included from /usr/src/modules/fglrx/firegl_public.c:171:
/usr/src/modules/fglrx/firegl_public.h:598:1: warning: "pgprot_writecombine" redefined
In file included from /usr/src/linux-headers-2.6.30-1-common/arch/x86/include/asm/paravirt.h:7,
                 from /usr/src/linux-headers-2.6.30-1-common/arch/x86/include/asm/irqflags.h:55,
                 from /usr/src/linux-headers-2.6.30-1-common/include/linux/irqflags.h:57,
                 from /usr/src/linux-headers-2.6.30-1-common/arch/x86/include/asm/system.h:11,
                 from /usr/src/linux-headers-2.6.30-1-common/arch/x86/include/asm/processor.h:17,
                 from /usr/src/linux-headers-2.6.30-1-common/include/linux/prefetch.h:14,
                 from /usr/src/linux-headers-2.6.30-1-common/include/linux/list.h:6,
                 from /usr/src/linux-headers-2.6.30-1-common/include/linux/module.h:9,
                 from /usr/src/modules/fglrx/firegl_public.c:93:
/usr/src/linux-headers-2.6.30-1-common/arch/x86/include/asm/pgtable_types.h:278:1: warning: this is the location of the previous definition
In file included from /usr/src/modules/fglrx/firegl_public.c:171:
/usr/src/modules/fglrx/firegl_public.h:602:1: warning: "pgprot_noncached" redefined
In file included from /usr/src/linux-headers-2.6.30-1-common/include/linux/mm.h:40,
                 from /usr/src/linux-headers-2.6.30-1-common/arch/x86/include/asm/pci.h:4,
                 from /usr/src/linux-headers-2.6.30-1-common/include/linux/pci.h:1098,
                 from /usr/src/modules/fglrx/firegl_public.c:100:
/usr/src/linux-headers-2.6.30-1-common/arch/x86/include/asm/pgtable.h:11:1: warning: this is the location of the previous definition
In file included from /usr/src/modules/fglrx/drmP.h:86,
                 from /usr/src/modules/fglrx/drm_proc.h:41,
                 from /usr/src/modules/fglrx/firegl_public.c:433:
/usr/src/modules/fglrx/drm_os_linux.h:45: error: conflicting types for ‘irqreturn_t’
/usr/src/linux-headers-2.6.30-1-common/include/linux/irqreturn.h:16: error: previous declaration of ‘irqreturn_t’ was here
In file included from /usr/src/modules/fglrx/firegl_public.c:433:
/usr/src/modules/fglrx/drm_proc.h: In function ‘FGLDRM__vma_info’:
/usr/src/modules/fglrx/drm_proc.h:497: warning: format ‘%08lx’ expects type ‘long unsigned int’, but argument 5 has type ‘phys_addr_t’
/usr/src/modules/fglrx/firegl_public.c: In function ‘KCL_SetPageCache’:
/usr/src/modules/fglrx/firegl_public.c:1207: warning: passing argument 1 of ‘set_memory_wb’ makes integer from pointer without a cast
/usr/src/modules/fglrx/firegl_public.c:1211: warning: passing argument 1 of ‘set_memory_uc’ makes integer from pointer without a cast
/usr/src/modules/fglrx/firegl_public.c: In function ‘KCL_SetPageCache_Array’:
/usr/src/modules/fglrx/firegl_public.c:1225: warning: unused variable ‘ret’
/usr/src/modules/fglrx/firegl_public.c:1224: warning: unused variable ‘i’
/usr/src/modules/fglrx/firegl_public.c: In function ‘KCL_InstallInterruptHandler’:
/usr/src/modules/fglrx/firegl_public.c:2723: warning: passing argument 2 of ‘request_irq’ from incompatible pointer type
/usr/src/modules/fglrx/firegl_public.c: In function ‘KCL_MEM_VM_GetRegionPhysAddrStr’:
/usr/src/modules/fglrx/firegl_public.c:3207: warning: return makes pointer from integer without a cast
/usr/src/modules/fglrx/firegl_public.c:3208: warning: return makes pointer from integer without a cast
/usr/src/modules/fglrx/firegl_public.c:3209: warning: return makes pointer from integer without a cast
/usr/src/modules/fglrx/firegl_public.c:3211: warning: return makes pointer from integer without a cast
/usr/src/modules/fglrx/firegl_public.c: In function ‘KAS_Ih_Execute’:
/usr/src/modules/fglrx/firegl_public.c:4185: warning: ‘return’ with no value, in function returning non-void
make[5]: *** [/usr/src/modules/fglrx/firegl_public.o] Error 1
make[4]: *** [_module_/usr/src/modules/fglrx] Error 2
make[3]: *** [sub-make] Error 2
make[2]: *** [all] Error 2
make[2]: Leaving directory `/usr/src/linux-headers-2.6.30-1-amd64'
make[1]: *** [build] Error 2
make[1]: Leaving directory `/usr/src/modules/fglrx'
make: *** [kdist_image] Error 2


-- System Information:
Debian Release: squeeze/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.30-1-amd64 (SMP w/1 CPU core)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages fglrx-source depends on:
ii  bzip2                         1.0.5-3    high-quality block-sorting file co
ii  debhelper                     7.2.20     helper programs for debian/rules
ii  make                          3.81-6     An utility for Directing compilati

Versions of packages fglrx-source recommends:
ii  kernel-package                12.017     A utility for building Linux kerne
ii  module-assistant              0.11.1     tool to make module package creati

Versions of packages fglrx-source suggests:
pn  fglrx-driver                  <none>     (no description available)

-- no debconf information





More information about the Pkg-fglrx-devel mailing list