error when compiling
Closed this issue · 1 comments
The pre-built curl lib did not have bitcode enabled, so I attempted to build libcurl with the included script but got this error:
`libtool: compile: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -DHAVE_CONFIG_H -I../include/curl -I../include -I../include -I../lib -I../lib -DBUILDING_LIBCURL -DCURL_STATICLIB -DCURL_HIDDEN_SYMBOLS -fvisibility=hidden -arch armv7 -pipe -Os -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk -Qunused-arguments -MT libcurl_la-url.lo -MD -MP -MF .deps/libcurl_la-url.Tpo -c url.c -o libcurl_la-url.o
url.c:55:2: error: "We can't compile without socket() support!"
error "We can't compile without socket() support!"`
Any ideas on how to fix it?
dont trust xcode, it looked like the command line tools were installed when I checked it's preferences, but after running xcode-select --install
it installed the tools(again?) and it compiled fine.