rendered paste bodypbx linux # lsmod
Module Size Used by
pbx linux # modprobe wct4xxp
WARNING: Error inserting zaptel (/lib/modules/2.6.11-gentoo-r8/misc/zaptel.ko): Unknown symbol in module, or unknown parameter (see dmesg)
WARNING: Error inserting zaptel (/lib/modules/2.6.11-gentoo-r8/misc/zaptel.ko): Unknown symbol in module, or unknown parameter (see dmesg)
FATAL: Error inserting wct4xxp (/lib/modules/2.6.11-gentoo-r8/misc/wct4xxp.ko): Unknown symbol in module, or unknown parameter (see dmesg)
FATAL: Error running install command for wct4xxp
pbx linux # cd /root/
pbx root # cd zaptel-1.0.7
pbx zaptel-1.0.7 # ls
ChangeLog fxsdump.c mec3.h tor2.ee wct4xxp.c ztdiag.c
LICENSE fxstest.c mkfilter.h tor2ee.c wct4xxp.h ztdummy.c
Makefile genconst.c mknotch.cc tor2fw.h wcte11xp.c ztdummy.h
README gendigits orig.ee torisa.c wcusb.c ztdynamic.c
README.Linux26 gendigits.c patgen.c torisa.h wcusb.h ztmonitor
README.fxsusb gendigits.o patlooptest.c torisatool zaptel.c ztmonitor.c
README.udev hdlcgen.c pattest.c torisatool.c zaptel.conf.sample ztmonitor.o
arith.h hdlcstress.c proslic.h torisatool.o zaptel.h ztspeed
biquad.h hdlctest.c sec-2.h tormenta2.rbt zaptel.init ztspeed.c
bittest.h hdlcverify.c sec.h tormenta2.ucf zaptel.sysconfig ztspeed.o
checkstack ifcfg-hdlc0 sethdlc-new.c tormenta2.vhd zconfig.h zttest
complex.cc ifup-hdlc sethdlc.c usbfxstest.c zonedata.c zttest.c
complex.h libtonezone.a timertest.c wcfxo.c zonedata.lo zttool
core.11101 makefw tones.h wcfxs.c ztcfg zttool.c
core.20593 makefw.c tonezone.c wcfxs.h ztcfg-dude.c zttool.o
digits.h mec.h tonezone.h wcfxsusb.c ztcfg.c
ecdis.h mec2.h tonezone.lo wcfxsusb.h ztcfg.h
fasthdlc.h mec2_const.h tor2-hw.h wct1xxp.c ztcfg.o
fir.h mec3-float.h tor2.c wct4xxp-diag.c ztd-eth.c
pbx zaptel-1.0.7 # make clean install
rm -f torisatool makefw tor2fw.h
rm -f zttool
rm -f *.o ztcfg tzdriver sethdlc sethdlc-new
rm -f zonedata.lo tonezone.lo libtonezone.so.1.0 *.lo
rm -f *.ko *.mod.c .*o.cmd
rm -f gendigits tones.h
rm -f libtonezone*
rm -f tor2ee
rm -f core
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
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
cc -I. -O4 -g -Wall -DBUILDING_TONEZONE -DSTANDALONE_ZAPATA -DZAPTEL_CONFIG=\"/etc/zaptel.conf\" -c -o ztcfg.o ztcfg.c
cc -c -fPIC -I. -O4 -g -Wall -DBUILDING_TONEZONE -DSTANDALONE_ZAPATA -DZAPTEL_CONFIG=\"/etc/zaptel.conf\" -DBUILDING_TONEZONE -o zonedata.lo zonedata.c
cc -c -fPIC -I. -O4 -g -Wall -DBUILDING_TONEZONE -DSTANDALONE_ZAPATA -DZAPTEL_CONFIG=\"/etc/zaptel.conf\" -DBUILDING_TONEZONE -o tonezone.lo tonezone.c
ar rcs libtonezone.a zonedata.lo tonezone.lo
cc -o ztcfg ztcfg.o -lm -L. libtonezone.a
cc -I. -O4 -g -Wall -DBUILDING_TONEZONE -DSTANDALONE_ZAPATA -DZAPTEL_CONFIG=\"/etc/zaptel.conf\" -c -o torisatool.o torisatool.c
cc -o torisatool torisatool.o
cc -I. -O4 -g -Wall -DBUILDING_TONEZONE -DSTANDALONE_ZAPATA -DZAPTEL_CONFIG=\"/etc/zaptel.conf\" -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 -DZAPTEL_CONFIG=\"/etc/zaptel.conf\" -c -o zttool.o zttool.c
cc -o zttool zttool.o -lnewt
make -C /lib/modules/`uname -r`/build SUBDIRS=/root/zaptel-1.0.7 modules
make[1]: Entering directory `/usr/src/linux-2.6.11-gentoo-r8'
CC [M] /root/zaptel-1.0.7/zaptel.o
/root/zaptel-1.0.7/zaptel.c:167: warning: `fcstab' defined but not used
CC [M] /root/zaptel-1.0.7/wct4xxp.o
CC [M] /root/zaptel-1.0.7/ztdummy.o
Building modules, stage 2.
MODPOST
CC /root/zaptel-1.0.7/wct4xxp.mod.o
LD [M] /root/zaptel-1.0.7/wct4xxp.ko
CC /root/zaptel-1.0.7/zaptel.mod.o
LD [M] /root/zaptel-1.0.7/zaptel.ko
CC /root/zaptel-1.0.7/ztdummy.mod.o
LD [M] /root/zaptel-1.0.7/ztdummy.ko
make[1]: Leaving directory `/usr/src/linux-2.6.11-gentoo-r8'
**** Dynamic filesystem detected -- not creating device nodes
**** If you are running udev, read README.udev
cc -shared -Wl,-soname,libtonezone.so.1 -lm -o libtonezone.so.1.0 zonedata.lo tonezone.lo
[ `id -u` = 0 ] && /sbin/ldconfig || :
ln -sf libtonezone.so.1 libtonezone.so
install -D -m 755 ztcfg /sbin/ztcfg
if [ -f sethdlc-new ]; then \
install -D -m 755 sethdlc-new /sbin/sethdlc; \
elif [ -f sethdlc ]; then \
install -D -m 755 sethdlc /sbin/sethdlc ; \
fi
if [ -f zttool ]; then install -D -m 755 zttool /sbin/zttool; fi
if [ -f zaptel.ko ]; then \
for x in zaptel.ko wct4xxp.ko ztdummy.ko; do \
install -D -m 644 $x /lib/modules/`uname -r`/misc/$x ; \
done; \
if ! [ -f wcfxsusb.ko ]; then \
rm -f /lib/modules/`uname -r`/misc/wcfxsusb.o; \
fi; \
else \
for x in zaptel.o wct4xxp.o ; do \
install -D -m 644 $x /lib/modules/`uname -r`/misc/$x ; \
done; \
if ! [ -f wcfxsusb.o ]; then \
rm -f /lib/modules/`uname -r`/misc/wcfxsusb.ko; \
fi; \
fi
install -D -m 755 libtonezone.so.1.0 /usr/lib/libtonezone.so.1.0
if [ -x /usr/sbin/sestatus ] && (/usr/sbin/sestatus | grep "SELinux status:" | grep -q "enabled") ; then restorecon -v /usr/lib/libtonezone.so.1.0; fi
install -D -m 644 zaptel.h /usr/include/linux/zaptel.h
install -D -m 644 torisa.h /usr/include/linux/torisa.h
install -D -m 644 tonezone.h /usr/include/tonezone.h
( cd /usr/lib ; rm -f libtonezone.so ; ln -sf libtonezone.so.1.0 libtonezone.so )
[ `id -u` = 0 ] && /sbin/ldconfig || :
if [ -f /etc/modprobe.conf ]; then mv -f /etc/modprobe.conf /etc/modprobe.conf.bak ; fi
cat /etc/modprobe.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/modprobe.conf || true
if ! grep "options torisa" /etc/modprobe.conf; then \
echo "options torisa base=0xd0000" >> /etc/modprobe.conf; \
fi
options torisa base=0xd0000
if ! grep "alias char-major-196" /etc/modprobe.conf; then \
echo "alias char-major-196 torisa" >> /etc/modprobe.conf; \
fi
alias char-major-196 torisa
for x in zaptel wct4xxp; do \
if ! grep "post-install $x" /etc/modprobe.conf; then \
if ! grep "install $x " /etc/modprobe.conf; then \
if [ "$x" != "zaptel" ] ; then \
if [ -f zaptel.ko ]; then echo "install $x /sbin/modprobe --ignore-install $x && /sbin/ztcfg" >> /etc/modprobe.conf; \
else echo "post-install $x /sbin/ztcfg" >> /etc/modprobe.conf; \
fi; \
fi; \
fi; \
fi; \
done
install wct4xxp /sbin/modprobe --ignore-install wct4xxp && /sbin/ztcfg
if ! grep "alias wctdm" /etc/modprobe.conf; then \
echo "alias wctdm wcfxs" >> /etc/modprobe.conf; \
fi \
alias wctdm wcfxs
if [ -d /etc/modutils ]; then \
/sbin/update-modules ; \
fi
[ `id -u` = 0 ] && /sbin/depmod -a || :
[ -f /etc/zaptel.conf ] || install -D -m 644 zaptel.conf.sample /etc/zaptel.conf
pbx zaptel-1.0.7 # lsmod
Module Size Used by
pbx zaptel-1.0.7 # modprobe wct4xxp
WARNING: Error inserting crc_ccitt (/lib/modules/2.6.11-gentoo-r8/kernel/lib/crc-ccitt.ko): Invalid module format
WARNING: Error inserting zaptel (/lib/modules/2.6.11-gentoo-r8/misc/zaptel.ko): Invalid module format
WARNING: Error inserting crc_ccitt (/lib/modules/2.6.11-gentoo-r8/kernel/lib/crc-ccitt.ko): Invalid module format
WARNING: Error inserting zaptel (/lib/modules/2.6.11-gentoo-r8/misc/zaptel.ko): Invalid module format
FATAL: Error inserting wct4xxp (/lib/modules/2.6.11-gentoo-r8/misc/wct4xxp.ko): Invalid module format
FATAL: Error running install command for wct4xxp
pbx zaptel-1.0.7 # modproe lib/crc-ccitt.o
-bash: modproe: command not found
pbx zaptel-1.0.7 # modprobe crc-ccitt.o
FATAL: Module crc_ccitt.o not found.
pbx zaptel-1.0.7 # modprobe crc-ccitt
FATAL: Error inserting crc_ccitt (/lib/modules/2.6.11-gentoo-r8/kernel/lib/crc-ccitt.ko): Invalid module format
pbx zaptel-1.0.7 # depmod -a
pbx zaptel-1.0.7 # lsmod
Module Size Used by
pbx zaptel-1.0.7 # modprobe wct4xxp
WARNING: Error inserting crc_ccitt (/lib/modules/2.6.11-gentoo-r8/kernel/lib/crc-ccitt.ko): Invalid module format
WARNING: Error inserting zaptel (/lib/modules/2.6.11-gentoo-r8/misc/zaptel.ko): Invalid module format
WARNING: Error inserting crc_ccitt (/lib/modules/2.6.11-gentoo-r8/kernel/lib/crc-ccitt.ko): Invalid module format
WARNING: Error inserting zaptel (/lib/modules/2.6.11-gentoo-r8/misc/zaptel.ko): Invalid module format
FATAL: Error inserting wct4xxp (/lib/modules/2.6.11-gentoo-r8/misc/wct4xxp.ko): Invalid module format
FATAL: Error running install command for wct4xxp
pbx zaptel-1.0.7 # depmod 0
pbx zaptel-1.0.7 # lsmod
Module Size Used by
pbx zaptel-1.0.7 # modprobe wct4xxp
FATAL: Module wct4xxp not found.
FATAL: Error running install command for wct4xxp
pbx zaptel-1.0.7 # modprobe wct4xxp
FATAL: Module wct4xxp not found.
FATAL: Error running install command for wct4xxp
pbx zaptel-1.0.7 # ls
ChangeLog genconst.c mknotch.cc torisa.h wcte11xp.c ztdiag.c
LICENSE gendigits orig.ee torisatool wcusb.c ztdummy.c
Makefile gendigits.c patgen.c torisatool.c wcusb.h ztdummy.h
README gendigits.o patlooptest.c torisatool.o zaptel.c ztdummy.ko
README.Linux26 hdlcgen.c pattest.c tormenta2.rbt zaptel.conf.sample ztdummy.mod.c
README.fxsusb hdlcstress.c proslic.h tormenta2.ucf zaptel.h ztdummy.mod.o
README.udev hdlctest.c sec-2.h tormenta2.vhd zaptel.init ztdummy.o
arith.h hdlcverify.c sec.h usbfxstest.c zaptel.ko ztdynamic.c
biquad.h ifcfg-hdlc0 sethdlc-new.c wcfxo.c zaptel.mod.c ztmonitor
bittest.h ifup-hdlc sethdlc.c wcfxs.c zaptel.mod.o ztmonitor.c
checkstack libtonezone.a timertest.c wcfxs.h zaptel.o ztmonitor.o
complex.cc libtonezone.so tones.h wcfxsusb.c zaptel.sysconfig ztspeed
complex.h libtonezone.so.1.0 tonezone.c wcfxsusb.h zconfig.h ztspeed.c
core.11101 makefw tonezone.h wct1xxp.c zonedata.c ztspeed.o
core.20593 makefw.c tonezone.lo wct4xxp-diag.c zonedata.lo zttest
digits.h mec.h tor2-hw.h wct4xxp.c ztcfg zttest.c
ecdis.h mec2.h tor2.c wct4xxp.h ztcfg-dude.c zttool
fasthdlc.h mec2_const.h tor2.ee wct4xxp.ko ztcfg.c zttool.c
fir.h mec3-float.h tor2ee.c wct4xxp.mod.c ztcfg.h zttool.o
fxsdump.c mec3.h tor2fw.h wct4xxp.mod.o ztcfg.o
fxstest.c mkfilter.h torisa.c wct4xxp.o ztd-eth.c
pbx zaptel-1.0.7 # cd /usr/src/linux
pbx linux # ls
COPYING MAINTAINERS README crypto include kernel mm scripts usr
CREDITS Makefile REPORTING-BUGS drivers init lib net security
Documentation Module.symvers arch fs ipc linux patches.txt sound
pbx linux # ls -al
total 456
drwxr-xr-x 19 root root 4096 May 12 20:48 .
drwxr-xr-x 7 root root 4096 May 12 17:43 ..
-rw-r--r-- 1 root root 30493 May 12 20:44 .config
-rw-r--r-- 1 root root 27654 May 12 14:24 .config-before
-rw-r--r-- 1 root root 5178 May 12 20:44 .config.cmd
-rw-r--r-- 1 root root 30729 May 12 20:43 .config.old
-rw-r--r-- 1 root root 31633 May 12 14:04 .config.old-before
drwxr-xr-x 2 root root 4096 May 12 20:48 .tmp_versions
-rw-r--r-- 1 root root 2 May 12 14:30 .version
-rw-r--r-- 1 root root 18691 May 12 13:19 COPYING
-rw-r--r-- 1 root root 89037 May 12 13:19 CREDITS
drwxr-xr-x 51 root root 4096 May 12 13:19 Documentation
-rw-r--r-- 1 root root 56058 May 12 13:19 MAINTAINERS
-rw-r--r-- 1 root root 43483 May 12 13:19 Makefile
-rw-r--r-- 1 root root 851 May 12 20:48 Module.symvers
-rw-r--r-- 1 root root 13970 May 12 13:19 README
-rw-r--r-- 1 root root 2815 May 12 13:19 REPORTING-BUGS
drwxr-xr-x 25 root root 4096 May 12 13:19 arch
drwxr-xr-x 2 root root 4096 May 12 20:46 crypto
drwxr-xr-x 48 root root 4096 May 12 20:43 drivers
drwxr-xr-x 56 root root 4096 May 12 20:46 fs
drwxr-xr-x 38 root root 4096 May 12 13:35 include
drwxr-xr-x 2 root root 4096 May 12 20:44 init
drwxr-xr-x 2 root root 4096 May 12 20:46 ipc
drwxr-xr-x 4 root root 4096 May 12 20:45 kernel
drwxr-xr-x 5 root root 4096 May 12 20:48 lib
lrwxr-xr-x 1 root root 5 May 12 14:18 linux -> linux
drwxr-xr-x 2 root root 4096 May 12 20:45 mm
drwxr-xr-x 32 root root 4096 May 12 20:43 net
-rw-r--r-- 1 root root 52 May 12 13:19 patches.txt
drwxr-xr-x 9 root root 4096 May 12 20:44 scripts
drwxr-xr-x 4 root root 4096 May 12 20:46 security
drwxr-xr-x 16 root root 4096 May 12 20:43 sound
drwxr-xr-x 2 root root 4096 May 12 20:44 usr
pbx linux # pwd
/usr/src/linux
pbx linux # cd ..
pbx src # ls
linux linux-2.6.10-gentoo-r6 linux-2.6.11-gentoo-r8 old pc redhat
pbx src # ls -al
total 28
drwxr-xr-x 7 root root 4096 May 12 17:43 .
drwxr-xr-x 14 root root 4096 Apr 4 15:08 ..
-rw-r--r-- 1 root root 0 Dec 2 02:24 .keep
lrwxr-xr-x 1 root root 23 May 12 14:20 linux -> linux-2.6.11-gentoo-r8/
drwxr-xr-x 19 root root 4096 May 11 18:37 linux-2.6.10-gentoo-r6
drwxr-xr-x 19 root root 4096 May 12 20:48 linux-2.6.11-gentoo-r8
drwxr-xr-x 6 root root 4096 May 12 17:43 old
drwxr-xr-x 7 root root 4096 Mar 14 17:49 pc
drwxr-xr-x 7 root root 4096 Mar 14 17:49 redhat
pbx src # cd /usr/src
pbx src # ls
linux linux-2.6.10-gentoo-r6 linux-2.6.11-gentoo-r8 old pc redhat
pbx src # ls -al
total 28
drwxr-xr-x 7 root root 4096 May 12 17:43 .
drwxr-xr-x 14 root root 4096 Apr 4 15:08 ..
-rw-r--r-- 1 root root 0 Dec 2 02:24 .keep
lrwxr-xr-x 1 root root 23 May 12 14:20 linux -> linux-2.6.11-gentoo-r8/
drwxr-xr-x 19 root root 4096 May 11 18:37 linux-2.6.10-gentoo-r6
drwxr-xr-x 19 root root 4096 May 12 20:48 linux-2.6.11-gentoo-r8
drwxr-xr-x 6 root root 4096 May 12 17:43 old
drwxr-xr-x 7 root root 4096 Mar 14 17:49 pc
drwxr-xr-x 7 root root 4096 Mar 14 17:49 redhat
pbx src # cd linux
pbx linux # ls
COPYING MAINTAINERS README crypto include kernel mm scripts usr
CREDITS Makefile REPORTING-BUGS drivers init lib net security
Documentation Module.symvers arch fs ipc linux patches.txt sound
pbx linux # cd /root/zaptel-1.0.7
pbx zaptel-1.0.7 # ls
ChangeLog genconst.c mknotch.cc torisa.h wcte11xp.c ztdiag.c
LICENSE gendigits orig.ee torisatool wcusb.c ztdummy.c
Makefile gendigits.c patgen.c torisatool.c wcusb.h ztdummy.h
README gendigits.o patlooptest.c torisatool.o zaptel.c ztdummy.ko
README.Linux26 hdlcgen.c pattest.c tormenta2.rbt zaptel.conf.sample ztdummy.mod.c
README.fxsusb hdlcstress.c proslic.h tormenta2.ucf zaptel.h ztdummy.mod.o
README.udev hdlctest.c sec-2.h tormenta2.vhd zaptel.init ztdummy.o
arith.h hdlcverify.c sec.h usbfxstest.c zaptel.ko ztdynamic.c
biquad.h ifcfg-hdlc0 sethdlc-new.c wcfxo.c zaptel.mod.c ztmonitor
bittest.h ifup-hdlc sethdlc.c wcfxs.c zaptel.mod.o ztmonitor.c
checkstack libtonezone.a timertest.c wcfxs.h zaptel.o ztmonitor.o
complex.cc libtonezone.so tones.h wcfxsusb.c zaptel.sysconfig ztspeed
complex.h libtonezone.so.1.0 tonezone.c wcfxsusb.h zconfig.h ztspeed.c
core.11101 makefw tonezone.h wct1xxp.c zonedata.c ztspeed.o
core.20593 makefw.c tonezone.lo wct4xxp-diag.c zonedata.lo zttest
digits.h mec.h tor2-hw.h wct4xxp.c ztcfg zttest.c
ecdis.h mec2.h tor2.c wct4xxp.h ztcfg-dude.c zttool
fasthdlc.h mec2_const.h tor2.ee wct4xxp.ko ztcfg.c zttool.c
fir.h mec3-float.h tor2ee.c wct4xxp.mod.c ztcfg.h zttool.o
fxsdump.c mec3.h tor2fw.h wct4xxp.mod.o ztcfg.o
fxstest.c mkfilter.h torisa.c wct4xxp.o ztd-eth.c
pbx zaptel-1.0.7 # make clean
rm -f torisatool makefw tor2fw.h
rm -f zttool
rm -f *.o ztcfg tzdriver sethdlc sethdlc-new
rm -f zonedata.lo tonezone.lo libtonezone.so.1.0 *.lo
rm -f *.ko *.mod.c .*o.cmd
rm -f gendigits tones.h
rm -f libtonezone*
rm -f tor2ee
rm -f core
pbx zaptel-1.0.7 # 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
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
cc -I. -O4 -g -Wall -DBUILDING_TONEZONE -DSTANDALONE_ZAPATA -DZAPTEL_CONFIG=\"/etc/zaptel.conf\" -c -o ztcfg.o ztcfg.c
cc -c -fPIC -I. -O4 -g -Wall -DBUILDING_TONEZONE -DSTANDALONE_ZAPATA -DZAPTEL_CONFIG=\"/etc/zaptel.conf\" -DBUILDING_TONEZONE -o zonedata.lo zonedata.c
cc -c -fPIC -I. -O4 -g -Wall -DBUILDING_TONEZONE -DSTANDALONE_ZAPATA -DZAPTEL_CONFIG=\"/etc/zaptel.conf\" -DBUILDING_TONEZONE -o tonezone.lo tonezone.c
ar rcs libtonezone.a zonedata.lo tonezone.lo
cc -o ztcfg ztcfg.o -lm -L. libtonezone.a
cc -I. -O4 -g -Wall -DBUILDING_TONEZONE -DSTANDALONE_ZAPATA -DZAPTEL_CONFIG=\"/etc/zaptel.conf\" -c -o torisatool.o torisatool.c
cc -o torisatool torisatool.o
cc -I. -O4 -g -Wall -DBUILDING_TONEZONE -DSTANDALONE_ZAPATA -DZAPTEL_CONFIG=\"/etc/zaptel.conf\" -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 -DZAPTEL_CONFIG=\"/etc/zaptel.conf\" -c -o zttool.o zttool.c
cc -o zttool zttool.o -lnewt
make -C /lib/modules/`uname -r`/build SUBDIRS=/root/zaptel-1.0.7 modules
make[1]: Entering directory `/usr/src/linux-2.6.11-gentoo-r8'
CC [M] /root/zaptel-1.0.7/zaptel.o
/root/zaptel-1.0.7/zaptel.c:167: warning: `fcstab' defined but not used
CC [M] /root/zaptel-1.0.7/wct4xxp.o
CC [M] /root/zaptel-1.0.7/ztdummy.o
Building modules, stage 2.
MODPOST
CC /root/zaptel-1.0.7/wct4xxp.mod.o
LD [M] /root/zaptel-1.0.7/wct4xxp.ko
CC /root/zaptel-1.0.7/zaptel.mod.o
LD [M] /root/zaptel-1.0.7/zaptel.ko
CC /root/zaptel-1.0.7/ztdummy.mod.o
LD [M] /root/zaptel-1.0.7/ztdummy.ko
make[1]: Leaving directory `/usr/src/linux-2.6.11-gentoo-r8'
pbx zaptel-1.0.7 # make install
make -C /lib/modules/`uname -r`/build SUBDIRS=/root/zaptel-1.0.7 modules
make[1]: Entering directory `/usr/src/linux-2.6.11-gentoo-r8'
Building modules, stage 2.
MODPOST
make[1]: Leaving directory `/usr/src/linux-2.6.11-gentoo-r8'
**** Dynamic filesystem detected -- not creating device nodes
**** If you are running udev, read README.udev
cc -shared -Wl,-soname,libtonezone.so.1 -lm -o libtonezone.so.1.0 zonedata.lo tonezone.lo
[ `id -u` = 0 ] && /sbin/ldconfig || :
ln -sf libtonezone.so.1 libtonezone.so
install -D -m 755 ztcfg /sbin/ztcfg
if [ -f sethdlc-new ]; then \
install -D -m 755 sethdlc-new /sbin/sethdlc; \
elif [ -f sethdlc ]; then \
install -D -m 755 sethdlc /sbin/sethdlc ; \
fi
if [ -f zttool ]; then install -D -m 755 zttool /sbin/zttool; fi
if [ -f zaptel.ko ]; then \
for x in zaptel.ko wct4xxp.ko ztdummy.ko; do \
install -D -m 644 $x /lib/modules/`uname -r`/misc/$x ; \
done; \
if ! [ -f wcfxsusb.ko ]; then \
rm -f /lib/modules/`uname -r`/misc/wcfxsusb.o; \
fi; \
else \
for x in zaptel.o wct4xxp.o ; do \
install -D -m 644 $x /lib/modules/`uname -r`/misc/$x ; \
done; \
if ! [ -f wcfxsusb.o ]; then \
rm -f /lib/modules/`uname -r`/misc/wcfxsusb.ko; \
fi; \
fi
install -D -m 755 libtonezone.so.1.0 /usr/lib/libtonezone.so.1.0
if [ -x /usr/sbin/sestatus ] && (/usr/sbin/sestatus | grep "SELinux status:" | grep -q "enabled") ; then restorecon -v /usr/lib/libtonezone.so.1.0; fi
install -D -m 644 zaptel.h /usr/include/linux/zaptel.h
install -D -m 644 torisa.h /usr/include/linux/torisa.h
install -D -m 644 tonezone.h /usr/include/tonezone.h
( cd /usr/lib ; rm -f libtonezone.so ; ln -sf libtonezone.so.1.0 libtonezone.so )
[ `id -u` = 0 ] && /sbin/ldconfig || :
if [ -f /etc/modprobe.conf ]; then mv -f /etc/modprobe.conf /etc/modprobe.conf.bak ; fi
cat /etc/modprobe.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/modprobe.conf || true
if ! grep "options torisa" /etc/modprobe.conf; then \
echo "options torisa base=0xd0000" >> /etc/modprobe.conf; \
fi
options torisa base=0xd0000
if ! grep "alias char-major-196" /etc/modprobe.conf; then \
echo "alias char-major-196 torisa" >> /etc/modprobe.conf; \
fi
alias char-major-196 torisa
for x in zaptel wct4xxp; do \
if ! grep "post-install $x" /etc/modprobe.conf; then \
if ! grep "install $x " /etc/modprobe.conf; then \
if [ "$x" != "zaptel" ] ; then \
if [ -f zaptel.ko ]; then echo "install $x /sbin/modprobe --ignore-install $x && /sbin/ztcfg" >> /etc/modprobe.conf; \
else echo "post-install $x /sbin/ztcfg" >> /etc/modprobe.conf; \
fi; \
fi; \
fi; \
fi; \
done
install wct4xxp /sbin/modprobe --ignore-install wct4xxp && /sbin/ztcfg
if ! grep "alias wctdm" /etc/modprobe.conf; then \
echo "alias wctdm wcfxs" >> /etc/modprobe.conf; \
fi \
alias wctdm wcfxs
if [ -d /etc/modutils ]; then \
/sbin/update-modules ; \
fi
[ `id -u` = 0 ] && /sbin/depmod -a || :
[ -f /etc/zaptel.conf ] || install -D -m 644 zaptel.conf.sample /etc/zaptel.conf
pbx zaptel-1.0.7 # lsmod
Module Size Used by
pbx zaptel-1.0.7 # modprobe wct4xxp
WARNING: Error inserting crc_ccitt (/lib/modules/2.6.11-gentoo-r8/kernel/lib/crc-ccitt.ko): Invalid module format
WARNING: Error inserting zaptel (/lib/modules/2.6.11-gentoo-r8/misc/zaptel.ko): Invalid module format
WARNING: Error inserting crc_ccitt (/lib/modules/2.6.11-gentoo-r8/kernel/lib/crc-ccitt.ko): Invalid module format