kxsmb
kxsmb copied to clipboard
rake field
../lib/util/fault.c:134:13: error: 'system' is unavailable: not available on iOS
result = system(cmdstring);
^
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/usr/include/stdlib.h:195:6: note: 'system' has been explicitly marked
unavailable here
int system(const char *) DARWIN_ALIAS_C(system);
^
1 error generated.
The following command failed:
xcrun clang -std=gnu99 -no-cpp-precomp -miphoneos-version-min=8.0 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk -I/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/usr/include -arch armv7 -mcpu=cortex-a8 -mfpu=neon -ftree-vectorize -pipe -Wno-trigraphs -fpascal-strings -Os -fembed-bitcode -g -fno-common -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -I. -I/Users/hongweiwang/WorkSpace/kxsmb/samba/source3 -I/Users/hongweiwang/WorkSpace/kxsmb/samba/source3/../lib/popt -I/Users/hongweiwang/WorkSpace/kxsmb/samba/source3/../lib/iniparser/src -Iinclude/autoconf -Iautoconf -Iautoconf/source3 -Iinclude -I./include -I. -I. -I./../lib/replace -I../lib/ccan/.. -I./librpc -I./.. -I./../lib/tdb_compat -I./../lib/talloc -I./../lib/tevent -I../lib/tdb/include -I../lib/ntdb -DHAVE_CONFIG_H -std=gnu99 -no-cpp-precomp -miphoneos-version-min=8.0 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk -I/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/usr/include -arch armv7 -mcpu=cortex-a8 -mfpu=neon -ftree-vectorize -pipe -Wno-trigraphs -fpascal-strings -Os -fembed-bitcode -g -I/Users/hongweiwang/WorkSpace/kxsmb/tmp/include -Iinclude/autoconf -Iautoconf -Iautoconf/source3 -Iinclude -I./include -I. -I. -I./../lib/replace -I../lib/ccan/.. -I./librpc -I./.. -I./../lib/tdb_compat -I./../lib/popt -I/usr/local/include -I/Users/hongweiwang/WorkSpace/kxsmb/samba/source3/lib -I.. -I./../lib/ldb/include -D_SAMBA_BUILD=3 -D_SAMBA_BUILD=3 -c ../lib/util/fault.c -o ../lib/util/fault.o
make: *** [../lib/util/fault.o] Error 1
rake aborted!
******** Build failed ********
/Users/hongweiwang/WorkSpace/kxsmb/Rakefile:42:in system_or_exit' /Users/hongweiwang/WorkSpace/kxsmb/Rakefile:219:in
block in buildArch'
/Users/hongweiwang/WorkSpace/kxsmb/Rakefile:218:in each' /Users/hongweiwang/WorkSpace/kxsmb/Rakefile:218:in
buildArch'
/Users/hongweiwang/WorkSpace/kxsmb/Rakefile:243:in block in <top (required)>' /Library/Ruby/Gems/2.3.0/gems/rake-10.4.2/lib/rake/task.rb:240:in
block in execute'
/Library/Ruby/Gems/2.3.0/gems/rake-10.4.2/lib/rake/task.rb:235:in each' /Library/Ruby/Gems/2.3.0/gems/rake-10.4.2/lib/rake/task.rb:235:in
execute'
/Library/Ruby/Gems/2.3.0/gems/rake-10.4.2/lib/rake/task.rb:179:in block in invoke_with_call_chain' /System/Library/Frameworks/Ruby.framework/Versions/2.3/usr/lib/ruby/2.3.0/monitor.rb:214:in
mon_synchronize'
/Library/Ruby/Gems/2.3.0/gems/rake-10.4.2/lib/rake/task.rb:172:in invoke_with_call_chain' /Library/Ruby/Gems/2.3.0/gems/rake-10.4.2/lib/rake/task.rb:201:in
block in invoke_prerequisites'
/Library/Ruby/Gems/2.3.0/gems/rake-10.4.2/lib/rake/task.rb:199:in each' /Library/Ruby/Gems/2.3.0/gems/rake-10.4.2/lib/rake/task.rb:199:in
invoke_prerequisites'
/Library/Ruby/Gems/2.3.0/gems/rake-10.4.2/lib/rake/task.rb:178:in block in invoke_with_call_chain' /System/Library/Frameworks/Ruby.framework/Versions/2.3/usr/lib/ruby/2.3.0/monitor.rb:214:in
mon_synchronize'
/Library/Ruby/Gems/2.3.0/gems/rake-10.4.2/lib/rake/task.rb:172:in invoke_with_call_chain' /Library/Ruby/Gems/2.3.0/gems/rake-10.4.2/lib/rake/task.rb:201:in
block in invoke_prerequisites'
/Library/Ruby/Gems/2.3.0/gems/rake-10.4.2/lib/rake/task.rb:199:in each' /Library/Ruby/Gems/2.3.0/gems/rake-10.4.2/lib/rake/task.rb:199:in
invoke_prerequisites'
/Library/Ruby/Gems/2.3.0/gems/rake-10.4.2/lib/rake/task.rb:178:in block in invoke_with_call_chain' /System/Library/Frameworks/Ruby.framework/Versions/2.3/usr/lib/ruby/2.3.0/monitor.rb:214:in
mon_synchronize'
/Library/Ruby/Gems/2.3.0/gems/rake-10.4.2/lib/rake/task.rb:172:in invoke_with_call_chain' /Library/Ruby/Gems/2.3.0/gems/rake-10.4.2/lib/rake/task.rb:165:in
invoke'
/Library/Ruby/Gems/2.3.0/gems/rake-10.4.2/lib/rake/application.rb:150:in invoke_task' /Library/Ruby/Gems/2.3.0/gems/rake-10.4.2/lib/rake/application.rb:106:in
block (2 levels) in top_level'
/Library/Ruby/Gems/2.3.0/gems/rake-10.4.2/lib/rake/application.rb:106:in each' /Library/Ruby/Gems/2.3.0/gems/rake-10.4.2/lib/rake/application.rb:106:in
block in top_level'
/Library/Ruby/Gems/2.3.0/gems/rake-10.4.2/lib/rake/application.rb:115:in run_with_threads' /Library/Ruby/Gems/2.3.0/gems/rake-10.4.2/lib/rake/application.rb:100:in
top_level'
/Library/Ruby/Gems/2.3.0/gems/rake-10.4.2/lib/rake/application.rb:78:in block in run' /Library/Ruby/Gems/2.3.0/gems/rake-10.4.2/lib/rake/application.rb:176:in
standard_exception_handling'
/Library/Ruby/Gems/2.3.0/gems/rake-10.4.2/lib/rake/application.rb:75:in run' /Library/Ruby/Gems/2.3.0/gems/rake-10.4.2/bin/rake:33:in
<top (required)>'
/usr/bin/rake:22:in load' /usr/bin/rake:22:in