[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

sqlite on devboard82



Has anybody gained experience with sqlite? Has anybody a working Makefile?
I tried to compile it, but I got some errors.
It seems that a binary created by cris-gcc should be executed and this doesen't work.
Thanks in advance,
Daniel

checking for library containing Tcl_Init... no
checking TCL header files... not specified: still searching...
checking tcl.h usability... no
checking tcl.h presence... no
checking for tcl.h... no
checking for /usr/local/include/tcl.h...
../configure: line 20030: test: =: unary operator expected
checking for /usr/X11/include/tcl.h...
../configure: line 20030: test: =: unary operator expected
checking for /usr/X11R6/include/tcl.h...
../configure: line 20030: test: =: unary operator expected
checking for /usr/pkg/include/tcl.h...
../configure: line 20030: test: =: unary operator expected
checking for /usr/contrib/include/tcl.h...
../configure: line 20030: test: =: unary operator expected
checking for /usr/include/tcl.h...
../configure: line 20030: test: =: unary operator expected
checking for library containing tgetent... no
checking for readline in -lreadline... no
checking readline header files... not specified: still searching...
checking readline.h usability... no
checking readline.h presence... no
checking for readline.h... no
checking for /usr/include/readline.h...
../configure: line 20437: test: =: unary operator expected
checking for /usr/include/readline/readline.h...
../configure: line 20463: test: =: unary operator expected
checking for /usr/local/include/readline.h...
../configure: line 20437: test: =: unary operator expected
checking for /usr/local/include/readline/readline.h...
../configure: line 20463: test: =: unary operator expected
checking for /usr/local/readline/include/readline.h...
../configure: line 20437: test: =: unary operator expected
checking for /usr/local/readline/include/readline/readline.h...
../configure: line 20463: test: =: unary operator expected
checking for /usr/contrib/include/readline.h...
../configure: line 20437: test: =: unary operator expected
checking for /usr/contrib/include/readline/readline.h...
../configure: line 20463: test: =: unary operator expected
checking for /mingw/include/readline.h...
../configure: line 20437: test: =: unary operator expected
checking for /mingw/include/readline/readline.h...
../configure: line 20463: test: =: unary operator expected
checking for usleep... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating sqlite3.pc
make -C sqlite/build
make[2]: Entering directory `/var/axis/axis/devboard_82/apps/database/sqlite/build'
sed -e s/--VERS--/`cat ../VERSION`/ \
                 ../src/sqlite.h.in >sqlite3.h
echo '#include <stdio.h>' >temp.c
echo 'int main(){printf(' >>temp.c
echo '"#define SQLITE_PTR_SZ %d",sizeof(char*));' >>temp.c
echo 'exit(0);}' >>temp.c
gcc-cris  -isystem /var/axis/axis/devboard_82/target/cris-axis-linux-gnu/include -mlinux -g -O2 -o temp temp.c
./temp >config.h
/bin/sh: line 1: ./temp: cannot execute binary file
make[2]: *** [config.h] Error 126
make[2]: Leaving directory `/var/axis/axis/devboard_82/apps/database/sqlite/build'
make[1]: *** [buildsqlite] Error 2
make[1]: Leaving directory `/var/axis/axis/devboard_82/apps/database'
make: *** [install-recurse] Error 1
[root@localhost devboard_82]#
_________________________________________________________
Mit WEB.DE FreePhone® mit höchster Qualität ab 0 Ct./Min.
weltweit telefonieren! http://freephone.web.de/?mc=021201