Advertisement
Guest User

Untitled

a guest
Jul 17th, 2019
120
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.43 KB | None | 0 0
  1. ~/Downloads clang -Wall -dynamiclib -o flip.dylib flip.c -framework IOKit -arch i386 -arch x86_64
  2. ld: warning: The i386 architecture is deprecated for macOS (remove from the Xcode build setting: ARCHS)
  3. ld: warning: ignoring file /Applications/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks//IOKit.framework/IOKit.tbd, missing required architecture i386 in file /Applications/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks//IOKit.framework/IOKit.tbd
  4. ld: warning: ignoring file /Applications/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/lib/libSystem.tbd, missing required architecture i386 in file /Applications/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/lib/libSystem.tbd
  5. Undefined symbols for architecture i386:
  6. "_IOConnectCallMethod", referenced from:
  7. _fake_IOConnectCallMethod in flip-1c8052.o
  8. _interposers in flip-1c8052.o
  9. (maybe you meant: _fake_IOConnectCallMethod)
  10. "_rand", referenced from:
  11. _maybe in flip-1c8052.o
  12. _flip_bit in flip-1c8052.o
  13. "_srand", referenced from:
  14. _maybe in flip-1c8052.o
  15. "_time", referenced from:
  16. _maybe in flip-1c8052.o
  17. ld: symbol(s) not found for architecture i386
  18. clang: error: linker command failed with exit code 1 (use -v to see invocation)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement