clang compile errors sqlite3 3.33.0 autoconf with TEA
Starting at the beginning... (latest ChromeOS linux )
- download sqlite autoconf with TEA (amalgamation)
- go to the source
- build the source
This is where things go sideways
- cd tea
- ./configure --prefix=/usr --with-tcl=/usr/local/lib
The make would not complete. There were a number of errors... something about
CONST was not defined. As a guess I tried:
CFLAGS="-DCONST=const" ./configure --prefix=/usr --with-tcl=/usr/local/lib
and now I have this error...
./generic/tclsqlite3.c:376:3: error: use of undeclared identifier 'TCL_CHANNEL_VERSION_2' TCL_CHANNEL_VERSION_2, /* version */ ^ 1 error generated. make: *** [Makefile:289: tclsqlite3.o] Error 1
A search of the TCL source (9.0) suggests that this definition has been removed. I did not try very hard but the one reference that did pop was back in version 8.3.