Skip to content
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

dyld: Symbol not found: _map_fd #6

Open
dayt0n opened this issue Aug 19, 2014 · 3 comments
Open

dyld: Symbol not found: _map_fd #6

dayt0n opened this issue Aug 19, 2014 · 3 comments

Comments

@dayt0n
Copy link

dayt0n commented Aug 19, 2014

If I type

make
into terminal to build this, at first it was giving my something about /Developer, so I installed the ios 4.0.1 sdk and it got a little further but now it says

/Applications/Xcode6-Beta5.app/Contents/Developer/usr/bin/make -C src launchd
/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/gcc-4.2 -o launchd launchd.o utils.o syscalls.o -arch armv6 -isysroot=/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS4.0.sdk -I/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS4.0.sdk/usr/include -static -nostartfiles -nodefaultlibs -nostdlib -Wl,-e,_main
collect2: ld terminated with signal 5 [Trace/BPT trap: 5]
dyld: lazy symbol binding failed: Symbol not found: _map_fd
  Referenced from: /Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/ld_classic
  Expected in: /usr/lib/libSystem.B.dylib

dyld: Symbol not found: _map_fd
  Referenced from: /Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/ld_classic
  Expected in: /usr/lib/libSystem.B.dylib

make[1]: *** [launchd] Error 1
make: *** [src/launchd] Error 2

Please help.

@posixninja
Copy link
Contributor

It shouldn’t be trying to link in anything since there are no libraries on the ramdisk. try using ld to link the object binaries together rather than gcc

@dayt0n
Copy link
Author

dayt0n commented Aug 21, 2014

@posixninja How might I do that?

@dayt0n
Copy link
Author

dayt0n commented Aug 21, 2014

@posixninja I am using OS X 10.10 Xcode 6 Beta 5 but I did install all of the tools for Xcode 4.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants