I'm sorry, but I just can't build it :-( I'm using CygWin and I've ran
the 'configure' command and then I type 'make' and this is what I get:

$ make
./libtool --mode=compile gcc -g -O2 -DOS_WIN=1 -DHAVE_USLEEP=1 -I.
-I./src -DNDE
BUG -c ./src/build.c
 gcc -g -O2 -DOS_WIN=1 -DHAVE_USLEEP=1 -I. -I./src -DNDEBUG -c
./src/build.c  -D
PIC -o .libs/build.o
src/build.c: In function `sqlite3EndTable':
src/build.c:1401: error: `OP_ParseSchema' undeclared (first use in this
function
)
src/build.c:1401: error: (Each undeclared identifier is reported only
once
src/build.c:1401: error: for each function it appears in.)
src/build.c: In function `sqlite3DropTable':
src/build.c:1689: error: `OP_DropTable' undeclared (first use in this
function)
src/build.c: In function `sqlite3CreateIndex':
src/build.c:2159: error: `OP_ParseSchema' undeclared (first use in this
function
)
src/build.c: In function `sqlite3DropIndex':
src/build.c:2258: error: `OP_DropIndex' undeclared (first use in this
function)
make: *** [build.lo] Error 1

Does anyone have any ideas on how to do this or what is wrong?

Thanks!

   Dennis

-----Original Message-----
From: andy [mailto:[EMAIL PROTECTED] 
Sent: Thursday, 5 August 2004 11:11 AM
To: [EMAIL PROTECTED]
Subject: Re: [sqlite] Building for Windows

Dennis Volodomanov wrote:
> Hello all,
> 
> Is there any way to rebuild the SQLite v3 for Windows? It seems that
the
> makefiles that come with it are for *nix-based machines only :-(
> 
> For example, I just got the latest code from CVS, but it doesn't
include
> files such as opcodes.* and others and now I cannot build the library
> successfully, because it reports (for example), that it can't find
> OP_ParseSchema (along with some others).
> 
> But, opcodes.* files are automatically generated and I cannot do that,
> so could you please tell me how to make them or where to get them
from?
> 
> TIA
> 
>    Dennis
What compiler are you using?

There are pre-generated source files you can compile from.  Or, if you 
wanna do the entire thing yourself, you can use cygwin.

Personally, I use the Makefile.linux-gcc file, modify it a little to 
remove the tcl stuff, tack on "-mno-cygwin" and run make...

-Andy



Reply via email to