[asterisk-dev] compiling Dahdi on blackfin

Dan Amarandei dan.amarandei at gmail.com
Wed Nov 18 23:13:03 CST 2009


On Wed, 2009-11-18 at 01:22 -0500, Dan Amarandei wrote:
> That was the issue. I did not copy the include folder. Now it works. I
> am now trying to figure out how to tell both asterisk and dahdi-tools
> that my DAHDI files are in the uClinux build. 
> 
> On Tue, Nov 17, 2009 at 5:03 AM, Tzafrir Cohen
> <tzafrir.cohen at xorcom.com> wrote:
>         On Mon, Nov 16, 2009 at 09:05:42AM +0100, Kai Hoerner wrote:
>         > Hi Dan,
>         >
>         > not the last compile errors are of interest, its mostly the
>         first
>         > occurance of errors that show you the right path.
>         >
>         > in your full log i found this error right in the beginning
>         of the output
>         > of "make clean":
>         >
>         > > grep:
>         drivers/dahdi/xpp/../../../include/dahdi/dahdi_config.h: No
>         such file or directory
>         
>         
>         This is harmless and no longer needed, IIRC.
>         
>         But maybe you miss files in include/dahdi/ ? Have you copied
>         them as
>         well? (not only drivers/dahdi/ )?
>         
>         --
>                       Tzafrir Cohen
>         icq#16849755              jabber:tzafrir.cohen at xorcom.com
>         +972-50-7952406           mailto:tzafrir.cohen at xorcom.com
>         http://www.xorcom.com  iax:guest at local.xorcom.com/tzafrir
>         
>         
>         
>         _______________________________________________
>         --Bandwidth and Colocation Provided by
>         http://www.api-digital.com--
>         
>         asterisk-dev mailing list
>         To UNSUBSCRIBE or update options visit:
>           http://lists.digium.com/mailman/listinfo/asterisk-dev
>         
> 


Now that DAHDI is complied I still can't go to the next step: if I
do /.configure --host=bfin-linux-uclibc --disable-largefile \
--without-pwlib --without-curl --disable-xmldoc --with-dahdi
--with-tonezone in the for asterisk-1.6.1.6 I get 


checking for bfin-linux-uclibc-pkg-config... no
checking for pkg-config... pkg-config
checking for mandatory modules:  DAHDI TONEZONE... fail

configure: ***
configure: *** The DAHDI installation appears to be missing or broken.
configure: *** Either correct the installation, or run configure
configure: *** including --without-dahdi.

configure: ***
configure: *** The TONEZONE installation appears to be missing or
broken.
configure: *** Either correct the installation, or run configure
configure: *** including --without-tonezone.
make: *** [/home/dan/apps/BAPS2/asterisk-1.6.1.6/.configured] Error 1

if I do /.configure --host=bfin-linux-uclibc --disable-largefile \
--without-pwlib --without-curl --disable-xmldoc --with-dahdi=
$(UCLINUX_DIST)/linux-2.6.x/drivers/dahdi \ --with-tonezone in the for
asterisk-1.6.1.6 I get the same thing as above.

What am I missing, it should be looking for "dahdi.ko", right?

Same goes for /.configure --host=bfin-linux-uclibc in the
dahdi-tools-2.2.0 directory.




More information about the asterisk-dev mailing list