Package: acx100-source Version: 0.2.0pre8+56-1 Severity: important Tags: patch Justification: fails to build from source
Compilation fails on powerpc due to x86-specific options in Makefile. The patch below fixes the problem. - Jonas *** Makefile.diff --- Makefile.orig 2004-12-02 00:30:07.000000000 +0100 +++ Makefile 2004-12-15 21:25:59.000000000 +0100 @@ -101,8 +101,8 @@ CPPFLAGS += -D__KERNEL__ -DMODULE -DWLAN_HOSTIF=WLAN_PCI -I$(KERNEL_BUILD)/include -I../include LDFLAGS = -m elf_i386 -r CC = gcc -USBCFLAGS += -D__KERNEL__ -I$(KERNEL_BUILD)/include -Wall -Wstrict-prototypes -Wno-trigraphs -O -fno-strict-aliasing -fno-common -fomit-frame-pointer -pipe -mpreferred-stack-boundary=4 -march=i586 -DMODULE -I../include/ -c -DWLAN_HOSTIF=WLAN_USB $(COMMON_DRIVER_DEFINES) -CFLAGS += -Wall -Wstrict-prototypes -Wno-trigraphs -O -fno-strict-aliasing -fno-common -fomit-frame-pointer -pipe -mpreferred-stack-boundary=4 -march=i586 +USBCFLAGS += -D__KERNEL__ -I$(KERNEL_BUILD)/include -Wall -Wstrict-prototypes -Wno-trigraphs -O -fno-strict-aliasing -fno-common -fomit-frame-pointer -pipe -DMODULE -I../include/ -c -DWLAN_HOSTIF=WLAN_USB $(COMMON_DRIVER_DEFINES) +CFLAGS += -Wall -Wstrict-prototypes -Wno-trigraphs -O -fno-strict-aliasing -fno-common -fomit-frame-pointer -pipe #CPPFLAGS += -D__KERNEL__ -DMODULE -DMODVERSIONS -DWLAN_HOSTIF=WLAN_PCI -I$(KERNEL_BUILD)/include -I../include -include $(KERNEL_BUILD)/include/linux/modversions.h includes = $(wildcard ../include/*.h) -- System Information: Debian Release: 3.1 APT prefers unstable APT policy: (500, 'unstable'), (500, 'testing') Architecture: powerpc (ppc) Shell: /bin/sh linked to /bin/bash Kernel: Linux 2.6.12-rc3-mm3+debianlogo+squashfs Locale: LANG=da_DK, LC_CTYPE=da_DK (charmap=ANSI_X3.4-1968) (ignored: LC_ALL set to C) Versions of packages acx100-source depends on: ii debhelper 4.2.36 helper programs for debian/rules ii module-assistant 0.9 tool to make module package creati -- no debconf information -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]