[sqlite] Testfixture binary for ARM target
Hello All, I have installed TCL8.4.19 for x86 target And I have compiled sqlite-3.6.7 testfixture binary for x86 target Both are working fine and I can able to run all tests But I need to compile the TCL and Sqlite for ARM target While compiling TCL for ARM target its giving the following error " bLib.o tclTimer.o tclUtf.o tclUtil.o tclVar.o tclUnixChan.o tclUnixEvent.o tclUn ixFCmd.o tclUnixFile.o tclUnixPipe.o tclUnixSock.o tclUnixTime.o tclUnixInit.o t clUnixThrd.o tclUnixCompat.o tclUnixNotfy.o tclLoadDl.o ld: regcomp.o: Relocations in generic ELF (EM: 40) ld: regcomp.o: Relocations in generic ELF (EM: 40) regcomp.o: could not read symbols: File in wrong format make[2]: *** [libtcl8.4.so] Error 1 make[2]: Leaving directory `/tcl_arm/tcl8.4.19/unix/nto-arm-o.le' make[1]: *** [all] Error 2 make[1]: Leaving directory `/tcl_arm/tcl8.4.19/unix' make: *** [all] Error 2 " And unable to install Sqlite without TCl . If I try its giving errors in tclsqlite.c file Please help me to solve this problem. Thanks and regards CHANDRU ___ sqlite-users mailing list sqlite-users@sqlite.org http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users
Re: [sqlite] tclsqlite.c errors
But I have copiled the same files for x86 target its working fine I can able to run all the test files. And I am trying to compile the TCL8.4.19 for ARM target Its giving the following error bLib.o tclTimer.o tclUtf.o tclUtil.o tclVar.o tclUnixChan.o tclUnixEvent.o tclUn ixFCmd.o tclUnixFile.o tclUnixPipe.o tclUnixSock.o tclUnixTime.o tclUnixInit.o t clUnixThrd.o tclUnixCompat.o tclUnixNotfy.o tclLoadDl.o ld: regcomp.o: Relocations in generic ELF (EM: 40) ld: regcomp.o: Relocations in generic ELF (EM: 40) regcomp.o: *could not read symbols: File in wrong format *make[2]: *** [libtcl8.4.so] Error 1 make[2]: Leaving directory `/tcl_arm/tcl8.4.19/unix/nto-arm-o.le' make[1]: *** [all] Error 2 make[1]: Leaving directory `/tcl_arm/tcl8.4.19/unix' make: *** [all] Error 2 If i solve that error i can install TCL successfully. On Thu, Feb 5, 2009 at 6:45 PM, D. Richard Hippwrote: > > On Feb 5, 2009, at 8:05 AM, mkrajachan...@gmail.com wrote: > > > Hello All, > > > > I am compiling sqlite-3.6.7 to ARM target > > > > make fulltest (I need testfixture binary) > > > >While compiling its giving lots of errors in tclsqlite.c > > file > > > >How can I getrid of this problem > > testfixture and tclsqlite.c require TCL (http://www.tcl.tk/). You > need to get a working TCL development environment for your target > platform. > > If your goal is to test SQLite on your embedded platform, there are > other options. There are two other test harnesses for SQLite now. > See http://www.sqlite.org/testing.html for additional information. > > > > > > > >Please help me > > > > Thanks in advance > > > > Chandru K > > ___ > > sqlite-users mailing list > > sqlite-users@sqlite.org > > http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users > > D. Richard Hipp > d...@hwaci.com > > > > ___ > sqlite-users mailing list > sqlite-users@sqlite.org > http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users > ___ sqlite-users mailing list sqlite-users@sqlite.org http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users
[sqlite] tclsqlite.c errors
Hello All, I am compiling sqlite-3.6.7 to ARM target make fulltest (I need testfixture binary) While compiling its giving lots of errors in tclsqlite.c file How can I getrid of this problem Please help me Thanks in advance Chandru K ___ sqlite-users mailing list sqlite-users@sqlite.org http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users
Re: [sqlite] Cross compilation
Yes its generating the binary But how can i make sure that the binary is for ARM I can able to run the binary in X86 environment. (Actually it should not run in x86) On Thu, Jan 15, 2009 at 7:42 PM, MikeWwrote: > writes: > > > > > Hello MikeW > > All the information in that link to cross compile > sqlite > > for ARM is Sqlite-3.3.7. > > > > But now i am using sqlite-3.6.7. I am unable to find the lines to comment > in > > the latest configure script. > > > > and I need to generate "testfixture" binary to run all test in arm > > environment. > > > > So how can I cross compile sqlite-3.6.7 for ARM? > > > > How to generate "testfixture" binary for ARM? > > > > Thanks in advance > > > > Chandru > > Well you only need to comment them out if they exist ! > If you don't get the error message when building then don't worry ! > > MikeW > > > ==gmane padding== > > ___ > sqlite-users mailing list > sqlite-users@sqlite.org > http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users > ___ sqlite-users mailing list sqlite-users@sqlite.org http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users
Re: [sqlite] Cross compilation
Hello MikeW All the information in that link to cross compile sqlite for ARM is Sqlite-3.3.7. But now i am using sqlite-3.6.7. I am unable to find the lines to comment in the latest configure script. and I need to generate "testfixture" binary to run all test in arm environment. So how can I cross compile sqlite-3.6.7 for ARM? How to generate "testfixture" binary for ARM? Thanks in advance Chandru On Wed, Jan 14, 2009 at 3:18 PM, MikeWwrote: > writes: > > > > > Hello all > > > > How can i cross compile tcl and sqlite for arm and ppc > > > > Tahnks in advance > > > > Chandru K > > http://www.sqlite.org/cvstrac/wiki?p=HowToCompile > > MikeW > > ___ > sqlite-users mailing list > sqlite-users@sqlite.org > http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users > ___ sqlite-users mailing list sqlite-users@sqlite.org http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users
[sqlite] Cross compilation
Hello all How can i cross compile tcl and sqlite for arm and ppc Tahnks in advance Chandru K ___ sqlite-users mailing list sqlite-users@sqlite.org http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users
Re: [sqlite] INVALID COMMAND NAME sqlite3_soft_heap_limit
Hello All, Thank U V V V much Dan & Shane Harrelson ... Its working fine So we are going for a party I am inviting u guys also for the party. Thanks and regards Chandru On Tue, Dec 23, 2008 at 10:24 AM, Shane Harrelsonwrote: > If you use the supplied makefile, "make fulltest" should build the > testfixture and run the all.test set. The testfixture is similar to the > sqlite3 CLI except that it includes a TCL interpreter as well as an > extensive set of test harnesses for virtually every part of the SQLite > core. > > On Mon, Dec 22, 2008 at 9:05 AM, wrote: > > > Hello Dan, > > > > Thank U for ur reply.. > > > > Could you please let me know more about testfixture. > > > > Also, please forward releated links > > > > Thanks > > Chandru > > > > > > > > On Mon, Dec 22, 2008 at 3:06 PM, Dan wrote: > > > > > > > > On Dec 22, 2008, at 3:55 PM, mkrajachan...@gmail.com wrote: > > > > > > > Hello all, > > > > > > > > While i am trying to run the all.test file through the tcl shell > > > > > > > > I am getting the following error > > > > > > > > > > > > # tclsh all.test > > > > invalid command name "sqlite3_soft_heap_limit" > > > >while executing > > > > "sqlite3_soft_heap_limit $soft_limit" > > > >(file "./tester.tcl" line 50) > > > >invoked from within > > > > "source $testdir/tester.tcl" > > > >(file "all.test" line 16) > > > > # > > > > > > > > how can i getrid of this problem > > > > > > > > Thanks in advance > > > > > > You need to build and use 'testfixture', not the regular sqlite3 > > > tcl shell, to run the test suite. Are you doing so? > > > > > > ___ > > > sqlite-users mailing list > > > sqlite-users@sqlite.org > > > http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users > > > > > ___ > > sqlite-users mailing list > > sqlite-users@sqlite.org > > http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users > > > ___ > sqlite-users mailing list > sqlite-users@sqlite.org > http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users > ___ sqlite-users mailing list sqlite-users@sqlite.org http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users
Re: [sqlite] INVALID COMMAND NAME sqlite3_soft_heap_limit
Hello Dan, Thank U for ur reply.. Could you please let me know more about testfixture. Also, please forward releated links Thanks Chandru On Mon, Dec 22, 2008 at 3:06 PM, Danwrote: > > On Dec 22, 2008, at 3:55 PM, mkrajachan...@gmail.com wrote: > > > Hello all, > > > > While i am trying to run the all.test file through the tcl shell > > > > I am getting the following error > > > > > > # tclsh all.test > > invalid command name "sqlite3_soft_heap_limit" > >while executing > > "sqlite3_soft_heap_limit $soft_limit" > >(file "./tester.tcl" line 50) > >invoked from within > > "source $testdir/tester.tcl" > >(file "all.test" line 16) > > # > > > > how can i getrid of this problem > > > > Thanks in advance > > You need to build and use 'testfixture', not the regular sqlite3 > tcl shell, to run the test suite. Are you doing so? > > ___ > sqlite-users mailing list > sqlite-users@sqlite.org > http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users > ___ sqlite-users mailing list sqlite-users@sqlite.org http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users
[sqlite] INVALID COMMAND NAME sqlite3_soft_heap_limit
Hello all, While i am trying to run the all.test file through the tcl shell I am getting the following error # tclsh all.test invalid command name "sqlite3_soft_heap_limit" while executing "sqlite3_soft_heap_limit $soft_limit" (file "./tester.tcl" line 50) invoked from within "source $testdir/tester.tcl" (file "all.test" line 16) # how can i getrid of this problem Thanks in advance regards Chandru ___ sqlite-users mailing list sqlite-users@sqlite.org http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users