Bug#376719: zaptel-source: zaptel-modules from testing don't
compile on Sarge
Tzafrir Cohen
tzafrir.cohen at xorcom.com
Tue Jul 4 15:22:16 UTC 2006
On Tue, Jul 04, 2006 at 01:45:55PM +0100, Martin List-Petersen wrote:
> Package: zaptel-source
> Version: 1:1.2.6-2
> Severity: important
>
> Building zaptel-modules failes executing:
> make-kpkg --append-to-version -1-686 --revision 2.4.27-6 --config oldconfig --added-modules zaptel modules_image
>
> in /usr/src/linux, which has the regular kernel-source package for 2.4.27-1-696 with the correct configuration.
2.4.27-1-686 ?
Anyway, the kernel version is probably irrelevant, because:
>
> Compiler output is:
> /usr/src/linux/include/asm/system.h:190: warning: dereferencing type-punned pointer will break strict-aliasing rules
> /usr/src/linux/include/asm/system.h:190: warning: dereferencing type-punned pointer will break strict-aliasing rules
> gcc -I. -O4 -g -Wall -DBUILDING_TONEZONE -DSTANDALONE_ZAPATA -DZAPTEL_CONFIG=\"/etc/zaptel.conf\" -c -o ztcfg.o ztcfg.c
> gcc -c -fPIC -I. -O4 -g -Wall -DBUILDING_TONEZONE -DBUILDING_TONEZONE -o zonedata.lo zonedata.c
> gcc -c -fPIC -I. -O4 -g -Wall -DBUILDING_TONEZONE -DBUILDING_TONEZONE -o tonezone.lo tonezone.c
> ar rcs libtonezone.a zonedata.lo tonezone.lo
> gcc -o ztcfg ztcfg.o libtonezone.a -lm
> /usr/lib/libc_nonshared.a(elf-init.oS)(.gnu.linkonce.t.__i686.get_pc_thunk.bx+0x0): In function _i686.get_pc_thunk.bx':
> : multiple definition of _i686.get_pc_thunk.bx'
> libtonezone.a(tonezone.lo)(.gnu.linkonce.t.__i686.get_pc_thunk.bx+0x0):/usr/src/modules/zaptel/tonezone.c:41: first defined here
> collect2: ld returned 1 exit status
Do you use an up-to-date glibc-devel / binutils? Can you try rebuilding
the package zaptel from source?
ztcfg and libtonezone are userspace and not required whatsoever for
building the kernel modules.
> make[3]: *** [ztcfg] Error 1
> make[3]: Leaving directory /usr/src/modules/zaptel'
> make[2]: *** [binary-modules] Error 2
> make[2]: Leaving directory /usr/src/modules/zaptel'
> make[1]: *** [kdist_build] Error 2
> make[1]: Leaving directory /usr/src/modules/zaptel'
> Module /usr/src/modules/zaptel failed.
>
> Kind regards,
> Martin List-Petersen
>
> -- System Information:
> Debian Release: 3.1
> APT prefers testing
> APT policy: (500, 'testing'), (500, 'stable')
> Architecture: i386 (i686)
> Shell: /bin/sh linked to /bin/bash
> Kernel: Linux 2.4.27-1-686
> Locale: LANG=en_IE, LC_CTYPE=en_IE (charmap=ISO-8859-1)
>
> Versions of packages zaptel-source depends on:
> ii bzip2 1.0.2-7 high-quality block-sorting file co
> ii debhelper 4.2.32 helper programs for debian/rules
> ii module-assistant 0.10.4 tool to make module package creati
>
> Versions of packages zaptel-source recommends:
> ii zaptel 1:1.2.6-2 zapata telephony utilities
>
> Additional versions:
> ii libtonezone-dev 1:1.2.6-2
> ii libtonezone1 1:1.2.6-2
> ii asterisk 1:1.2.9.1.dfsg-1
> ii asterisk-bristuff 1:1.2.9.1.dfsg-1
>
> -- no debconf information
>
>
> _______________________________________________
> Pkg-voip-maintainers mailing list
> Pkg-voip-maintainers at lists.alioth.debian.org
> http://lists.alioth.debian.org/mailman/listinfo/pkg-voip-maintainers
>
--
Tzafrir Cohen sip:tzafrir at local.xorcom.com
icq#16849755 iax:tzafrir at local.xorcom.com
+972-50-7952406
tzafrir.cohen at xorcom.com http://www.xorcom.com
More information about the Pkg-voip-maintainers
mailing list