[Asterisk-Users] ztdummy on gentoo 2005.1 [SOLVED]
Tzafrir Cohen
tzafrir at cohens.org.il
Thu Feb 9 10:54:57 MST 2006
On Thu, Feb 09, 2006 at 10:39:43AM -0600, Miguel wrote:
> Tzafrir Cohen wrote:
>
> >>Makefile:204: target `ztdummy.o' given more than once in the same rule.
> >>
> >>
> >
> >Something is bad. Did you edit Makefile?
> >
> >
> >
> >
> Yes. I delete all the modules, leaving the lines like this
>
> before:
>
> MODULES:=zaptel tor2 torisa wcusb wcfxo wctdm wctdm24xxp \
> ztdynamic ztd-eth wct1xxp wct4xxp wcte11xp pciradio \
> ztd-loc # ztdummy
>
>
> after:
>
> MODULES:= ztdummy
>
> but some lines below you find this:
>
> # build ztdummy by default for 2.6 kernels
> ifeq (${BUILDVER},linux26)
> MODULES+=ztdummy
> endif
>
> So, the ztdummy is always compiled with 2.6 kernels, i changed the line
> commenting out all modules :
>
>
> MODULES:=#zaptel tor2 torisa wcusb wcfxo wctdm wctdm24xxp \
> ztdynamic ztd-eth wct1xxp wct4xxp wcte11xp pciradio \
> ztd-loc # ztdummy
> #MODULES+=wcfxsusb
> # build ztdummy by default for 2.6 kernels
> ifeq (${BUILDVER},linux26)
> MODULES+=ztdummy
> endif
>
You still need zaptel as well
>
> and edited the /etc/modules.d/zaptel file leaving only:
>
> voip zaptel-1.2.3 # cat /etc/modules.d/zaptel
> post-install ztdummy /sbin/ztcfg
>
>
> now when i load the module without problems:
>
> voip # lsmod
> Module Size Used by
> voip # modprobe ztdummy
> voip # lsmod
> Module Size Used by
> ztdummy 2468 -
> zaptel 222244 -
>
>
> I notice that the zaptel module is loaded too, is this normal?
lsmod will show you that ztdummy depends on zaptel .
You have a leftover zaptel.ko if you didn't include zaptel in MODULES .
--
Tzafrir Cohen | tzafrir at jbr.cohens.org.il | VIM is
http://tzafrir.org.il | | a Mutt's
tzafrir at cohens.org.il | | best
ICQ# 16849755 | | friend
More information about the asterisk-users
mailing list