Hello

I tried to compile actual tip of trunk (c409f828) on OS X 10.10.5

It fails when on the linking stage:
Undefined symbols for architecture x86_64:
  "_utimensat", referenced from:
      _writeFile in shell.o
ld: symbol(s) not found for architecture x86_64

On compiling shell.c there was a warning already:
cc -I. -I./src -Ibld -Wall -DFOSSIL_DYNAMIC_BUILD=1
-Wdeprecated-declarations -DFOSSIL_HAVE_FUSEFS  -g -O2 -DHAVE_AUTOCONFIG_H
-D_HAVE_SQLITE_CONFIG_H  -Dmain=sqlite3_shell -DSQLITE_SHELL_IS_UTF8=1
-DSQLITE_OMIT_LOAD_EXTENSION=1 -DUSE_SYSTEM_SQLITE=0
-DSQLITE_SHELL_DBNAME_PROC=fossil_open   -DHAVE_LINENOISE -c ./src/shell.c
-o bld/shell.o
./src/shell.c:2338:9: warning: implicit declaration of function 'utimensat'
is invalid in C99 [-Wimplicit-function-declaration]
    if( utimensat(AT_FDCWD, zFile, times, AT_SYMLINK_NOFOLLOW) ){

$ cc --version
Apple LLVM version 7.0.2 (clang-700.1.81)
Target: x86_64-apple-darwin14.5.0
Thread model: posix

Bisecting shows that the problem starts with check-in
http://www.fossil-scm.org/index.html/info/5b558bc76bb9fb5f


This also happens on sqlite itself, offending checkin on trunk:
http://sqlite.org/src/info/148b8aee78e40cab or sqlar-shell-support
respectively: http://sqlite.org/src/info/0cc699d14adfe8c7

Marcel
_______________________________________________
fossil-users mailing list
[email protected]
http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users

Reply via email to