Hi Developers, I am trying to use buildroot on my Mac. It is running fine (basic Qemu-MIPS image compiles and runs fine), but I have one small issue with utils/getconf.c from uClibc.
Following compile error exist: HOSTCC utils/getconf.host ../utils/getconf.c:438: error: '_SC_CHARCLASS_NAME_MAX' undeclared here (not in a function) ../utils/getconf.c: In function 'print_all': ../utils/getconf.c:1093: error: '_SC_UINT_MAX' undeclared (first use in this function) ../utils/getconf.c:1093: error: (Each undeclared identifier is reported only once ../utils/getconf.c:1093: error: for each function it appears in.) ../utils/getconf.c:1094: warning: comparison between pointer and integer ../utils/getconf.c:1094: error: '_SC_ULONG_MAX' undeclared (first use in this function) ../utils/getconf.c:1094: warning: comparison between pointer and integer ../utils/getconf.c: In function 'main': ../utils/getconf.c:1180: warning: implicit declaration of function 'mempcpy' ../utils/getconf.c:1180: warning: incompatible implicit declaration of built-in function 'mempcpy' ../utils/getconf.c:1243: warning: incompatible implicit declaration of built-in function 'mempcpy' ../utils/getconf.c:1307: error: '_SC_UINT_MAX' undeclared (first use in this function) ../utils/getconf.c:1308: warning: comparison between pointer and integer ../utils/getconf.c:1308: error: '_SC_ULONG_MAX' undeclared (first use in this function) ../utils/getconf.c:1308: warning: comparison between pointer and integer make[1]: *** [../utils/getconf.host] Error 1 make: *** [/Volumes/adk/buildroot/output/host/usr/mips-unknown-linux-uclibc/sysroot/usr/lib/libc.a] Error 2 2|wbx@neon:/users/wbx/adk/buildroot $ SC_UINT_MAX and SC_ULONG_MAX is not available on MacOS X. What might be the best solution to resolve this? thx in advance Waldemar _______________________________________________ uClibc mailing list [email protected] http://lists.busybox.net/mailman/listinfo/uclibc
