[asterisk-users] Re: zapata with Tiger3XX compilation error

2007-03-15 Thread pedro noticioso
Ok so I read the Linux 2.6 related README and finally
compiled propperly, I thought but at the end I notice
that lscpi does report the cards, but I cant modprobe
wcfxo nor zaptel and I do have wcfxo.ko in the
/lib/modules/2.6.8/extra/ directory, so what gives? 

This is a Debian Sarge, thanks!





#
# make clean starts here
#
make[1]: Entering directory
`/usr/src/zaptel-1.4.0/menuselect'
rm -f menuselect *.o
make[2]: Entering directory
`/usr/src/zaptel-1.4.0/menuselect/mxml'
/bin/rm -f mxmldoc.o testmxml.o mxml-attr.o
mxml-entity.o mxml-file.o mxml-index.o mxml-node.o
mxml-search.o mxml-set.o mxml-private.o mxml-string.o
libmxml.a mxmldoc doc/mxml.3 doc/mxmldoc.1 testmxml
mxml.xml
/bin/rm -f mxmldoc-static libmxml.a
/bin/rm -f *.bck *.bak
/bin/rm -f config.cache config.log config.status
/bin/rm -f -r autom4te*.cache
make[2]: Leaving directory
`/usr/src/zaptel-1.4.0/menuselect/mxml'
make[1]: Leaving directory
`/usr/src/zaptel-1.4.0/menuselect'
rm -f torisatool makefw tor2fw.h radfw.h
rm -f fxotune fxstest sethdlc-new ztcfg ztdiag
ztmonitor ztspeed zttest zttool
rm -f *.o ztcfg tzdriver sethdlc sethdlc-new
rm -f libtonezone.so libtonezone.a *.lo
make -C /usr/src/linux SUBDIRS=/usr/src/zaptel-1.4.0
clean
make[1]: Entering directory
`/usr/src/kernel-source-2.6.8'
  CLEAN   /usr/src/zaptel-1.4.0/wct4xxp
  CLEAN   /usr/src/zaptel-1.4.0/.tmp_versions
make[1]: Leaving directory
`/usr/src/kernel-source-2.6.8'
rm -f xpp/*.ko xpp/*.mod.c xpp/.*o.cmd
rm -f xpp/*.o xpp/*.mod.o
rm -rf .tmp_versions
rm -f gendigits tones.h
rm -f libtonezone*
rm -f tor2ee
rm -f fxotune
rm -f core
rm -f ztcfg-shared fxstest
rm -rf misdn*
rm -rf mISDNuser*
#
# ./configure starts here
#
checking for gcc... gcc
checking for C compiler default output file name...
a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables... 
checking for suffix of object files... o
checking whether we are using the GNU C compiler...
yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none
needed
checking how to run the C preprocessor... gcc -E
checking for a BSD-compatible install...
/usr/bin/install -c
checking whether ln -s works... yes
checking for GNU make... make
checking for grep... /bin/grep
checking for sh... /bin/sh
checking for ln... /bin/ln
checking for grep that handles long lines and -e...
(cached) /bin/grep
checking for egrep... /bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for initscr in -lcurses... yes
checking curses.h usability... yes
checking curses.h presence... yes
checking for curses.h... yes
checking for initscr in -lncurses... yes
checking for curses.h... (cached) yes
checking for newtBell in -lnewt... yes
checking newt.h usability... yes
checking newt.h presence... yes
checking for newt.h... yes
checking for usb_init in -lusb... no
configure: creating ./config.status
config.status: creating build_tools/menuselect-deps
config.status: creating makeopts
configure: *** Zaptel build successfully configured
***
#
#  make linux26 starts here
#
make[1]: Entering directory
`/usr/src/zaptel-1.4.0/menuselect'
make[2]: Entering directory
`/usr/src/zaptel-1.4.0/menuselect'
make[3]: Entering directory
`/usr/src/zaptel-1.4.0/menuselect/mxml'
gcc -O -Wall   -c mxml-attr.c
gcc -O -Wall   -c mxml-entity.c
gcc -O -Wall   -c mxml-file.c
gcc -O -Wall   -c mxml-index.c
gcc -O -Wall   -c mxml-node.c
gcc -O -Wall   -c mxml-search.c
gcc -O -Wall   -c mxml-set.c
gcc -O -Wall   -c mxml-private.c
gcc -O -Wall   -c mxml-string.c
/bin/rm -f libmxml.a
/usr/bin/ar crvs libmxml.a mxml-attr.o mxml-entity.o
mxml-file.o mxml-index.o mxml-node.o mxml-search.o
mxml-set.o mxml-private.o mxml-string.o
a - mxml-attr.o
a - mxml-entity.o
a - mxml-file.o
a - mxml-index.o
a - mxml-node.o
a - mxml-search.o
a - mxml-set.o
a - mxml-private.o
a - mxml-string.o
ranlib libmxml.a
make[3]: Leaving directory
`/usr/src/zaptel-1.4.0/menuselect/mxml'
gcc -Wall  -o menuselect.o -g -c -D_GNU_SOURCE
menuselect.c
gcc -Wall  -o menuselect_curses.o -g -c -D_GNU_SOURCE 
menuselect_curses.c
gcc -Wall  -o strcompat.o -g -c -D_GNU_SOURCE
strcompat.c
gcc -g -Wall -o menuselect menuselect.o
menuselect_curses.o strcompat.o mxml/libmxml.a
-lncurses 
make[2]: Leaving directory
`/usr/src/zaptel-1.4.0/menuselect'
make[1]: Leaving directory
`/usr/src/zaptel-1.4.0/menuselect'
gcc gendigits.c  -lm -o gendigits
./gendigits  tones.h
gcc -o makefw makefw.c
./makefw tormenta2.rbt tor2fw  tor2fw.h
Loaded 69900 bytes from file
./makefw pciradio.rbt radfw  radfw.h
Loaded 42096 bytes from file
make -C /usr/src/linux SUBDIRS=/usr/src/zaptel-1.4.0
modules
make[1]: Entering directory
`/usr/src/kernel-source-2.6.8'
  CC [M]  

Re: [asterisk-users] Re: zapata with Tiger3XX compilation error

2007-03-15 Thread Tzafrir Cohen
On Thu, Mar 15, 2007 at 03:38:20PM -0700, pedro noticioso wrote:
 Ok so I read the Linux 2.6 related README and finally
 compiled propperly, I thought but at the end I notice
 that lscpi does report the cards, but I cant modprobe
 wcfxo nor zaptel and I do have wcfxo.ko in the
 /lib/modules/2.6.8/extra/ directory, so what gives? 
 
 This is a Debian Sarge, thanks!

I believe the docs have misled you. I bet /usr/src/linux is a link to
some kernel source that happens to have a kernel almost configured
correctly.

What is the output of:

  modinfo wcfxo

Anything?

  apt-get install linux-headers-`uname -r`

and repeat the build.

Alternatively, 

  echo deb http://updates.xorcom.com/rapid sarge main /etc/apt/sources.list
  apt-get update
  apt-get install zaptel zaptel-modules-`uname -r`
  genzaptelconf
  # optional:
  #echo '#include zapata-channels.conf' /etc/asterisk/zapata.conf
  #/etc/init.d/asterisk start

If you want asterisk 1.4: that should be a simple matter of adding two
symlinks, I believe. I'll have to dig in further.

-- 
   Tzafrir Cohen   
icq#16849755jabber:[EMAIL PROTECTED]
+972-50-7952406   mailto:[EMAIL PROTECTED]   
http://www.xorcom.com  iax:[EMAIL PROTECTED]/tzafrir
___
--Bandwidth and Colocation provided by Easynews.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users