[Asterisk-Users] Zaptel Compile on a virtual dedicated host.

vgrskovic at optonline.net vgrskovic at optonline.net
Wed Apr 6 05:34:47 MST 2005


Hello Folks,
 
I am trying to compile zaptel in a "RedHat9 plesk/ virtual dedicated
server environment".  I have "root access" to the machine, but when I
try compile zaptel it complains of the following:
 
Make Results:
``````````````````
gcc -I/usr/src/linux-2.4/include -O6 -DMODULE -D__KERNEL__
-DEXPORT_SYMTAB -I/usr/src/linux/drivers/net -Wall -I.
-Wstrict-prototypes -fomit-frame-pointer
-I/usr/src/linux/drivers/net/wan -I /usr/src/linux/include
-I/usr/src/linux/include/net -DMODVERSIONS -include
/usr/src/linux-2.4/include/linux/modversions.h  -DSTANDALONE_ZAPATA -c
zaptel.c
In file included from /usr/src/linux-2.4/include/linux/smp.h:14,
                 from /usr/src/linux-2.4/include/linux/sched.h:25,
                 from /usr/src/linux-2.4/include/linux/mm.h:22,
                 from /usr/src/linux-2.4/include/linux/slab.h:14,
                 from /usr/src/linux-2.4/include/linux/proc_fs.h:5,
                 from zaptel.c:45:
/usr/src/linux-2.4/include/asm/smp.h: In function
`hard_smp_processor_id':
/usr/src/linux-2.4/include/asm/smp.h:97: warning: implicit declaration
of function `GET_APIC_ID'
/usr/src/linux-2.4/include/asm/smp.h:97: `APIC_BASE' undeclared (first
use in this function)
/usr/src/linux-2.4/include/asm/smp.h:97: (Each undeclared identifier is
reported only once
/usr/src/linux-2.4/include/asm/smp.h:97: for each function it appears
in.)
/usr/src/linux-2.4/include/asm/smp.h:97: `APIC_ID' undeclared (first use
in this function)
/usr/src/linux-2.4/include/asm/smp.h: In function
`logical_smp_processor_id':
/usr/src/linux-2.4/include/asm/smp.h:103: warning: implicit declaration
of function `GET_APIC_LOGICAL_ID'
/usr/src/linux-2.4/include/asm/smp.h:103: `APIC_BASE' undeclared (first
use in this function)
/usr/src/linux-2.4/include/asm/smp.h:103: `APIC_LDR' undeclared (first
use in this function)
make: *** [zaptel.o] Error 1
 
-->
 
I think the issue may stem from an incompatible kernel source version.
The OS reports:   Linux (hostname) 2.4.20-021stab022.11.777-enterprise
#1 SMP Fri Jan 14 11:07:01 MSK 2005 i686.  I have not been able to find
an RPM kernel source for this particular version, nor can I update the
kernel.  I am told by tech support that the kernel version is
2.4.20-4.0.1.elsmp.  Yet I can get a confirmation of that that at the
command prompt, I get the following results:
 
Cat /proc/version:
Linux version 2.4.20-021stab022.11.777-enterprise
(st at kbuild26.eng.sw.ru) (gcc version 2.96 20000731 (Red Hat Linux 7.3
2.96-110)) #1 SMP Fri Jan 14 11:07:01 MSK 2005
 
cat /etc/redhat-release:
Red Hat Linux release 9 (Shrike)
 
Anyone have any ideas on where I can find the right kernel source?  I
have look at rpmfind.net and google'd with no avail!
 
Thanks..
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20050406/3a4bfd8e/attachment.htm


More information about the asterisk-users mailing list