[Asterisk-Users] zaptel : unresolved symbol zt_unregister ...

Eugene Prokopiev prokopiev at stc.donpac.ru
Tue Dec 6 03:22:08 MST 2005


> You built zaptel vs. the wrong kernel headers?
> 
> Could you please provide more details on your build system?

I use ALT Linux 2.4. It's rpm-based distributions with apt. I have 
installed this build tools:

# gcc -v
Reading specs from /usr/lib/gcc-lib/i586-alt-linux/2.96/specs
gcc version 2.96 20000731 (ALT Linux, build 2.96-alt6)

# make -v
GNU Make 3.81beta1
Copyright (C) 2003  Free Software Foundation, Inc.
This is free software; see the source for copying conditions.
There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE.
This program built for i586-alt-linux-gnu

Kernel was compiled with gcc version 2.96.

I have installed this packages:

# rpm -qa | grep kernel
kernel-modules-lirc-std-up-1.0.0.7.0-alt11.6
kernel-modules-dc395-std-up-141-alt6.6
kernel-modules-lufs-std-up-0.9.7captive8-alt4.6
kernel-modules-pctel-std-up-0.9.6-alt20.6
kernel-headers-common-1.1.5-alt1
kernel-modules-slmdm-std-up-2.7.10-alt19.6
kernel-modules-slmdm-data-2.7.10-alt1
kernel-modules-nvidia-std-up-1.0.6111-alt2.6
kernel-modules-3c90x-std-up-1.0.2-alt12.6
kernel-modules-hsflinmodem-std-up-5.03.27mbsibeta02122600-alt6.6
kernel-modules-slmodem-std-up-2.9.6-alt4.6
kernel-complete-std-up-2.4.26-alt4
kernel-build-tools-0.7-alt1
kernel-modules-cloop-std-up-2.01-alt4.6
kernel-modules-fglrx-std-up-1.0.3.7.6-alt6.6
kernel-modules-ppscsi-std-up-2001.03.21-alt3.6
kernel-modules-bcm5700-std-up-6.2.11-alt15.6
kernel-modules-em8300-std-up-1.0.0.13.0.cvs-alt6.6
kernel-modules-intel536ep-std-up-4.62-alt8.6
kernel-modules-pentanet-std-up-2.3.1-alt8.6
kernel-modules-thinkpad-std-up-5.0-alt3.6
kernel-modules-v4l-std-up-2004.06.14-alt2.6
kernel-modules-alsa-std-up-1.0.4-alt4.6
kernel-modules-intel-537-std-up-2.27.39.0-alt5.6
kernel-modules-subfs-std-up-0.9-alt3.6
kernel-source-zaptel-1.0-alt16
kernel-image-std-up-2.4.26-alt6
kernel-modules-drm-std-up-4.4.0-alt6.6
kernel-modules-madwifi-std-up-0.8.5.4-alt3.6
kernel-modules-cifs-std-up-1.0.2-alt3.6
kernel-modules-fuse-std-up-1.1-alt3.6
kernel-modules-lm_sensors-std-up-2.8.6-alt3.6
kernel-modules-promise-std-up-2003.12.25-alt4.6
kernel-modules-hcfpcimodem-std-up-0.99mbsibeta02123100-alt6.6
kernel-modules-qla2x00-std-up-6.05.00-alt15.b9.6
kernel-modules-cdfs-std-up-2.6.3-alt3.6
kernel-modules-hostap-std-up-0.1.3-alt6.6
kernel-modules-slicoss-std-up-1.2.0-alt8.6
kernel-modules-dvb-std-up-20031013-alt5.6
kernel-modules-hpt-std-up-2004.04.04-alt3.6
kernel-headers-std-up-2.4.26-alt6
kernel-modules-drm-via-std-up-2004.06.24-alt2.6
kernel-modules-nvidia-nforce-std-up-1.0.0261-alt13.6
kernel-modules-ltmodem-std-up-8.26a9-alt9.6
kernel-headers-modules-std-up-2.4.26-alt6

# rpm -qa | grep headers
kernel-headers-common-1.1.5-alt1
glibc-kernheaders-2.4.25-alt1
kernel-headers-std-up-2.4.26-alt6
kernel-headers-modules-std-up-2.4.26-alt6

