[Asterisk-Users] Problem compiling ztdummy on centos 4, 2.6 kernel

John Joseph jjk_saji at yahoo.com
Sun Mar 5 05:32:53 MST 2006


make linux26
make install 
worked for me 
         thanks 
            
--- Dovid Bender <asteriskdigium at yahoo.com> wrote:

> did you uncommnet # from before ztdummy ?
> 
> --- Sina Bahram <sbahram at nc.rr.com> wrote:
> 
> > Hi all,
> > 
> > I hope everyone is doing well. I just joined the
> > list, and I've really
> > enjoyed all I have read about asterisk so far.
> > Unfortunately, I'm having a
> > bit of trouble implementing this thing :).
> > 
> > By the way ... I did my best to search the forums,
> > and also to use google
> > extensively, and while I have found pages with
> > people with the same problem,
> > ... The fix suggested on those sites, didn't work
> > for me.
> > 
> > Here's what I have:
> > 
> > Results of uname -r:
> > 2.6.9-22.0.2.106.unsupportedsmp 
> > 
> > Arch:
> > X86_64
> > 
> > If you need more specs on the machine or OS,
> please
> > let me know.
> > 
> > I downloaded and have been following the asterisk
> > book, and in chapter three
> > I followed all the instructions on downloading the
> > sources, untarring them,
> > and so forth.
> > 
> > Zaptel compiled without a hitch, as did the rest
> of
> > the asterisk packages. I
> > modified udev, and I restarted the box: ... I did:
> > 
> > /etc/init.d/zaptel start
> > 
> > I get:
> > 
> > Loading zaptel framework:  FATAL: Module zaptel
> not
> > found.
> >                                                   
>  
> >       [FAILED]
> > Waiting for zap to come online...Error: missing
> > /dev/zap! 
> > 
> > If I do
> > 
> > /sbin/modprobe zaptel
> > 
> > I get:
> > FATAL: Module zaptel not found. 
> > 
> > If I do
> > 
> > /sbin/modprobe ztdummy
> > 
> > I get:
> > 
> > FATAL: Module ztdummy not found.
> > FATAL: Error running install command for ztdummy 
> > 
> > Also, if i run:
> > 
> > /etc/init.d/zaptel reload
> > 
> > I get:
> > 
> > Reloading ztcfg:  Notice: Configuration file is
> > /etc/zaptel.conf
> > line 0: Unable to open master device
> '/dev/zap/ctl'
> > 1 error(s) detected
> >                                                   
>  
> >       [FAILED] 
> > 
> > If I go back to /usr/src/zaptel-1.2.4 and I do
> > 
> > make ztdummy
> > 
> > I get:
> > 
> > cc   ztdummy.o   -o ztdummy
> >
>
/usr/lib/gcc/x86_64-redhat-linux/3.4.4/../../../../lib64/crt1.o(.text+0x21):
> > In
> > function `_start':
> > : undefined reference to `main'
> > ztdummy.o(.text+0xc): In function `ztdummy_timer':
> > /usr/src/zaptel-1.2.4/ztdummy.c:154: undefined
> > reference to `zt_receive'
> >
>
ztdummy.o(.text+0x18):/usr/src/zaptel-1.2.4/ztdummy.c:155:
> > undefined
> > reference t
> > o `zt_transmit'
> >
>
ztdummy.o(.text+0x1f):/usr/src/zaptel-1.2.4/ztdummy.c:156:
> > undefined
> > reference t
> > o `jiffies'
> > ztdummy.o(.text+0x4d): In function `init_module':
> > include/linux/slab.h:93: undefined reference to
> > `malloc_sizes'
> > ztdummy.o(.text+0x52):include/linux/slab.h:93:
> > undefined reference to
> > `kmem_cach
> > e_alloc'
> > ztdummy.o(.text+0x6a): In function `init_module':
> > /usr/src/zaptel-1.2.4/ztdummy.c:232: undefined
> > reference to `printk'
> >
>
ztdummy.o(.text+0x197):/usr/src/zaptel-1.2.4/ztdummy.c:192:
> > undefined
> > reference
> > to `zt_register'
> >
>
ztdummy.o(.text+0x1a9):/usr/src/zaptel-1.2.4/ztdummy.c:239:
> > undefined
> > reference
> > to `printk'
> >
>
ztdummy.o(.text+0x1b5):/usr/src/zaptel-1.2.4/ztdummy.c:240:
> > undefined
> > reference
> > to `kfree'
> >
>
ztdummy.o(.text+0x1e2):/usr/src/zaptel-1.2.4/ztdummy.c:261:
> > undefined
> > reference
> > to `jiffies'
> > ztdummy.o(.text+0x23d): In function `init_module':
> > include/linux/timer.h:87: undefined reference to
> > `__mod_timer'
> > ztdummy.o(.text+0x255): In function `init_module':
> > /usr/src/zaptel-1.2.4/ztdummy.c:286: undefined
> > reference to `printk'
> > ztdummy.o(.text+0x27c): In function
> > `cleanup_module':
> > /usr/src/zaptel-1.2.4/ztdummy.c:298: undefined
> > reference to `del_timer'
> >
>
ztdummy.o(.text+0x288):/usr/src/zaptel-1.2.4/ztdummy.c:303:
> > undefined
> > reference
> > to `zt_unregister'
> >
>
ztdummy.o(.text+0x294):/usr/src/zaptel-1.2.4/ztdummy.c:304:
> > undefined
> > reference
> > to `kfree'
> > ztdummy.o(.text+0x39): In function
> `ztdummy_timer':
> > include/linux/timer.h:87: undefined reference to
> > `__mod_timer'
> > ztdummy.o(.text+0x2b0): In function
> > `cleanup_module':
> > /usr/src/zaptel-1.2.4/ztdummy.c:310: undefined
> > reference to `printk'
> > ztdummy.o(__param+0x10): undefined reference to
> > `param_set_int'
> > ztdummy.o(__param+0x18): undefined reference to
> > `param_get_int'
> > collect2: ld returned 1 exit status
> > make: *** [ztdummy] Error 1
> > 
> > Any ideas? I know I posted things in some wrong
> > order here, but when I
> > actually did them as a part of the install
> progress:
> > I followed the order
> > layed out in chapter 3 of the book.
> > 
> > Thanks for any assistance.
> > 
> > Take care,
> > Sina
> > 
> > _______________________________________________
> > --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
> > 
> 
> 
> 
=== message truncated ===



		
___________________________________________________________ 
Win a BlackBerry device from O2 with Yahoo!. Enter now. http://www.yahoo.co.uk/blackberry



More information about the asterisk-users mailing list