[darwinbuild-dev] [Building debug version of dyld-195.5]: dependences missing
Anatoly Fedorovsky
afedorovsky at westgate-usa.com
Mon Dec 5 13:22:13 PST 2011
Hello DarwinBuild developers,
I have a problem when trying to build dynamic loader.
Apple Developer Tech Support suggested posting it as an inquiry to the
DarwinBuild developers mailing list.
I would appreciate any assistance or advice.
Here are the details:
I'm trying to build dyld-195.5.
http://opensource.apple.com/release/mac-os-x-1072/
It looks like I am missing some files, at least:
${SDKROOT}/usr/local/lib/dyld/*.a files.
I have both MacOSX10.6.sdk & MacOSX10.7.sdk installed in the /Developer/SDKs
Where can I get the right SDK?
I've tried to build libc-dyld.a from sources.
I've built xnu-1699.24.8 but was having troubles with Libc-763.12
Error occurs: macros __DARWIN_ALIAS_STARTING_MAC_xx are undefined.
If define them as empty another errors occur:
$ make build
/bin/mkdir -p -m 0755 /Users/diman/prog/Libc-763.12/OBJROOT/obj.i386
&& MAKEOBJDIR="/Users/diman/prog/Libc-763.12/OBJROOT/obj.i386"
MACHINE_ARCH=i386 CCARCH=i386 DSTROOT=/
OBJROOT=/Users/diman/prog/Libc-763.12/OBJROOT
SYMROOT=/Users/diman/prog/Libc-763.12/SYMROOT
RC_NONARCH_CFLAGS="-pipe" MAKEFLAGS="" OBJSUFFIX="o"
/Developer/usr/bin/bsdmake -f Makefile -j 6 libc_static.a building
static c library /usr/bin/nm: no name list
/usr/bin/nm: can't open file: CANCELABLE/creat-CANCELABLE.o (No such file
or directory)
/usr/bin/nm: can't open file: CANCELABLE/sigcompat-CANCELABLE.o (No such
file or directory)
/usr/bin/nm: can't open file: CANCELABLE/lockf-CANCELABLE.o (No such file
or directory)
/usr/bin/nm: can't open file: CANCELABLE/nanosleep-CANCELABLE.o (No such
file or directory)
/usr/bin/nm: can't open file: CANCELABLE/pause-CANCELABLE.o (No such file
or directory)
/usr/bin/nm: can't open file: CANCELABLE/pselect-CANCELABLE.o (No such
file or directory)
/usr/bin/nm: can't open file: CANCELABLE/sleep-CANCELABLE.o (No such file
or directory)
/usr/bin/nm: can't open file: CANCELABLE/termios-CANCELABLE.o (No such
file or directory)
/usr/bin/nm: can't open file: CANCELABLE/usleep-CANCELABLE.o (No such
file or directory)
/usr/bin/nm: can't open file: CANCELABLE/wait-CANCELABLE.o (No such file
or directory)
/usr/bin/nm: can't open file: CANCELABLE/waitpid-CANCELABLE.o (No such
file or directory)
Is any Libc building "how to" available?
---------------------------------
Thank you,
Anatoly Fedorovsky
More information about the darwinbuild-dev
mailing list