rpm -qli `rpm -qa | grep headers`
Name        : kernel-headers-common        Relocations: (not relocateable)
Version     : 1.1.5                             Vendor: ALT Linux Team
Release     : alt1                          Build Date: Thu Mar 11 
21:00:20 2004
Install date: Sat Dec 18 08:54:09 2004      Build Host: 
vsu.hasher.altlinux.org
Group       : Development/Kernel            Source RPM: 
kernel-headers-common-1.1.5-alt1.src.rpm
Size        : 7199                             License: GPL
Packager    : Kernel Maintainers Committee <kernel at packages.altlinux.org>
Summary     : Common header files for the Linux kernel
Description :
This package contains common directories and C header files from
various versions of the linux kernel.
/etc/rc.d/init.d/kheaders
/etc/sysconfig/kernel
/etc/sysconfig/kernel/include
/etc/sysconfig/kernel/include_manual_mode
/usr/include/asm
/usr/include/asm-generic
/usr/include/linux
/usr/lib/kernel
/usr/sbin/adjust_kernel_headers
/usr/share/man/man8/adjust_kernel_headers.8.gz
/var/run/kernel
/var/run/kernel/_h2ph_pre.ph
/var/run/kernel/autoconf.h
/var/run/kernel/autoconf.ph
/var/run/kernel/modversions.h
/var/run/kernel/modversions.ph
/var/run/kernel/version.h
/var/run/kernel/version.ph
Name        : glibc-kernheaders            Relocations: (not relocateable)
Version     : 2.4.25                            Vendor: ALT Linux Team
Release     : alt1                          Build Date: Mon Apr 12 
14:02:58 2004
Install date: Sat Dec 18 08:54:03 2004      Build Host: 
ldv.hasher.altlinux.org
Group       : Development/Kernel            Source RPM: 
glibc-kernheaders-2.4.25-alt1.src.rpm
Size        : 4016067                          License: GPL
Packager    : Linux Kernel Development Team <kernel at packages.altlinux.org>
Summary     : Header files for the Linux kernel for use by glibc
Description :
This package includes the C header files that specify the interface
between the Linux kernel and userspace libraries and programs.  The header
files define structures and constants that are needed for building most
standard programs and are also needed for rebuilding the glibc package.
/usr/include/linux-default
/usr/include/linux-default/include
/usr/include/linux-default/include/asm
/usr/include/linux-default/include/asm-generic
/usr/include/linux-default/include/asm-generic/bitops.h
...
/usr/include/linux-default/include/linux/zutil.h
Name        : kernel-headers-std-up        Relocations: (not relocateable)
Version     : 2.4.26                            Vendor: ALT Linux Team
Release     : alt6                          Build Date: Tue Aug  3 
22:02:48 2004
Install date: Sat Dec 18 09:23:58 2004      Build Host: 
vsu.hasher.altlinux.org
Group       : System/Kernel and hardware    Source RPM: 
kernel-image-std-up-2.4.26-alt6.src.rpm
Size        : 6250287                          License: GPL
Packager    : Kernel Maintainer Team <kernel at packages.altlinux.org>
URL         : http://www.kernel.org/
Summary     : Header files for the Linux kernel
Description :
These are the C header files for the Linux kernel, which define
structures and constants that are needed when building most standard
programs under Linux, as well as to rebuild the kernel.
Patches included:
         kernel-fix-build-2004.05.11-alt2
         kernel-fix-security-owl-2004.06.20-alt1
         kernel-fix-security-2004.08.03-alt1
         kernel-fix-net-2004.05.09-alt1
         kernel-fix-core-2004.05.09-alt1
         kernel-fix-fs-2004.06.22-alt1
         kernel-fix-lvm-2004.05.09-alt1
         kernel-fix-drivers-ide-2004.06.22-alt1
         kernel-fix-drivers-net-2004.06.23-alt1
         kernel-fix-drivers-pci-2004.05.09-alt1
         kernel-fix-drivers-scsi-2004.06.23-alt1
         kernel-fix-drivers-sound-2004.05.06-alt1
         kernel-fix-drivers-usb-2004.06.23-alt1
         kernel-fix-drivers-char-2004.06.28-alt1
         kernel-fix-drivers-md-2004.03.03-alt2
         kernel-fix-drivers-media-2004.05.09-alt1
         kernel-fix-drivers-mtd-2003.09.16-alt1
         kernel-fix-drivers-video-2004.05.09-alt1
         kernel-fix-drivers-pnp-2003.11.18-alt1
         kernel-fix-drivers-block-2004.05.09-alt1
         kernel-fix-acpi-2004.06.22-alt1
         kernel-feat-fs-xfs-1.3-alt9
         kernel-feat-fs-reiserfs-2004.02.26-alt1
         kernel-feat-cpufreq-2004.04.25-alt2
         kernel-feat-i2c-2.8.7-alt2
         kernel-feat-ipmi-30-alt3
         kernel-feat-fs-ntfs-2.1.6b-alt1
         kernel-feat-kconfig-2004.02.23-alt1
         kernel-feat-crypto-2003.10.02-alt1
         kernel-feat-drivers-usb-2004.02.23-alt1
         kernel-feat-drivers-block-enbd-2.4.31-alt6
         kernel-feat-drivers-video-splash-3.0.7-alt10
         kernel-feat-net-ppp-mppe-20030707-alt2
         kernel-feat-net-openswan-1.0.6-alt2
         kernel-feat-drivers-media-v4l2-2004.04.25-alt1
         kernel-feat-drivers-sound-emu10k1-0.20-alt1.a
         kernel-feat-drivers-libata-2004.05.09-alt1
         kernel-feat-drivers-net-pcnet32-old-2003.11.15-alt1
         kernel-feat-drivers-console-unicode-1999.08.09-alt7
