[Asterisk-Users] error in tor2
Victor Sanchez
sapevt at terra.es
Fri Feb 28 10:42:04 MST 2003
i have error in install module of tor2.
but it compile good.
what happen ?
ivr2:/usr/src/zaptel # make clean; make install
rm -f torisatool makefw tor2fw.h
rm -f zttool
rm -f *.o ztcfg tzdriver sethdlc
rm -f zonedata.lo tonezone.lo libtonezone.so.1.0 *.lo
rm -f gendigits tones.h
rm -f libtonezone*
rm -f tor2ee
rm -f core
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-prototype
s -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 -DECHO_CAN_MARK2 -DCONFIG_ZAPATA_PPP -DTORMENTA_BASE=0xd0000 -DDEFAULT_TONE_ZONE=0 -DSTAN
DALONE_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-prototype
s -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 -DECHO_CAN_MARK2 -DCONFIG_ZAPATA_PPP -DTORMENTA_BASE=0xd0000 -DDEFAULT_TONE_ZONE=0 -DSTAN
DALONE_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-prototype
s -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 -DECHO_CAN_MARK2 -DCONFIG_ZAPATA_PPP -DTORMENTA_BASE=0xd0000 -DDEFAULT_TONE_ZONE=0 -DSTAN
DALONE_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-prototype
s -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 -DECHO_CAN_MARK2 -DCONFIG_ZAPATA_PPP -DTORMENTA_BASE=0xd0000 -DDEFAULT_TONE_ZONE=0 -DSTAN
DALONE_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-prototype
s -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 -DECHO_CAN_MARK2 -DCONFIG_ZAPATA_PPP -DTORMENTA_BASE=0xd0000 -DDEFAULT_TONE_ZONE=0 -DSTAN
DALONE_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-prototype
s -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 -DECHO_CAN_MARK2 -DCONFIG_ZAPATA_PPP -DTORMENTA_BASE=0xd0000 -DDEFAULT_TONE_ZONE=0 -DSTAN
DALONE_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-prototype
s -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 -DECHO_CAN_MARK2 -DCONFIG_ZAPATA_PPP -DTORMENTA_BASE=0xd0000 -DDEFAULT_TONE_ZONE=0 -DSTAN
DALONE_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-prototype
s -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 -DECHO_CAN_MARK2 -DCONFIG_ZAPATA_PPP -DTORMENTA_BASE=0xd0000 -DDEFAULT_TONE_ZONE=0 -DSTAN
DALONE_ZAPATA -c ztd-eth.c
ztd-eth.c: In function `ztdeth_notifier':
ztd-eth.c:128: warning: deprecated use of label at end of compound statement
gcc -I/usr/src/linux-2.4/include -O6 -DMODULE -D__KERNEL__ -DEXPORT_SYMTAB -I/usr/src/linux/drivers/net -Wall -I. -Wstrict-prototype
s -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 -DECHO_CAN_MARK2 -DCONFIG_ZAPATA_PPP -DTORMENTA_BASE=0xd0000 -DDEFAULT_TONE_ZONE=0 -DSTAN
DALONE_ZAPATA -c wct1xxp.c
cc -I. -O4 -g -Wall -DBUILDING_TONEZONE -DSTANDALONE_ZAPATA -c -o ztcfg.o ztcfg.c
ztcfg.c: In function `main':
ztcfg.c:645: warning: deprecated use of label at end of compound statement
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 -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
mkdir -p /dev/zap
rm -f /dev/zap/ctl
rm -f /dev/zap/channel
rm -f /dev/zap/pseudo
mknod /dev/zap/ctl c 196 0
mknod /dev/zap/channel c 196 254
mknod /dev/zap/pseudo c 196 255
N=1; \
while [ $N -lt 253 ]; do \
rm -f /dev/zap/$N; \
mknod /dev/zap/$N c 196 $N; \
N=$[$N+1]; \
done
mkdir -p /sbin
install -m 755 ztcfg /sbin
if [ -f sethdlc ]; then install -m 755 sethdlc /sbin ; fi
if [ -f zttool ]; then install -m 755 zttool /sbin; fi
mkdir -p /lib/modules/`uname -r`/misc
for x in zaptel.o tor2.o torisa.o wcusb.o wcfxo.o wcfxs.o ztdynamic.o ztd-eth.o wct1xxp.o ; do \
install -m 644 $x /lib/modules/`uname -r`/misc ; \
done
if ! [ -f wcfxsusb.o ]; then \
rm -f /lib/modules/`uname -r`/misc/wcfxsusb.o; \
fi
mkdir -p /usr/lib
install -m 755 libtonezone.so.1.0 /usr/lib
install -m 644 zaptel.h /usr/include/linux
install -m 644 torisa.h /usr/include/linux
install -m 644 tonezone.h /usr/include
( cd /usr/lib ; rm -f libtonezone.so ; ln -sf libtonezone.so.1.0 libtonezone.so )
/sbin/ldconfig
if [ -f /etc/modules.conf ]; then mv -f /etc/modules.conf /etc/modules.conf.bak ; fi
cat /etc/modules.conf.bak | grep -v "alias char-major-250" | \
grep -v "post-install torisa /sbin/ztcfg" | \
grep -v "post-install wcfxsusb /sbin/ztcfg" | \
grep -v "post-install wcfxs /sbin/ztcfg" > /etc/modules.conf || true
if ! grep "options torisa" /etc/modules.conf; then \
echo "options torisa base=0xd0000" >> /etc/modules.conf; \
fi
options torisa base=0xd0000
if ! grep "alias char-major-196" /etc/modules.conf; then \
echo "alias char-major-196 torisa" >> /etc/modules.conf; \
fi
alias char-major-196 torisa
if ! grep "post-install wcfxs" /etc/modules.conf; then \
echo "post-install wcfxs /sbin/ztcfg" >> /etc/modules.conf; \
fi
if ! grep "post-install wcfxsusb" /etc/modules.conf; then \
echo "post-install wcfxsusb /sbin/ztcfg" >> /etc/modules.conf; \
fi
if ! grep "post-install torisa" /etc/modules.conf; then \
echo "post-install torisa /sbin/ztcfg" >> /etc/modules.conf; \
fi
if ! grep "post-install tor2" /etc/modules.conf; then \
echo "post-install tor2 /sbin/ztcfg" >> /etc/modules.conf; \
fi
post-install tor2 /sbin/ztcfg
if ! grep "post-install wcfxo" /etc/modules.conf; then \
echo "post-install wcfxo /sbin/ztcfg" >> /etc/modules.conf; \
fi
post-install wcfxo /sbin/ztcfg
if ! grep "post-install wct1xxp" /etc/modules.conf; then \
echo "post-install wct1xxp /sbin/ztcfg" >> /etc/modules.conf; \
fi
post-install wct1xxp /sbin/ztcfg
if [ -d /etc/modutils ]; then \
/sbin/update-modules ; \
fi
/sbin/depmod -a
[ -f /etc/zaptel.conf ] || install -m 644 zaptel.conf.sample /etc/zaptel.conf
ivr2:/usr/src/zaptel # cd ..
ivr2:/usr/src # cd zapata
ivr2:/usr/src/zapata # make clean; make install
rm -f *.o
rm -f libzap.a mkcoef p_tmp_ libzap.so*
make -C mkfilter clean
make[1]: Entering directory `/usr/src/zapata/mkfilter'
rm -f mkfilter.o mkshape.o mkaverage.o gencode.o genplot.o complex.o readdata.o
rm -f mkfilter mkshape mkaverage gencode genplot
make[1]: Leaving directory `/usr/src/zapata/mkfilter'
gcc -Wall -Wstrict-prototypes -march=pentium -O6 -g -c -o zap.o zap.c
gcc -Wall -Wstrict-prototypes -march=pentium -O6 -g -c -o goertzel.o goertzel.c
gcc -Wall -Wstrict-prototypes -march=pentium -O6 -g -c -o filtros.o filtros.c
In file included from filtros.c:33:
coef_in.h:9:8: warning: no newline at end of file
In file included from filtros.c:43:
coef_out.h:3:4: warning: no newline at end of file
gcc -Wall -Wstrict-prototypes -march=pentium -O6 -g -c -o demodulador.o demodulador.c
gcc -Wall -Wstrict-prototypes -march=pentium -O6 -g -c -o serie.o serie.c
gcc -Wall -Wstrict-prototypes -march=pentium -O6 -g -c -o baudot.o baudot.c
gcc -Wall -Wstrict-prototypes -march=pentium -O6 -g -c -o dpll.o dpll.c
gcc -Wall -Wstrict-prototypes -march=pentium -O6 -g -c -o tone_detect.o tone_detect.c
ar rcs libzap.a zap.o goertzel.o filtros.o demodulador.o serie.o baudot.o dpll.o tone_detect.o
ranlib libzap.a
gcc -shared -Wl,-soname,libzap.so.1 -o libzap.so.1.0 zap.o goertzel.o filtros.o demodulador.o serie.o baudot.o dpll.o
tone_detect.o -lc -lm
/sbin/ldconfig -n .
rm -f libzap.so
ln -sf libzap.so.1 libzap.so
install -m 644 libzap.a /usr/lib
install -m 644 zap.h /usr/include
install -m 755 libzap.so.1 /usr/lib
( cd /usr/lib ; ln -sf libzap.so.1 libzap.so )
ivr2:/usr/src/zapata # cd ../libpri/
ivr2:/usr/src/libpri # make clean; make install
rm -f *.o *.so *.lo
rm -f testpri libpri.a libpri.so.1.0
rm -f pritest pridump
cc -Wall -Werror -Wstrict-prototypes -Wmissing-prototypes -g -c -o pri.o pri.c
cc -Wall -Werror -Wstrict-prototypes -Wmissing-prototypes -g -c -o q921.o q921.c
cc -Wall -Werror -Wstrict-prototypes -Wmissing-prototypes -g -c -o prisched.o prisched.c
cc -Wall -Werror -Wstrict-prototypes -Wmissing-prototypes -g -c -o q931.o q931.c
ar rcs libpri.a pri.o q921.o prisched.o q931.o
ranlib libpri.a
cc -fPIC -Wall -Werror -Wstrict-prototypes -Wmissing-prototypes -g -o pri.lo -c pri.c
cc -fPIC -Wall -Werror -Wstrict-prototypes -Wmissing-prototypes -g -o q921.lo -c q921.c
cc -fPIC -Wall -Werror -Wstrict-prototypes -Wmissing-prototypes -g -o prisched.lo -c prisched.c
cc -fPIC -Wall -Werror -Wstrict-prototypes -Wmissing-prototypes -g -o q931.lo -c q931.c
cc -shared -Wl,-soname,libpri.so.1 -o libpri.so.1.0 pri.lo q921.lo prisched.lo q931.lo
/sbin/ldconfig -n .
ln -sf libpri.so.1 libpri.so
mkdir -p /usr/lib
mkdir -p /usr/include
install -m 644 libpri.h /usr/include
install -m 755 libpri.so.1.0 /usr/lib
( cd /usr/lib ; ln -sf libpri.so.1 libpri.so )
install -m 644 libpri.a /usr/lib
/sbin/ldconfig
ivr2:/usr/src/libpri # insmod tor2
Using /lib/modules/2.4.19-64GB-SMP/misc/tor2.o
/lib/modules/2.4.19-64GB-SMP/misc/tor2.o: unresolved symbol zt_ec_chunk
/lib/modules/2.4.19-64GB-SMP/misc/tor2.o: unresolved symbol zt_unregister
/lib/modules/2.4.19-64GB-SMP/misc/tor2.o: unresolved symbol zt_alarm_notify
/lib/modules/2.4.19-64GB-SMP/misc/tor2.o: unresolved symbol zt_transmit
/lib/modules/2.4.19-64GB-SMP/misc/tor2.o: unresolved symbol zt_lboname
/lib/modules/2.4.19-64GB-SMP/misc/tor2.o: unresolved symbol zt_rbsbits
/lib/modules/2.4.19-64GB-SMP/misc/tor2.o: unresolved symbol zt_receive
/lib/modules/2.4.19-64GB-SMP/misc/tor2.o: unresolved symbol zt_register
More information about the asterisk-users
mailing list