[Asterisk-Users] zaptel issues
Jeremy Bogan
jeremy at segpub.com.au
Sun Jul 18 05:59:38 MST 2004
Hi,
I've been trying to bring our Asterisk server to the latest version.
I've grabbed the latest CVS and upon trying to compile zaptel, I get
the following errors:
gcc -I. -O4 -g -Wall -DBUILDING_TONEZONE -DSTANDALONE_ZAPATA -c -o
gendigits.o gendigits.c
gcc -o gendigits gendigits.o -lm
./gendigits
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 -DSTANDALONE_ZAPATA -c zaptel.c
In file included from /usr/src/linux/include/linux/module.h:11,
from zaptel.c:44:
/usr/src/linux/include/linux/spinlock.h:218:1: warning: "read_unlock"
redefined
In file included from /usr/src/linux/include/linux/spinlock.h:59,
from /usr/src/linux/include/linux/module.h:11,
from zaptel.c:44:
/usr/include/asm/spinlock.h:200:1: warning: this is the location of the
previous definition
In file included from /usr/src/linux/include/linux/module.h:11,
from zaptel.c:44:
/usr/src/linux/include/linux/spinlock.h:220:1: warning: "write_unlock"
redefined
In file included from /usr/src/linux/include/linux/spinlock.h:59,
from /usr/src/linux/include/linux/module.h:11,
from zaptel.c:44:
/usr/include/asm/spinlock.h:201:1: warning: this is the location of the
previous definition
In file included from /usr/src/linux/include/linux/prefetch.h:13,
from /usr/src/linux/include/linux/list.h:6,
from /usr/src/linux/include/linux/module.h:12,
from zaptel.c:44:
/usr/include/asm/processor.h:75: error: `CONFIG_NR_CPUS' undeclared
here (not in a function)
In file included from zaptel.c:44:
/usr/src/linux/include/linux/module.h:21:34: linux/modversions.h: No
such file or directory
In file included from /usr/include/asm/smp.h:17,
from /usr/src/linux/include/linux/smp.h:14,
from /usr/src/linux/include/linux/sched.h:23,
from /usr/src/linux/include/linux/mm.h:4,
from /usr/src/linux/include/linux/slab.h:14,
from /usr/src/linux/include/linux/proc_fs.h:5,
from zaptel.c:45:
/usr/include/asm/mpspec.h:205: error: `CONFIG_NR_CPUS' undeclared here
(not in a function)
In file included from /usr/include/asm/smp.h:21,
from /usr/src/linux/include/linux/smp.h:14,
from /usr/src/linux/include/linux/sched.h:23,
from /usr/src/linux/include/linux/mm.h:4,
from /usr/src/linux/include/linux/slab.h:14,
from /usr/src/linux/include/linux/proc_fs.h:5,
from zaptel.c:45:
/usr/include/asm/apic.h:88: error: `CONFIG_NR_CPUS' undeclared here
(not in a function)
In file included from /usr/src/linux/include/linux/smp.h:14,
from /usr/src/linux/include/linux/sched.h:23,
from /usr/src/linux/include/linux/mm.h:4,
from /usr/src/linux/include/linux/slab.h:14,
from /usr/src/linux/include/linux/proc_fs.h:5,
from zaptel.c:45:
/usr/include/asm/smp.h:66: error: `CONFIG_NR_CPUS' undeclared here (not
in a function)
/usr/include/asm/smp.h:66: confused by earlier errors, bailing out
make: *** [zaptel.o] Error 1
The server is running Gentoo:
Linux pbx 2.4.25_pre7-gss-r2 #2 SMP Tue Apr 13 20:29:53 EST 2004 i686
Intel(R) Celeron(R) CPU 2.40GHz GenuineIntel GNU/Linux
Has anyone seen this before?
--
jeremy bogan [ jeremy at segpub.com.au ]
segment publishing - design.develop.host
More information about the asterisk-users
mailing list