[prev in list] [next in list] [prev in thread] [next in thread]
List: mingw-users
Subject: [Mingw-users] Installing SQLite
From: Timo_Schlüßler <timo () schluessler ! org>
Date: 2007-06-07 11:15:22
Message-ID: 4667E8CA.4020503 () schluessler ! org
[Download RAW message or body]
Hello,
I can't get sqlite working on my mingw installation on windows. Is there
a how-to for installing sqlite? I googled a lot but can't find something.
That's what I did until now:
I downloaded the sources and run ./configure and make and everything
works fine. But make install doesn't. The first error is, that there is
no tclsh but a tclsh84. After replacing tclsh through tcls84 in the
makefile, i also have to add a < in "tclsh84 < ..../tclsqlite3c.tcl"
(There has to be a < otherwise tclsh84 waits for inputs from command line.)
Now make install runs the tcl script fine, but then it stops with the
undefined reference to WinMain@16, which appears because there is no
main() in sqlite3.c.
And because make install doesn't work, I manually copied sqlite3.h and
libsqlite3.a to /lib and /include so that gcc can find them. But when I
now try to compile a very simple SQLite program, there is a undefined
reference for each sqlite function.
What files do I need also or what can I do for make install to work?
greets
PS: The simple programm for testing works fine under linux with sqlite3.
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
MinGW-users mailing list
MinGW-users@lists.sourceforge.net
You may change your MinGW Account Options or unsubscribe at:
https://lists.sourceforge.net/lists/listinfo/mingw-users
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic