Bug#488513: zaptel modules do not build on powerpc - suspect zaphfc-florz patch

Mark Purcell msp at debian.org
Sun Jun 29 13:37:28 UTC 2008


Package: zaptel-source
Version: 1:1.4.10.1~dfsg-1
Severity: serious

Building the zaptel modules with the florz patch on powerpc fails with 
the following:

http://paste.debian.net/8473/
  CC [M]  /usr/src/modules/zaptel/kernel/cwain.o
  CC [M]  /usr/src/modules/zaptel/kernel/qozap.o
  CC [M]  /usr/src/modules/zaptel/kernel/zaphfc.o
/usr/src/modules/zaptel/kernel/zaphfc.c: In function ?hfc_shutdownCard2?:
/usr/src/modules/zaptel/kernel/zaphfc.c:128: error: implicit declaration of function ?vfree?
/usr/src/modules/zaptel/kernel/zaphfc.c: In function ?hfc_findCards?:
/usr/src/modules/zaptel/kernel/zaphfc.c:751: error: implicit declaration of function ?vmalloc?
/usr/src/modules/zaptel/kernel/zaphfc.c:751: warning: assignment makes pointer from integer without a cast
/usr/src/modules/zaptel/kernel/zaphfc.c:834: warning: assignment makes pointer from integer without a cast
make[4]: *** [/usr/src/modules/zaptel/kernel/zaphfc.o] Error 1
make[3]: *** [_module_/usr/src/modules/zaptel/kernel] Error 2
make[3]: Leaving directory `/usr/src/linux-headers-2.6.25-2-powerpc'

IIRC suspect we need to  add to zaphfc.c a '#include <linux/vmalloc.h>'

Mark

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

Kernel: Linux 2.6.25-2-powerpc
Locale: LANG=en_AU.UTF-8, LC_CTYPE=en_AU.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages zaptel-source depends on:
ii  bzip2                         1.0.5-0.1  high-quality block-sorting file co
ii  debhelper                     7.0.13     helper programs for debian/rules
ii  module-assistant              0.10.11.0  tool to make module package creati

Versions of packages zaptel-source recommends:
ii  zaptel                   1:1.4.11~dfsg-1 zapata telephony utilities

-- no debconf information





More information about the Pkg-voip-maintainers mailing list