[Dibbler] dibbler-0.8.3 corss compilation problem

cui1039 cui1039 at 163.com
Thu May 23 10:29:58 CEST 2013

     I want to cross compile dibbler-0.8.3 in ARM 32-bits platform. there are some problems.
I read the mail list such as "Dibbler 0.8.3 compilation problem". I changes the code like your
discussed. the compilation is still not succeed.
             __u64 does not defined in corss toolchain 
           I define  " typedef unsigned long long __u64" to  solve this problem
            '::malloc' has not been declared
            '::realloc' has not been declared
           I add #include <stdlib.h> in .cpp to solve this problem
   domainfn.cpp:30: error: 'rpl_malloc' was not declared in this scope
   domainfn.cpp:282: error: 'rpl_realloc' was not declared in this scope
          I just want to use --disable-dns-update to disable poslib, but it's not effective. poslib is always being compiled in my project. Is there any advices for this problem?

this is my configure and enveronment setup
export PATH=/usr/local/Marvell/targets/arm-mv5sft-linux-gnueabi/cross/bin:$PATH
export CC='/usr/local/Marvell/targets/arm-mv5sft-linux-gnueabi/cross/bin/arm-mv5sft-linux-gnueabi-gcc'
export CXX='/usr/local/Marvell/targets/arm-mv5sft-linux-gnueabi/cross/bin/arm-mv5sft-linux-gnueabi-g++'
./configure --host=arm-mv5sft-linux-gnueabi --with-gnu-ld --enable-bind-reuse --with-sysroot=/usr/local/Marvell/targets/arm-mv5sft-linux-gnueabi/cross/arm-mv5sft-linux-gnueabi/sys-root --includedir=/usr/local/Marvell/targets/arm-mv5sft-linux-gnueabi/cross/arm-mv5sft-linux-gnueabi/sys-root/usr/include --disable-dns-update --disable-auth --disable-link-state





-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://klub.com.pl/pipermail/dibbler/attachments/20130523/d441e609/attachment.html>

More information about the Dibbler mailing list