-
Notifications
You must be signed in to change notification settings - Fork 4
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
'DT_CHR' undeclared when compiling print3d #45
Comments
Ah, that makes sense. Thanks Wouter. I'm not sure how I ended up with musl but I guess it's a good choice for they experiment I'm working on. Can you elaborate a bit about the differences and pros and cons? |
Oh I wouldn't know about that. I only learned about its existence because I noticed it in your compilation log instead of the usual uclibc. :) While I was looking for info though, I did find a comparison table on their website. If we can build an image with musl without too much trouble, we could have a quick look at how they compare in practice, just for fun and profit. |
I don't know atm which revision of OpenWRT we are currently building with, but this might explain the unexpected use of musl Rick encountered: http://comments.gmane.org/gmane.comp.embedded.openwrt.devel/32651. |
I'm building from this repo: |
I see. Perhaps the choice is fixed in our |
@woutgg I did a little test to see about the size difference and noticed some binaries being smaller... I havent tested the current trunk with our wifibox packages but I am planning on doing so to see if we can switch. On a side note: packages build with MUSL are not compatible with current Wifibox builds as 14.07 uses uClib to build everything you can not install those packages |
When compiling print3d on OSX (without Docker) I get the error below. I think the
#define __USE_BSD
is not sufficient on OSX to let the#include <dirent.h>
defineDT_CHR
which has the value2
. As a workaround I added#define DT_CHR 2
toipc_shared.c
. That seems to work.The text was updated successfully, but these errors were encountered: