Skip to content

Instantly share code, notes, and snippets.

@clippit
Created January 14, 2019 17:31
Show Gist options
  • Save clippit/0de119f1ff1965e87c1569da2d4fd178 to your computer and use it in GitHub Desktop.
Save clippit/0de119f1ff1965e87c1569da2d4fd178 to your computer and use it in GitHub Desktop.
/usr/local/Homebrew/Library/Homebrew/vendor/bundle/ruby/2.3.0/extensions/universal-darwin-9/2.3.0-static/hpricot-0.8.6/mkmf.log
"cc -o conftest -I/usr/local/Homebrew/Library/Homebrew/vendor/portable-ruby/2.3.7/include/ruby-2.3.0/universal-darwin9.0 -I/usr/local/Homebrew/Library/Homebrew/vendor/portable-ruby/2.3.7/include/ruby-2.3.0/ruby/backward -I/usr/local/Homebrew/Library/Homebrew/vendor/portable-ruby/2.3.7/include/ruby-2.3.0 -I. -I/usr/local/opt/portable-readline/include -I/usr/local/opt/portable-libyaml/include -I/usr/local/opt/portable-openssl/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -D_DARWIN_UNLIMITED_SELECT -D_REENTRANT -pipe conftest.c -L. -L/usr/local/Homebrew/Library/Homebrew/vendor/portable-ruby/2.3.7/lib -L/usr/local/opt/portable-readline/lib -L/usr/local/opt/portable-libyaml/lib -L/usr/local/opt/portable-openssl/lib -L. -Wl,-search_paths_first -fstack-protector -L/usr/local/lib -L/usr/local/opt/portable-readline/lib -L/usr/local/opt/portable-libyaml/lib -L/usr/local/opt/portable-openssl/lib -arch x86_64 -arch i386 -lruby-static -framework Foundation -lpthread -ldl -lobjc "
In file included from conftest.c:1:
In file included from /usr/local/Homebrew/Library/Homebrew/vendor/portable-ruby/2.3.7/include/ruby-2.3.0/ruby.h:33:
/usr/local/Homebrew/Library/Homebrew/vendor/portable-ruby/2.3.7/include/ruby-2.3.0/ruby/ruby.h:929:1: warning: attribute 'deprecated' is ignored, place it after "struct" to apply attribute to type declaration [-Wignored-attributes]
DEPRECATED_TYPE(("RClass is internal use only"),
^
/usr/local/Homebrew/Library/Homebrew/vendor/portable-ruby/2.3.7/include/ruby-2.3.0/universal-darwin9.0/ruby/config.h:128:49: note: expanded from macro 'DEPRECATED_TYPE'
#define DEPRECATED_TYPE(mesg,x) __attribute__ ((deprecated mesg)) x
^
1 warning generated.
ld: warning: directory not found for option '-L/usr/local/opt/portable-readline/lib'
ld: warning: directory not found for option '-L/usr/local/opt/portable-libyaml/lib'
ld: warning: directory not found for option '-L/usr/local/opt/portable-openssl/lib'
ld: warning: directory not found for option '-L/usr/local/opt/portable-readline/lib'
ld: warning: directory not found for option '-L/usr/local/opt/portable-libyaml/lib'
ld: warning: directory not found for option '-L/usr/local/opt/portable-openssl/lib'
In file included from conftest.c:1:
In file included from /usr/local/Homebrew/Library/Homebrew/vendor/portable-ruby/2.3.7/include/ruby-2.3.0/ruby.h:33:
/usr/local/Homebrew/Library/Homebrew/vendor/portable-ruby/2.3.7/include/ruby-2.3.0/ruby/ruby.h:929:1: warning: attribute 'deprecated' is ignored, place it after "struct" to apply attribute to type declaration [-Wignored-attributes]
DEPRECATED_TYPE(("RClass is internal use only"),
^
/usr/local/Homebrew/Library/Homebrew/vendor/portable-ruby/2.3.7/include/ruby-2.3.0/universal-darwin9.0/ruby/config.h:128:49: note: expanded from macro 'DEPRECATED_TYPE'
#define DEPRECATED_TYPE(mesg,x) __attribute__ ((deprecated mesg)) x
^
1 warning generated.
ld: warning: directory not found for option '-L/usr/local/opt/portable-readline/lib'
ld: warning: directory not found for option '-L/usr/local/opt/portable-libyaml/lib'
ld: warning: directory not found for option '-L/usr/local/opt/portable-openssl/lib'
ld: warning: directory not found for option '-L/usr/local/opt/portable-readline/lib'
ld: warning: directory not found for option '-L/usr/local/opt/portable-libyaml/lib'
ld: warning: directory not found for option '-L/usr/local/opt/portable-openssl/lib'
ld: warning: The i386 architecture is deprecated for macOS (remove from the Xcode build setting: ARCHS)
ld: warning: ignoring file /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/lib/libpthread.tbd, missing required architecture i386 in file /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/lib/libpthread.tbd
ld: warning: ignoring file /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/lib/libdl.tbd, missing required architecture i386 in file /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/lib/libdl.tbd
ld: warning: ignoring file /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/lib/libSystem.tbd, missing required architecture i386 in file /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/lib/libSystem.tbd
ld: warning: ignoring file /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/lib/libobjc.tbd, missing required architecture i386 in file /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/lib/libobjc.tbd (2 slices)
ld: warning: ignoring file /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/System/Library/Frameworks//Foundation.framework/Foundation.tbd, missing required architecture i386 in file /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/System/Library/Frameworks//Foundation.framework/Foundation.tbd
ld: dynamic main executables must link with libSystem.dylib for architecture i386
clang: error: linker command failed with exit code 1 (use -v to see invocation)
checked program was:
/* begin */
1: #include "ruby.h"
2:
3: int main(int argc, char **argv)
4: {
5: return 0;
6: }
/* end */
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment