On 1/30/18, Kingle Zhuang <[email protected]> wrote: > shell.c:7098:9: error: 'system' is unavailable: not available on iOS > x = system(zCmd);
Is the command-line shell in any way useful to iOS? Are you able to run the command-line shell on iOS? Can you explain to us how you do that, because that is not something we developers know how to do. > ^ > /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator11.2.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. > make: *** [sqlite3-shell.o] Error 1 > /Applications/Xcode.app/Contents/Developer/usr/bin/gcc -arch i386 > -DPACKAGE_NAME=\"sqlite\" -DPACKAGE_TARNAME=\"sqlite\" > -DPACKAGE_VERSION=\"3.20.0\" -DPACKAGE_STRING=\"sqlite\ 3.20.0\" > -DPACKAGE_BUGREPORT=\"http://www.sqlite.org\" -DPACKAGE_URL=\"\" > -DPACKAGE=\"sqlite\" -DVERSION=\"3.20.0\" -DSTDC_HEADERS=1 > -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 > -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 > -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_FDATASYNC=1 > -DHAVE_USLEEP=1 -DHAVE_LOCALTIME_R=1 -DHAVE_GMTIME_R=1 > -DHAVE_DECL_STRERROR_R=1 -DHAVE_STRERROR_R=1 -I. -I/include -isysroot > /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator11.2.sdk > -D_REENTRANT=1 -DSQLITE_THREADSAFE=1 -DSQLITE_ENABLE_FTS3 > -DSQLITE_ENABLE_RTREE -DSQLITE_ENABLE_EXPLAIN_COMMENTS -Os > -DSQLITE_ENABLE_LOCKING_STYLE=1 -DSQLITE_ENABLE_API_ARMOR > -DSQLITE_ENABLE_UPDATE_DELETE_LIMIT -DSQLITE_MAX_MMAP_SIZE=0 > -DSQLITE_OMIT_AUTORESET -DSQLITE_OMIT_BUILTIN_TEST > -DSQLITE_OMIT_LOAD_EXTENSION -I/include -isysroot > /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator11.2.sdk > -MT sqlite3-shell.o -MD -MP -MF .deps/sqlite3-shell.Tpo -c -o > sqlite3-shell.o `test -f 'shell.c' || echo './'`shell.c > shell.c:7098:9: error: 'system' is unavailable: not available on iOS > x = system(zCmd); > ^ > /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator11.2.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. > make: *** [sqlite3-shell.o] Error 1 > _______________________________________________ > sqlite-users mailing list > [email protected] > http://mailinglists.sqlite.org/cgi-bin/mailman/listinfo/sqlite-users > -- D. Richard Hipp [email protected] _______________________________________________ sqlite-users mailing list [email protected] http://mailinglists.sqlite.org/cgi-bin/mailman/listinfo/sqlite-users

