-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
Comments
@xeonxu Do you have the same problem on tomato? |
@clowwindy Yes. And the modification of this commit would solve the compile issue. But seems that you have reverted it? |
Maybe it's overwritten by mistake. |
Thanks! reopened by mistake :) |
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
andchnroute.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!
The text was updated successfully, but these errors were encountered: