]$ tar xzf sqlite.tar.gz
]# mkdir bld
]# cd bld
]# ../sqlite-3.4.2/configure
]# make
...
./libtool --mode=compile --tag=CC gcc -g -O2 -I. -I../sqlite-3.4.2/src -DNDEBUG -DTHREADSAFE=0 -DSQLITE_THREAD_OVERRIDE_LOCK=-1 -DSQLITE_OMIT_LOAD_EXTENSION=1 -c ../sqlite-3.4.2/src/tclsqlite.c
gcc -g -O2 -I. -I../sqlite-3.4.2/src -DNDEBUG -DTHREADSAFE=0 -DSQLITE_THREAD_OVERRIDE_LOCK=-1 -DSQLITE_OMIT_LOAD_EXTENSION=1 -c ../sqlite-3.4.2/src/tclsqlite.c -fPIC -DPIC -o .libs/tclsqlite.o
../sqlite-3.4.2/src/tclsqlite.c:286: warning: initialization from incompatible pointer type
../sqlite-3.4.2/src/tclsqlite.c:296: warning: excess elements in struct initializer
../sqlite-3.4.2/src/tclsqlite.c:296: warning: (near initialization for `IncrblobChannelType')
../sqlite-3.4.2/src/tclsqlite.c: In function `DbUpdateHandler':
../sqlite-3.4.2/src/tclsqlite.c:581: warning: passing arg 3 of `Tcl_ListObjAppendElement' makes pointer from integer without a cast
../sqlite-3.4.2/src/tclsqlite.c: In function `tclSqlFunc':
../sqlite-3.4.2/src/tclsqlite.c:667: warning: passing arg 1 of `Tcl_NewByteArrayObj' discards qualifiers from pointer target type
../sqlite-3.4.2/src/tclsqlite.c:675: warning: assignment makes pointer from integer without a cast
../sqlite-3.4.2/src/tclsqlite.c:733: `Tcl_WideInt' undeclared (first use in this function)
../sqlite-3.4.2/src/tclsqlite.c:733: (Each undeclared identifier is reported only once
../sqlite-3.4.2/src/tclsqlite.c:733: for each function it appears in.)
../sqlite-3.4.2/src/tclsqlite.c:733: parse error before `v'
../sqlite-3.4.2/src/tclsqlite.c:734: `v' undeclared (first use in this function)
../sqlite-3.4.2/src/tclsqlite.c: In function `DbObjCmd':
../sqlite-3.4.2/src/tclsqlite.c:938: warning: passing arg 3 of `Tcl_GetIndexFromObj' from incompatible pointer type
../sqlite-3.4.2/src/tclsqlite.c:1590: warning: passing arg 2 of `Tcl_GetVar2Ex' discards qualifiers from pointer target type
../sqlite-3.4.2/src/tclsqlite.c:1614: `Tcl_WideInt' undeclared (first use in this function)
../sqlite-3.4.2/src/tclsqlite.c:1614: parse error before `v'
../sqlite-3.4.2/src/tclsqlite.c:1615: `v' undeclared (first use in this function)
../sqlite-3.4.2/src/tclsqlite.c:1665: warning: passing arg 1 of `Tcl_NewByteArrayObj' discards qualifiers from pointer target type
../sqlite-3.4.2/src/tclsqlite.c:1673: warning: assignment makes pointer from integer without a cast
../sqlite-3.4.2/src/tclsqlite.c:1953: parse error before `rowid'
../sqlite-3.4.2/src/tclsqlite.c:1958: `rowid' undeclared (first use in this function)
../sqlite-3.4.2/src/tclsqlite.c:2174: warning: passing arg 3 of `Tcl_GetIndexFromObj' from incompatible pointer type
../sqlite-3.4.2/src/tclsqlite.c: In function `DbMain':
../sqlite-3.4.2/src/tclsqlite.c:2346: warning: passing arg 2 of `Tcl_TranslateFileName' discards qualifiers from pointer target type
../sqlite-3.4.2/src/tclsqlite.c:2366: warning: passing arg 2 of `Tcl_CreateObjCommand' discards qualifiers from pointer target type
make: *** [tclsqlite.lo] Error 1