[asterisk-dev] Update: Cross-compiling woes under openWRT

Jason Parker jparker at digium.com
Thu Sep 6 15:01:58 CDT 2007


Brian Capouch wrote:
> After kludging up the above fixes, the build now stops here:
> 
> In file included from 
> /usr/src/brianc/trunk/staging_dir/toolchain-mipsel_gcc4.1.2/lib/gcc/mipsel-linux-uclibc/4.1.2/../../../../mipsel-linux-uclibc/sys-include/stdio.h:72,
>                   from 
> /usr/src/brianc/trunk/build_dir/mipsel/asterisk-svn-trunk/include/asterisk/utils.h:29,
>                   from astobj2.c:25:
> /usr/src/brianc/trunk/staging_dir/toolchain-mipsel_gcc4.1.2/lib/gcc/mipsel-linux-uclibc/4.1.2/../../../../mipsel-linux-uclibc/sys-include/bits/uClibc_stdio.h:278: 
> error: expected specifier-qualifier-list before 
> 'use_ast_mutex_t_instead_of_pthread_mutex_t'
> make[4]: *** [astobj2.o] Error 1
> make[3]: *** [main] Error 2
> make[3]: Leaving directory 
> `/usr/src/brianc/trunk/build_dir/mipsel/asterisk-svn-trunk'
> 
> Thanks.
> 
> b.
> 

I just committed something that should fix this.  Revision 81778 in 1.4, and
81779 in trunk.

-- 
Jason Parker
Digium



More information about the asterisk-dev mailing list