[uClibc] buildroot error on Mac OS X

Alan Cudmore alan.cudmore at gmail.com
Tue Jan 18 21:59:24 UTC 2005


Has anyone built a uClibc buildroot system on Mac OS X?
After installing wget and gnu file utils from the fink project, I was
able to get the buildroot system to get as far as building the utils
in uClibc.
>From what I can tell, I need to port these utils to OS X. Has anyone
done this yet?

Thanks,
Alan
------------------------------

Here is the error it gave me:

# Build the host utils.  Need to add an install target...
make -C /Users/alan/Desktop/buildroot/toolchain_build_i386/uClibc/utils \
PREFIX=/Users/alan/Desktop/buildroot/build_i386/staging_dir \
HOSTCC="gcc" \
        hostutils
gcc -O2 -Wall -Wl,-s \
        -DUCLIBC_RUNTIME_PREFIX=\"/\" \
        -DUCLIBC_LDSO=ld-uClibc.so.0 -I. -I../ldso/include \
        ldd.c -o ldd.host
In file included from ldd.c:46:
elf.h:24:22: features.h: No such file or directory
ldd.c:109:2: warning: #warning "You really should add a
MATCH_MACHINE() macro for your architecture"
ldd.c:112:5: token "=" is not valid in preprocessor expressions
ldd.c:114:7: token "=" is not valid in preprocessor expressions
ldd.c:207:5: token "=" is not valid in preprocessor expressions
ldd.c:212:7: token "=" is not valid in preprocessor expressions
ldd.c:218:2: #error Unknown host byte order!
make[1]: *** [ldd.host] Error 1
make: *** [/Users/alan/Desktop/buildroot/build_i386/staging_dir/lib/libc.a]
Error 2

uClibc/utils



More information about the uClibc mailing list