[sqlite] problem with installing SQLite3.3.5

2006-05-18 Thread shibu alampatta

hello friends,
following are the last few lines on giving make  to install sqlite3.3.5 I'm
using Fedora Core 1(kernel 2.4)

any help please

with regards
shibu.

.

IDE_LOCK=-1 -DSQLITE_OMIT_CURSOR -c ../sqlite- 3.3.5/src/tclsqlite.c
gcc -g -O2 -DOS_UNIX=1 -DHAVE_USLEEP=1 -DHAVE_FDATASYNC=1 -I. -I../sqlite-
3.3.5/src -DNDEBUG -DTHREADSAFE=0 -DSQLITE_THREAD_OVERRIDE_LOCK=-1
-DSQLITE_OMIT_CURSOR -c ../sqlite-3.3.5/src/tclsqlite.c  -fPIC -DPIC -o
.libs/tclsqlite.o
../sqlite-3.3.5/src/tclsqlite.c: In function `DbUpdateHandler':
../sqlite-3.3.5/src/tclsqlite.c:333: warning: passing arg 3 of
`Tcl_ListObjAppendElement' makes pointer from integer without a cast
../sqlite-3.3.5 /src/tclsqlite.c: In function `tclSqlFunc':
../sqlite-3.3.5/src/tclsqlite.c:419: warning: passing arg 1 of
`Tcl_NewByteArrayObj' discards qualifiers from pointer target type
../sqlite-3.3.5/src/tclsqlite.c:427: warning: assignment makes pointer from
integer without a cast
../sqlite-3.3.5/src/tclsqlite.c:485: error: `Tcl_WideInt' undeclared (first
use in this function)
../sqlite-3.3.5/src/tclsqlite.c:485: error: (Each undeclared identifier is
reported only once
../sqlite-3.3.5/src/tclsqlite.c:485: error: for each function it appears
in.)
../sqlite-3.3.5/src/tclsqlite.c:485: error: syntax error before v
../sqlite-3.3.5/src/tclsqlite.c:486: error: `v' undeclared (first use in
this function)
../sqlite-3.3.5/src/tclsqlite.c: In function `DbObjCmd':
../sqlite-3.3.5/src/tclsqlite.c:685: warning: passing arg 3 of
`Tcl_GetIndexFromObj' from incompatible pointer type
../sqlite-3.3.5/src/tclsqlite.c:1309: warning: passing arg 2 of
`Tcl_GetVar2Ex' discards qualifiers from pointer target type
../sqlite-3.3.5/src/tclsqlite.c:1331: error: `Tcl_WideInt' undeclared (first
use in this function)
../sqlite-3.3.5/src/tclsqlite.c:1331: error: syntax error before v
../sqlite-3.3.5/src/tclsqlite.c:1332: error: `v' undeclared (first use in
this function)
../sqlite-3.3.5/src/tclsqlite.c:1382: warning: passing arg 1 of
`Tcl_NewByteArrayObj' discards qualifiers from pointer target type
../sqlite-3.3.5/src/tclsqlite.c:1390: warning: assignment makes pointer from
integer without a cast
../sqlite-3.3.5/src/tclsqlite.c:1838: warning: passing arg 3 of
`Tcl_GetIndexFromObj' from incompatible pointer type
../sqlite-3.3.5/src/tclsqlite.c: In function `DbMain':
../sqlite-3.3.5/src/tclsqlite.c:2024: warning: passing arg 2 of
`Tcl_CreateObjCommand' discards qualifiers from pointer target type
make: *** [tclsqlite.lo] Error 1
[EMAIL PROTECTED] build]#


Re: [sqlite] problem with installing SQLite3.3.5

2006-05-18 Thread drh
shibu alampatta [EMAIL PROTECTED] wrote:
 hello friends,
  following are the last few lines on giving make  to install sqlite3.3.5 I'm
 using Fedora Core 1(kernel 2.4)
 
 any help please
 


Apparently Fedora Core 1 is using an archaic version
of Tcl.  You can compile SQLite without Tcl.  You probably
do not care about Tcl or you would have already upgraded
it to something recent 2002 (the release date of the last
version of Tcl that might cause the problem you are seeing.)

So I would suggest that you compile without Tcl support.

--
D. Richard Hipp   [EMAIL PROTECTED]



[sqlite] Problem with installing

2005-06-08 Thread dannyp1202
Hello,
 
I'd like to use the SQLite Library now for the first time, for my programs
which should run under Linux and Windows.
 
But I've got problems with the lib (I'm not very familar with .dll files). I
downloaded the Precompared Binary for Windows. In my progam I included the
sqlite3.h and I copied the sqlite3.dll into my project directory. But when I
compile it, I got error message about unresolved links, e.g. sqlite3_open()
 
I'm working normally with lib files, which I include with #pragma
comment(lib, file.lib); into my C++ program.
 
Can anyone help me?

Thanks in advance :)


Re: [sqlite] Problem with installing

2005-06-08 Thread Eugene Wee

Hi,

You probably neglected to link to the dll.
What compiler are you using? GCC (i.e. g++)?

Eugene Wee

[EMAIL PROTECTED] wrote:

Hello,
 
I'd like to use the SQLite Library now for the first time, for my programs

which should run under Linux and Windows.
 
But I've got problems with the lib (I'm not very familar with .dll files). I

downloaded the Precompared Binary for Windows. In my progam I included the
sqlite3.h and I copied the sqlite3.dll into my project directory. But when I
compile it, I got error message about unresolved links, e.g. sqlite3_open()
 
I'm working normally with lib files, which I include with #pragma

comment(lib, file.lib); into my C++ program.
 
Can anyone help me?


Thanks in advance :)






AW: [sqlite] Problem with installing

2005-06-08 Thread dannyp1202
Hello :)

Thanks for your answer.
I'm unsing for my first tests under Windows the Visual C++ Compiler .NET
(because this first testprogram should run previously only under windows).

Thanks in advance :)

Daniel 

-Ursprüngliche Nachricht-
Von: Eugene Wee [mailto:[EMAIL PROTECTED] 
Gesendet: Mittwoch, 8. Juni 2005 15:40
An: sqlite-users@sqlite.org
Betreff: Re: [sqlite] Problem with installing

Hi,

You probably neglected to link to the dll.
What compiler are you using? GCC (i.e. g++)?

Eugene Wee

[EMAIL PROTECTED] wrote:
 Hello,
  
 I'd like to use the SQLite Library now for the first time, for my 
 programs which should run under Linux and Windows.
  
 But I've got problems with the lib (I'm not very familar with .dll 
 files). I downloaded the Precompared Binary for Windows. In my progam 
 I included the sqlite3.h and I copied the sqlite3.dll into my project 
 directory. But when I compile it, I got error message about unresolved 
 links, e.g. sqlite3_open()
  
 I'm working normally with lib files, which I include with #pragma 
 comment(lib, file.lib); into my C++ program.
  
 Can anyone help me?
 
 Thanks in advance :)
 





Re: [sqlite] Problem with installing

2005-06-08 Thread Steve Bryant
I'm using MSVC and the command
LIB /DEF:sqlite3.def
created a sqlite3.lib for me.

In my case the LIB program was not in my path
so I had to find it.
C:\Program Files\Microsoft Visual Studio\VC98\Bin

For more info, look for the heading MSVC and SQLite DLL
under the SQLite wiki topic HowToCompile.
http://www.sqlite.org/cvstrac/wiki?p=HowToCompile

Steve Bryant

 [EMAIL PROTECTED] 6/8/2005 8:53:48 AM 
Hello,
 
I'd like to use the SQLite Library now for the first time, for my
programs
which should run under Linux and Windows.
 
But I've got problems with the lib (I'm not very familar with .dll
files). I
downloaded the Precompared Binary for Windows. In my progam I included
the
sqlite3.h and I copied the sqlite3.dll into my project directory. But
when I
compile it, I got error message about unresolved links, e.g.
sqlite3_open()
 
I'm working normally with lib files, which I include with #pragma
comment(lib, file.lib); into my C++ program.
 
Can anyone help me?

Thanks in advance :)


Re: [sqlite] Problem with installing

2005-06-08 Thread Jay Sprenkle
Instead of the pragma add the library (.lib) directly to the solution. 

On 6/8/05, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
 
 I'm working normally with lib files, which I include with #pragma
 comment(lib, file.lib); into my C++ program.


Re: [sqlite] Problem with installing

2005-06-08 Thread Kiel W.
Hey Danny,

I think with the advice you've gotten you should be able to run with it. 
However it you get stuck take a look at:
http://www.guitipsandtricks.com/Under the 30 most recent you will see
one entitled Embedded Database for
Easy Storage. If you don't mind signing up, it walks you through using 
SQLite on VS .Net.

FYI, the site is run by one of my classes in college so you don't need to 
worry about spam or other junk to the email. Its mainly tips that people in 
the class have made, but there are a few posted by people in industry.

On 6/8/05, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
 
 Hello,
 
 I'd like to use the SQLite Library now for the first time, for my programs
 which should run under Linux and Windows.
 
 But I've got problems with the lib (I'm not very familar with .dll files). 
 I
 downloaded the Precompared Binary for Windows. In my progam I included the
 sqlite3.h and I copied the sqlite3.dll into my project directory. But when 
 I
 compile it, I got error message about unresolved links, e.g. 
 sqlite3_open()
 
 I'm working normally with lib files, which I include with #pragma
 comment(lib, file.lib); into my C++ program.
 
 Can anyone help me?
 
 Thanks in advance :)
 
 


-- 
Kiel W.
[EMAIL PROTECTED]
--
 time is swift