At least in my setup (Solaris 9 with SUNPro C compiler), the amalgamation downloaded from http://www.sqlite.org/draft/download.html fails to compile with the following errors (line numbers may vary slightly from standard as I am using a slightly modified pragma index_info): "/usr/include/sched.h", line 52: warning: dubious tag declaration: struct timespec "/usr/include/pthread.h", line 223: warning: dubious tag declaration: struct timespec "/usr/include/pthread.h", line 225: warning: dubious tag declaration: struct timespec "sqlite3.c", line 21563: warning: conversion to double is out of range "sqlite3.c", line 23365: warning: implicit function declaration: fchown "sqlite3.c", line 23453: undefined symbol: fchmod "sqlite3.c", line 23453: non-constant initializer involving a cast "sqlite3.c", line 25112: warning: implicit function declaration: utimes "sqlite3.c", line 29060: warning: implicit function declaration: usleep "sqlite3.c", line 29102: incomplete struct/union/enum timeval: sNow "sqlite3.c", line 29103: warning: implicit function declaration: gettimeofday "sqlite3.c", line 29104: undefined struct/union member: tv_sec "sqlite3.c", line 29104: undefined struct/union member: tv_usec "sqlite3.c", line 41053: warning: statement not reached "sqlite3.c", line 69547: warning: statement not reached "sqlite3.c", line 70905: warning: statement not reached "sqlite3.c", line 71013: warning: statement not reached cc: acomp failed for sqlite3.c make: *** [sqlite3.o] Error 2 However, changing _XOPEN_SOURCE from 600 back to 500 (what it was in 3.7.17) fixes the problem. Peter _______________________________________________ sqlite-users mailing list sqlite-users@sqlite.org http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users