On Sat, Dec 23, 2006 at 02:14:14PM +0200, Tzafrir Cohen wrote:
> On Fri, Dec 22, 2006 at 09:58:22AM -0700, Colin Anderson wrote:
> > 
> >   LD [M]  /root/wanpipe/patches/kdrivers/wanec/wanec.o
> >   Building modules, stage 2.
> >   MODPOST
> > *** Warning: "register_wanec_iface"
> > [/root/wanpipe/patches/kdrivers/wanec/wanec.ko] undefined!
> > *** Warning: "unregister_wanec_iface"
> > [/root/wanpipe/patches/kdrivers/wanec/wanec.ko] undefined!
> >   CC      /root/wanpipe/patches/kdrivers/wanec/wanec.mod.o
> >   LD [M]  /root/wanpipe/patches/kdrivers/wanec/wanec.ko
> > make[1]: Leaving directory `/lib/modules/2.6.10-1.771_FC2smp/build'
> > make -C /lib/modules/2.6.10-1.771_FC2smp/build SUBDIRS=/root/wanpipe/kdrvtmp
> > CC=gcc KBUILD_VERBOSE=0 modules
> > make[1]: Entering directory `/lib/modules/2.6.10-1.771_FC2smp/build'
> >   CC [M]  /root/wanpipe/kdrvtmp/sdla_tdmv.o
> >   CC [M]  /root/wanpipe/kdrvtmp/sdla_remora_tdmv.o
> > /root/wanpipe/kdrvtmp/sdla_remora_tdmv.c: In function `wp_remora_zap_ioctl':
> > /root/wanpipe/kdrvtmp/sdla_remora_tdmv.c:227: error: `ZT_SETPOLARITY'
> > undeclared (first use in this function)
> 
> Strange. What version of Zaptel do you build against?

My guess was that this was due to building vs. zaptel 1.0 headers. When
comparing zaptel.h from 1.0 and 1.2, one of the addition turns out to
be:

  diff -u <(wget -O- http://svn.digium.com/svn/zaptel/branches/1.0/zaptel.h) \
          <(wget -O- http://svn.digium.com/svn/zaptel/tags/1.2.0/zaptel.h)  \
  | less

/*
 * Set polarity -- implemented by individual driver.  0 = forward, 1 = reverse
 */
#define        ZT_SETPOLARITY          _IOW (ZT_CODE, 92, int)

-- 
               Tzafrir Cohen       
icq#16849755                    jabber:[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

Reply via email to