Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't compile on tomato if following README.md #35

Closed
evianzhow opened this issue Oct 5, 2014 · 4 comments
Closed

Can't compile on tomato if following README.md #35

evianzhow opened this issue Oct 5, 2014 · 4 comments

Comments

@evianzhow
Copy link
Contributor

If I follow steps in README on how to install ChinaDNS-C on tomato, I will get an error like this:
undefined reference to 'rpl_malloc'
According to many articles, it may be a problem relating to ldconfig. I tried add brcm libs path to /etc/ld.so.conf.d but not working.
The only way to make 'make' work is to change .configure command to this:
ac_cv_func_malloc_0_nonnull=yes ac_cv_func_realloc_0_nonnull=yes ./configure --host=mipsel-linux --enable-static
Additionally, you have to scp iplist.txt and chnroute.txt to /jffs/ and manually start ChinaDNS with -c & -l parameters.
I don't know it is a problem relating to my environment or anything else. So please test with yourself.
Thanks!

@clowwindy
Copy link
Contributor

@xeonxu Do you have the same problem on tomato?

@xeonxu
Copy link
Contributor

xeonxu commented Oct 6, 2014

@clowwindy Yes. And the modification of this commit would solve the compile issue. But seems that you have reverted it?
@austinchou At this time, we have to start ChinaDNS manually. That means you should copy any files you need to the router, and run it with nohup or write a startup script by yourself.

@clowwindy
Copy link
Contributor

Maybe it's overwritten by mistake.

clowwindy added a commit that referenced this issue Oct 6, 2014
@evianzhow evianzhow reopened this Oct 6, 2014
@evianzhow
Copy link
Contributor Author

Thanks! reopened by mistake :)

clowwindy added a commit that referenced this issue Nov 19, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants