semigodking / cdns

CureDNS
Apache License 2.0
77 stars 21 forks source link

how to cross-compile on netgear platform or merlin #4

Closed kalagxw closed 8 years ago

kalagxw commented 8 years ago

use toolchain hndtools-arm-linux-2.6.36-uclibc-4.5.3.tar.bz2

semigodking commented 8 years ago

What's the problem you encountered during the compiling?

kalagxw commented 8 years ago

just can not find .h head file cannot describe probably,not good at it. maybe you can try and make an wiki the toolchain lays in https://github.com/RMerl/asuswrt-merlin.git https://github.com/RMerl/asuswrt-merlin/tree/master/release/src-rt-6.x.4708/toolchains/hndtools-arm-linux-2.6.36-uclibc-4.5.3

semigodking commented 8 years ago

So, you should add proper include path and library path into environment variable CFLAGS. You can reference section about building for openwrt in readme. E.g. export CFLAGS="-I/path/to/include -L/path/to/lib"

kalagxw commented 8 years ago

success close