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 ([EMAIL PROTECTED]) (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……

_______________________________________________
Asterisk-Users mailing list
[email protected]
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to