Thanks, changing my path order and replacing awk with gawk solved the (first) problem. Now I am getting:
gcc -g -O2 -DOS_UNIX=1 -DHAVE_USLEEP=1 -I. -I./src -DNDEBUG - DTHREADSAFE=0 -DSQLITE_OMIT_CURSOR -DHAVE_READLINE=1 - I/usr/local/include/readline -o .libs/sqlite3 ./src/shell.c ./.libs/libsqlite3.so -lreadline -lcurses -Wl,--rpath - Wl,/usr/local/lib ./.libs/libsqlite3.so: undefined reference to `fdatasync' collect2: ld returned 1 exit status make: *** [sqlite3] Error 1 Can anyone guide me to where "fdatasync" should be? Thanks. --Richard On 25 Oct 2005 at 7:06, Kurt Welgehausen wrote: > This looks like a problem that has come up several > times before on the list. If I remember correctly, > it's usually that the awk shipped by Sun doesn't > support the extended syntax that Sqlite expects. > > Try installing gawk if it's not there already, and > do whatever is required to use it in place of awk. > > Regards >