[Asterisk-Users] Install X100P and TDM400P Asterisk cards!

Quan Le Trung ltquan at dit.hcmut.edu.vn
Wed Dec 17 01:24:05 MST 2003


Hi! 

I currently have the X100P and TDM400P Asterisk cards. For obtaining
Asterisk PBX: I have no direct connection to internet, so I use ftp and
download the neweast packages: zaptel-0.7.0, libpri-0.4.0,
asterisk-0.5.0. 

 
The environment I compiled the tool:

PC (HP): Intel PIII 500 MHz

OS: Red Hat Linux 8.0 (Upgrade from Red Hat Linux 7.1).

When I compile the first package (zaptel-0.7.0), I meet the errors
listed in error.txt file.

 

Please kindly have a look and give me your instructions. I would like to
thank you very much and look forward to your responses soon!

Thanks!
Quan Le T.
-------------- next part --------------
root at QuanLe zaptel-0.7.0]# make
cc -I. -O4 -g -Wall -DBUILDING_TONEZONE   -DSTANDALONE_ZAPATA   -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-2.4/include/linux/modversions.h  -DECHO_CAN_MARK2 -DCONFIG_ZAPATA_PPP -DTORMENTA_BASE=0xd0000 -DDEFAULT_TONE_ZONE=0 -DSTANDALONE_ZAPATA -c zaptel.c
cc -I. -O4 -g -Wall -DBUILDING_TONEZONE   -DSTANDALONE_ZAPATA    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-2.4/include/linux/modversions.h  -DECHO_CAN_MARK2 -DCONFIG_ZAPATA_PPP -DTORMENTA_BASE=0xd0000 -DDEFAULT_TONE_ZONE=0 -DSTANDALONE_ZAPATA -c tor2.c
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  -DECHO_CAN_MARK2 -DCONFIG_ZAPATA_PPP -DTORMENTA_BASE=0xd0000 -DDEFAULT_TONE_ZONE=0 -DSTANDALONE_ZAPATA -c torisa.c
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  -DECHO_CAN_MARK2 -DCONFIG_ZAPATA_PPP -DTORMENTA_BASE=0xd0000 -DDEFAULT_TONE_ZONE=0 -DSTANDALONE_ZAPATA -c wcusb.c
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  -DECHO_CAN_MARK2 -DCONFIG_ZAPATA_PPP -DTORMENTA_BASE=0xd0000 -DDEFAULT_TONE_ZONE=0 -DSTANDALONE_ZAPATA -c wcfxo.c
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  -DECHO_CAN_MARK2 -DCONFIG_ZAPATA_PPP -DTORMENTA_BASE=0xd0000 -DDEFAULT_TONE_ZONE=0 -DSTANDALONE_ZAPATA -c wcfxs.c
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  -DECHO_CAN_MARK2 -DCONFIG_ZAPATA_PPP -DTORMENTA_BASE=0xd0000 -DDEFAULT_TONE_ZONE=0 -DSTANDALONE_ZAPATA  -c ztdynamic.c
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  -DECHO_CAN_MARK2 -DCONFIG_ZAPATA_PPP -DTORMENTA_BASE=0xd0000 -DDEFAULT_TONE_ZONE=0 -DSTANDALONE_ZAPATA  -c ztd-eth.c
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  -DECHO_CAN_MARK2 -DCONFIG_ZAPATA_PPP -DTORMENTA_BASE=0xd0000 -DDEFAULT_TONE_ZONE=0 -DSTANDALONE_ZAPATA -c wct1xxp.c
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  -DECHO_CAN_MARK2 -DCONFIG_ZAPATA_PPP -DTORMENTA_BASE=0xd0000 -DDEFAULT_TONE_ZONE=0 -DSTANDALONE_ZAPATA -c wct4xxp.c
wct4xxp.c: In function `t4_interrupt':
wct4xxp.c:1239: warning: unused variable `status2'
wct4xxp.c: In function `t4_init_one':
wct4xxp.c:1397: warning: unused variable `y'
wct4xxp.c:1396: warning: unused variable `canary'
wct4xxp.c: At top level:
wct4xxp.c:810: warning: `t4_findsync' defined but not used
cc -I. -O4 -g -Wall -DBUILDING_TONEZONE   -DSTANDALONE_ZAPATA   -c -o ztcfg.o ztcfg.c
cc -c -fPIC -I. -O4 -g -Wall -DBUILDING_TONEZONE   -DSTANDALONE_ZAPATA -DBUILDING_TONEZONE -o zonedata.lo zonedata.c
cc -c -fPIC -I. -O4 -g -Wall -DBUILDING_TONEZONE   -DSTANDALONE_ZAPATA -DBUILDING_TONEZONE -o tonezone.lo tonezone.c
cc -shared -Wl,-soname,libtonezone.so.1 -lm -o libtonezone.so.1.0 zonedata.lo tonezone.lo
/sbin/ldconfig -n .
ln -sf libtonezone.so.1 libtonezone.so
cc -o ztcfg ztcfg.o -lm -L. -ltonezone
cc -I. -O4 -g -Wall -DBUILDING_TONEZONE   -DSTANDALONE_ZAPATA   -c -o torisatool.o torisatool.c
cc -o torisatool torisatool.o
cc -I. -O4 -g -Wall -DBUILDING_TONEZONE   -DSTANDALONE_ZAPATA   -c -o ztmonitor.o ztmonitor.c
cc -o ztmonitor ztmonitor.o
cc -c ztspeed.c
cc -o ztspeed ztspeed.o
cc -I. -O4 -g -Wall -DBUILDING_TONEZONE   -DSTANDALONE_ZAPATA   -c -o zttool.o zttool.c
cc -o zttool zttool.o -L/usr/lib -lnewt
/usr/lib/libnewt.a(newt.o): In function `newtFlushInput':
newt.o(.text+0x51): undefined reference to `SLang_getkey'
newt.o(.text+0x5b): undefined reference to `SLang_input_pending'
/usr/lib/libnewt.a(newt.o): In function `newtSuspend':
newt.o(.text+0x89): undefined reference to `SLtt_set_cursor_visibility'
newt.o(.text+0x8e): undefined reference to `SLsmg_suspend_smg'
newt.o(.text+0x93): undefined reference to `SLang_reset_tty'
newt.o(.text+0xa0): undefined reference to `SLtt_set_cursor_visibility'
/usr/lib/libnewt.a(newt.o): In function `newtResume':
newt.o(.text+0xb7): undefined reference to `SLsmg_resume_smg'
newt.o(.text+0xbc): undefined reference to `SLsmg_refresh'
newt.o(.text+0xca): undefined reference to `SLang_init_tty'
/usr/lib/libnewt.a(newt.o): In function `newtCls':
newt.o(.text+0xe9): undefined reference to `SLsmg_set_color'
newt.o(.text+0xf4): undefined reference to `SLsmg_gotorc'
newt.o(.text+0xf9): undefined reference to `SLsmg_erase_eos'
/usr/lib/libnewt.a(newt.o): In function `newtInit':
newt.o(.text+0x14a): undefined reference to `SLtt_get_terminfo'
newt.o(.text+0x14f): undefined reference to `SLtt_get_screen_size'
newt.o(.text+0x171): undefined reference to `SLtt_Use_Ansi_Colors'
newt.o(.text+0x176): undefined reference to `SLsmg_init_smg'
newt.o(.text+0x184): undefined reference to `SLang_init_tty'
newt.o(.text+0x1b3): undefined reference to `SLsignal_intr'
newt.o(.text+0x1c0): undefined reference to `SLang_getkey_intr_hook'
/usr/lib/libnewt.a(newt.o): In function `newtFinished':
newt.o(.text+0x1d9): undefined reference to `SLtt_Screen_Rows'
newt.o(.text+0x1e0): undefined reference to `SLsmg_gotorc'
newt.o(.text+0x1ea): undefined reference to `SLsmg_refresh'
newt.o(.text+0x1ef): undefined reference to `SLsmg_reset_smg'
newt.o(.text+0x1f4): undefined reference to `SLang_reset_tty'
/usr/lib/libnewt.a(newt.o): In function `newtSetColors':
newt.o(.text+0x216): undefined reference to `SLtt_set_color'
newt.o(.text+0x22a): undefined reference to `SLtt_set_color'
newt.o(.text+0x241): undefined reference to `SLtt_set_color'
newt.o(.text+0x255): undefined reference to `SLtt_set_color'
newt.o(.text+0x26c): undefined reference to `SLtt_set_color'
/usr/lib/libnewt.a(newt.o)(.text+0x280): more undefined references to `SLtt_set_color' follow
/usr/lib/libnewt.a(newt.o): In function `newtGetKey':
newt.o(.text+0x441): undefined reference to `SLang_getkey'
newt.o(.text+0x511): undefined reference to `SLang_getkey'
newt.o(.text+0x57d): undefined reference to `SLang_input_pending'
newt.o(.text+0x5e9): undefined reference to `SLang_ungetkey'
/usr/lib/libnewt.a(newt.o): In function `newtWaitForKey':
newt.o(.text+0x60c): undefined reference to `SLang_getkey'
/usr/lib/libnewt.a(newt.o): In function `newtClearKeyBuffer':
newt.o(.text+0x631): undefined reference to `SLang_getkey'
newt.o(.text+0x63b): undefined reference to `SLang_input_pending'
/usr/lib/libnewt.a(newt.o): In function `newtOpenWindow':
newt.o(.text+0x6ff): undefined reference to `SLtt_Screen_Cols'
newt.o(.text+0x717): undefined reference to `SLtt_Screen_Rows'
newt.o(.text+0x73c): undefined reference to `SLsmg_gotorc'
newt.o(.text+0x758): undefined reference to `SLsmg_read_raw'
newt.o(.text+0x783): undefined reference to `SLsmg_set_color'
newt.o(.text+0x7a0): undefined reference to `SLsmg_draw_box'
newt.o(.text+0x7dc): undefined reference to `SLsmg_gotorc'
newt.o(.text+0x7e8): undefined reference to `SLsmg_set_char_set'
newt.o(.text+0x7f4): undefined reference to `SLsmg_write_char'
newt.o(.text+0x800): undefined reference to `SLsmg_set_char_set'
newt.o(.text+0x80c): undefined reference to `SLsmg_write_char'
newt.o(.text+0x818): undefined reference to `SLsmg_set_color'
newt.o(.text+0x827): undefined reference to `SLsmg_write_string'
newt.o(.text+0x833): undefined reference to `SLsmg_set_color'
newt.o(.text+0x83f): undefined reference to `SLsmg_write_char'
newt.o(.text+0x84b): undefined reference to `SLsmg_set_char_set'
newt.o(.text+0x857): undefined reference to `SLsmg_write_char'
newt.o(.text+0x863): undefined reference to `SLsmg_set_char_set'
newt.o(.text+0x870): undefined reference to `SLsmg_set_color'
newt.o(.text+0x88c): undefined reference to `SLsmg_fill_region'
newt.o(.text+0x896): undefined reference to `SLsmg_set_color'
newt.o(.text+0x8b4): undefined reference to `SLsmg_fill_region'
newt.o(.text+0x8d4): undefined reference to `SLsmg_fill_region'
newt.o(.text+0x906): undefined reference to `SLsmg_gotorc'
newt.o(.text+0x913): undefined reference to `SLsmg_write_string'
/usr/lib/libnewt.a(newt.o): In function `newtCenteredWindow':
newt.o(.text+0x93b): undefined reference to `SLtt_Screen_Rows'
newt.o(.text+0x963): undefined reference to `SLtt_Screen_Cols'
/usr/lib/libnewt.a(newt.o): In function `newtPopWindow':
newt.o(.text+0x9ca): undefined reference to `SLsmg_gotorc'
newt.o(.text+0x9e8): undefined reference to `SLsmg_write_raw'
newt.o(.text+0xa4e): undefined reference to `SLsmg_set_char_set'
/usr/lib/libnewt.a(newt.o): In function `newtDrawBox':
newt.o(.text+0xb39): undefined reference to `SLsmg_draw_box'
newt.o(.text+0xb4d): undefined reference to `SLsmg_set_color'
newt.o(.text+0xb68): undefined reference to `SLsmg_fill_region'
/usr/lib/libnewt.a(newt.o): In function `newtClearBox':
newt.o(.text+0xbdb): undefined reference to `SLsmg_fill_region'
/usr/lib/libnewt.a(newt.o): In function `newtRedrawHelpLine':
newt.o(.text+0xc9c): undefined reference to `SLsmg_set_color'
newt.o(.text+0xca2): undefined reference to `SLtt_Screen_Cols'
newt.o(.text+0xcc1): undefined reference to `SLtt_Screen_Cols'
newt.o(.text+0xcfb): undefined reference to `SLtt_Screen_Rows'
newt.o(.text+0xd07): undefined reference to `SLsmg_gotorc'
newt.o(.text+0xd0f): undefined reference to `SLsmg_write_string'
/usr/lib/libnewt.a(newt.o): In function `newtDrawRootText':
newt.o(.text+0xde5): undefined reference to `SLsmg_set_color'
newt.o(.text+0xdf1): undefined reference to `SLtt_Screen_Cols'
newt.o(.text+0xdfd): undefined reference to `SLtt_Screen_Rows'
newt.o(.text+0xe09): undefined reference to `SLsmg_gotorc'
/usr/lib/libnewt.a(newt.o): In function `newtGetScreenSize':
newt.o(.text+0xe7e): undefined reference to `SLtt_Screen_Rows'
newt.o(.text+0xe89): undefined reference to `SLtt_Screen_Cols'
/usr/lib/libnewt.a(newt.o): In function `newtCursorOff':
newt.o(.text+0xee1): undefined reference to `SLtt_set_cursor_visibility'
/usr/lib/libnewt.a(newt.o): In function `newtCursorOn':
newt.o(.text+0xf04): undefined reference to `SLtt_set_cursor_visibility'
/usr/lib/libnewt.a(newt.o): In function `newtTrashScreen':
newt.o(.text+0xf20): undefined reference to `SLtt_Screen_Rows'
newt.o(.text+0xf2c): undefined reference to `SLsmg_touch_lines'
/usr/lib/libnewt.a(newt.o): In function `newtRefresh':
newt.o(.text+0x7a): undefined reference to `SLsmg_refresh'
/usr/lib/libnewt.a(newt.o): In function `newtSetColors':
newt.o(.text+0x429): undefined reference to `SLtt_set_color'
/usr/lib/libnewt.a(newt.o): In function `newtGotorc':
newt.o(.text+0xaf1): undefined reference to `SLsmg_gotorc'
/usr/lib/libnewt.a(newt.o): In function `newtDrawBox':
newt.o(.text+0xb97): undefined reference to `SLsmg_fill_region'
/usr/lib/libnewt.a(newt.o): In function `newtDrawRootText':
newt.o(.text+0xe1b): undefined reference to `SLsmg_write_string'
/usr/lib/libnewt.a(newt.o): In function `newtBell':
newt.o(.text+0xe6a): undefined reference to `SLtt_beep'
/usr/lib/libnewt.a(button.o): In function `buttonDrawIt':
button.o(.text+0x193): undefined reference to `SLsmg_set_color'
button.o(.text+0x1b6): undefined reference to `SLsmg_set_color'
button.o(.text+0x1dc): undefined reference to `SLsmg_write_char'
button.o(.text+0x1e5): undefined reference to `SLsmg_write_string'
button.o(.text+0x1f1): undefined reference to `SLsmg_write_char'
button.o(.text+0x20a): undefined reference to `SLsmg_set_color'
button.o(.text+0x231): undefined reference to `SLsmg_set_color'
/usr/lib/libnewt.a(button.o): In function `buttonDrawText':
button.o(.text+0x2d6): undefined reference to `SLsmg_set_color'
button.o(.text+0x2ff): undefined reference to `SLsmg_write_char'
button.o(.text+0x308): undefined reference to `SLsmg_write_string'
button.o(.text+0x31e): undefined reference to `SLsmg_write_char'
/usr/lib/libnewt.a(form.o): In function `newtDrawForm':
form.o(.text+0x3e4): undefined reference to `SLsmg_set_color'
/usr/lib/libnewt.a(label.o): In function `labelDraw':
label.o(.text+0x117): undefined reference to `SLsmg_set_color'
label.o(.text+0x139): undefined reference to `SLsmg_write_string'
/usr/lib/libnewt.a(listbox.o): In function `listboxDraw':
listbox.o(.text+0xaa9): undefined reference to `SLsmg_set_color'
listbox.o(.text+0xae9): undefined reference to `SLsmg_set_color'
listbox.o(.text+0xb76): undefined reference to `SLsmg_set_color'
listbox.o(.text+0xb88): undefined reference to `SLsmg_write_nstring'
/usr/lib/libnewt.a(scrollbar.o): In function `sbDraw':
scrollbar.o(.text+0x15e): undefined reference to `SLsmg_set_color'
scrollbar.o(.text+0x16a): undefined reference to `SLsmg_set_char_set'
scrollbar.o(.text+0x1b3): undefined reference to `SLsmg_write_char'
scrollbar.o(.text+0x1e0): undefined reference to `SLsmg_write_char'
scrollbar.o(.text+0x21d): undefined reference to `SLsmg_write_char'
scrollbar.o(.text+0x22e): undefined reference to `SLsmg_set_char_set'
/usr/lib/libnewt.a(scrollbar.o): In function `sbDrawThumb':
scrollbar.o(.text+0x28f): undefined reference to `SLsmg_set_char_set'
scrollbar.o(.text+0x299): undefined reference to `SLsmg_set_color'
scrollbar.o(.text+0x2a5): undefined reference to `SLsmg_write_char'
scrollbar.o(.text+0x2ba): undefined reference to `SLsmg_set_char_set'
/usr/lib/libnewt.a(textbox.o): In function `textboxDraw':
textbox.o(.text+0x7c4): undefined reference to `SLsmg_set_color'
textbox.o(.text+0x7f7): undefined reference to `SLsmg_write_string'
collect2: ld returned 1 exit status
make: *** [zttool] Error 1
[root at QuanLe zaptel-0.7.0]#


More information about the asterisk-users mailing list