[Pkg-fglrx-devel] Bug#534762: fglrx-source: build fails

Andreas Michlmayr andreas at bignose.org
Sat Jun 27 00:56:57 UTC 2009


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

Build via module-assistant fails, differently to #444340 in 'pure' amd64.  See modass log enclosed.

Cheers,

Andreas



-- 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/2 CPU cores)
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.17     helper programs for debian/rules
ii  make                          3.81-6     An utility for Directing compilati

Versions of packages fglrx-source recommends:
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

*** /var/cache/modass/fglrx-source.buildlog.2.6.30-1-amd64.1246061269
/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





More information about the Pkg-fglrx-devel mailing list