/lib/modules/2.4.26-std-up-alt6/build
/usr/include/linux-2.4.26-std-up
/usr/include/linux-2.4.26-std-up/include
/usr/include/linux-2.4.26-std-up/include/acpi
/usr/include/linux-2.4.26-std-up/include/acpi/acconfig.h
...
/usr/include/linux-2.4.26-std-up/include/video/sbusfb.h
Name        : kernel-headers-modules-std-up  Relocations: (not relocateable)
Version     : 2.4.26                            Vendor: ALT Linux Team
Release     : alt6                          Build Date: Tue Aug  3 
22:02:48 2004
Install date: Fri Dec  2 13:30:10 2005      Build Host: 
vsu.hasher.altlinux.org
Group       : System/Kernel and hardware    Source RPM: 
kernel-image-std-up-2.4.26-alt6.src.rpm
Size        : 139065                           License: GPL
Packager    : Kernel Maintainer Team <kernel at packages.altlinux.org>
URL         : http://www.kernel.org/
Summary     : SCSI header files for the Linux kernel
Description :
These are the C header files for the Linux kernel scsi subsystem, which 
define
structures and constants that are needed when building only scsi-related
kernel modules. Don't use it for any purposes except building a kernel 
modules.
/usr/src/linux-2.4.26-std-up
/usr/src/linux-2.4.26-std-up/.config
/usr/src/linux-2.4.26-std-up/Makefile
/usr/src/linux-2.4.26-std-up/Rules.make
/usr/src/linux-2.4.26-std-up/arch
/usr/src/linux-2.4.26-std-up/arch/i386
/usr/src/linux-2.4.26-std-up/arch/i386/Makefile
/usr/src/linux-2.4.26-std-up/drivers
/usr/src/linux-2.4.26-std-up/drivers/scsi
/usr/src/linux-2.4.26-std-up/drivers/scsi/constants.h
/usr/src/linux-2.4.26-std-up/drivers/scsi/hosts.h
/usr/src/linux-2.4.26-std-up/drivers/scsi/scsi.h
/usr/src/linux-2.4.26-std-up/drivers/scsi/scsi_module.c
/usr/src/linux-2.4.26-std-up/drivers/scsi/scsi_obsolete.h
/usr/src/linux-2.4.26-std-up/drivers/scsi/sd.h
/usr/src/linux-2.4.26-std-up/gcc_version.inc
/usr/src/linux-2.4.26-std-up/include
/usr/src/linux-2.4.26-std-up/scripts
/usr/src/linux-2.4.26-std-up/scripts/pathdown.sh

# ls -l /usr/src/linux-2.4.26-std-up/include
lrwxrwxrwx  1 root root 41 Dec  2 13:30 
/usr/src/linux-2.4.26-std-up/include -> 
../../include/linux-2.4.26-std-up/include

-- 
Thanks,
Eugene Prokopiev



More information about the asterisk-users mailing list