[Asterisk-Users] Error attempting to make Zaptel on Red Hat linux 9.0

David Stanley dstanley at transcendent.com.au
Sun May 29 03:21:49 MST 2005


 Hi All, 

Newby with problem when attempting to make Zaptel on Red Hat linux 9.0.
I have seached Google, VoIP forums etc and cannot resolve issue.

(Red Hat 9.0) Linux version 2.4.20-31.9 (bhcompile at daffy.perf.redhat.com) (gcc version 3.2.2 20030222 (Red Hat Linux 3.2.2-5)) #1 Tue Apr 13 18:04:23 EDT 2004 

All Packages installed per: http://www.voip-info.org/wiki-Asterisk+redhat9+packages 

Per VoIP forums Threads, I have kernel-source, readline, readline-devel, openssl and openssl-devel package installed and have copied the boot file as detailed (several times): 
[root at linuxbox linux]# cp /boot/config-2.4.20-31.9 /usr/src/linux/.config 
cp: overwrite `/usr/src/linux/.config'? y 

Installation per following Asterisk Zaptel Installation page, but error when attempting to make Zaptel (after make clean). 
http://www.voip-info.org/tiki-index.php ... stallation 


..............Portion of error when attempting to Make Zaptel: 

[root at linuxbox zaptel]# make 
cc -I. -O4 -g -Wall -DBUILDING_TONEZONE -DSTANDALONE_ZAPATA -DZAPTEL_CONFIG=\"/etc/zaptel.conf\" -c -o gendigits.o gendigits.c 
cc -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 -DMODVERSIONS -include /usr/src/linux/include/linux/modversions.h -DSTANDALONE_ZAPATA -c zaptel.c 
cc -I. -O4 -g -Wall -DBUILDING_TONEZONE -DSTANDALONE_ZAPATA -DZAPTEL_CONFIG=\"/etc/zaptel.conf\" makefw.c -o makefw 
./makefw tormenta2.rbt tor2fw > tor2fw.h 
Loaded 69900 bytes from file 
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/include/linux/modversions.h -DSTANDALONE_ZAPATA -c tor2.c 
In file included from tor2.c:30: 
/usr/src/linux/include/linux/kernel.h:60: invalid suffix on integer constant 
/usr/src/linux/include/linux/kernel.h:60: parse error before numeric constant 
/usr/src/linux/include/linux/kernel.h:60: warning: function declaration isn't a prototype 
..................................REMOVED TO REDUCE EMAIL...................
/usr/src/linux/include/linux/dcache.h: In function `dget': 
/usr/src/linux/include/linux/dcache.h:254: warning: implicit declaration of function `__out_of_line_bug_R8b0fd3c5' 
tor2.c: In function `tor2_spanconfig': 
tor2.c:215: warning: implicit declaration of function `printk_R1b7d4074' 
tor2.c: In function `init_spans': 
tor2.c:283: warning: implicit declaration of function `sprintf_R1d26aa98' 
make: *** [tor2.o] Error 1 


Any assistance is greatly appreciated. 

Regards... David 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20050529/7280efd9/attachment.htm


More information about the asterisk-users mailing list