[Pkg-mol-devel] Bug#590937: mol-source: Simpler patch

Ivan Vilata i Balaguer ivan at selidor.net
Fri Sep 24 23:20:47 UTC 2010


Package: mol-source
Version: 0.9.72.1~dfsg-2.1
Severity: normal


I've been able to build the modules with the following patch (which only
appends two include locations):

--- Makefile.orig       2010-09-25 01:16:37.000000000 +0200
+++ Makefile    2010-09-25 01:14:56.000000000 +0200
@@ -10,7 +10,9 @@
 
 PERFOBJS       = $(addprefix $(obj)/, $(PERFOBJS_))
 K_FLAGS                = -Iinclude -include include/linux/autoconf.h -Iarch/ppc -Iarch/ppc/include \
-                 -I$(src) -I$(src)/../../../include $(INCLUDES) -D__KERNEL__
+                 -I$(src) -I$(src)/../../../include $(INCLUDES) -D__KERNEL__ \
+                 -I/usr/src/linux-headers-2.6.32-5-common/arch/powerpc/include \
+                 -I/usr/src/linux-headers-2.6.32-5-common/include
 MOL_ASMFLAGS   = $(CPPFLAGS) $(ASMFLAGS) $(K_FLAGS) -D__ASSEMBLY__
 LDFLAGS_MODULE  = $(LDFLAGS_BUILD_ID)

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

Kernel: Linux 2.6.32-5-powerpc
Locale: LANG=ca_ES.UTF-8, LC_CTYPE=ca_ES.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages mol-source depends on:
ii  gcc                           4:4.4.4-2  The GNU C compiler
ii  libc6-dev                     2.11.2-6   Embedded GNU C Library: Developmen
ii  m4                            1.4.14-3   a macro processing language
ii  make                          3.81-8     An utility for Directing compilati

Versions of packages mol-source recommends:
ii  bzip2                         1.0.5-6    high-quality block-sorting file co
ii  debhelper                     8.0.0      helper programs for debian/rules
ii  kernel-package                12.036     A utility for building Linux kerne

Versions of packages mol-source suggests:
ii  linux-headers-2.6-powerpc [li 2.6.32+28  Header files for Linux 2.6-powerpc
ii  linux-headers-2.6.32-5-powerp 2.6.32-23  Header files for Linux 2.6.32-5-po

-- no debconf information





More information about the Pkg-mol-devel mailing list