[Dibbler] dibbler-0.8.3 corss compilation problem
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
./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
CPPLFAGS="-O2 -DLINUX -Wall -pedantic -funsigned-char -DMOD_CLNT_BIND_REUSE -DMOD_CLNT_DISABLE_DNSUPDATE -DMOD_SRV_DISABLE_DNSUPDATE -DMOD_DISABLE_AUTH"
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Dibbler