Re: [sqlite] Compile error with SQLITE_OMIT_CTE (3.28)

2020-01-31 Thread Jens Alfke
> On Jan 31, 2020, at 9:55 AM, Jens Alfke wrote: > > If I define SQLITE_OMIT_CTE and compile the amalgamation (3.28.0), the build > fails due to two remaining calls to > sqlite3WithAdd() in the parser. This function is neither declared nor > implemented when SQLITE_OMIT_CTE is defined.

[sqlite] Compile error with SQLITE_OMIT_CTE (3.28)

2020-01-31 Thread Jens Alfke
If I define SQLITE_OMIT_CTE and compile the amalgamation (3.28.0), the build fails due to two remaining calls to sqlite3WithAdd() in the parser. This function is neither declared nor implemented when SQLITE_OMIT_CTE is defined. case 286: /* wqlist ::= nm eidlist_opt AS LP select RP */ {

Re: [sqlite] Compile error with certain compile time options

2019-01-15 Thread Shawn Wagner
Did you read all of https://www.sqlite.org/compile.html#omitfeatures ? In particular it looks like you're trying to build the amalgamation version instead of using the full source version to build a custom amalgamation file like it suggests. Plus of course even if you do that, > Some

[sqlite] Compile error with certain compile time options

2019-01-15 Thread Ertan Küçükoğlu
Hello, I am trying to build a specific static library for an embedded device running "arm-linux-gnueabi" sqlite 3.26.0 I have tried to try some compile time parameters first. I passed some omit options to autoconfig in order to reduce file size. I am getting warnings and finally an error. I

Re: [sqlite] Compile Error: SQLITE_ENABLE_MULTITHREADED_CHECKS and SQLITE_ENABLE_API_ARMOR defined concurrently

2017-12-05 Thread Dan Kennedy
On 12/02/2017 11:59 PM, Keith Medcalf wrote: Both are fine when either is defined independently (or neither is defined) but when both are defined concurrently there are compiler errors in function checkMutexFree: sqlite3x.c: In function 'checkMutexFree': sqlite3x.c:23521:8: error:

[sqlite] Compile Error: SQLITE_ENABLE_MULTITHREADED_CHECKS and SQLITE_ENABLE_API_ARMOR defined concurrently

2017-12-02 Thread Keith Medcalf
Both are fine when either is defined independently (or neither is defined) but when both are defined concurrently there are compiler errors in function checkMutexFree: sqlite3x.c: In function 'checkMutexFree': sqlite3x.c:23521:8: error: dereferencing pointer to incomplete type 'sqlite3_mutex

Re: [sqlite] Compile Error

2011-05-03 Thread Stephan Beal
On Tue, May 3, 2011 at 9:15 PM, Pavel Ivanov wrote: > I believe any compilation options that require changes in SQL parser > require compiling from original sources as well. They cannot be used > with amalgamation file which has already generated SQL parser's code. > That's

Re: [sqlite] Compile Error

2011-05-03 Thread Pavel Ivanov
I believe any compilation options that require changes in SQL parser require compiling from original sources as well. They cannot be used with amalgamation file which has already generated SQL parser's code. Pavel On Tue, May 3, 2011 at 3:05 PM, jeff archer wrote: > I am

[sqlite] Compile Error

2011-05-03 Thread jeff archer
I am attempting to compile SQLite on windows with SQLITE_OMIT_TRIGGER defined and I get the following errors. Sure enought the code in yy_...() is not exclosed in ifndef SQLITE_OMIT_TRIGGER 1> Creating library ..\..\Bin\x64\Debug\SqlUtils.lib and object ..\..\Bin\x64\Debug\SqlUtils.exp

Re: [sqlite] sqlite compile error

2010-03-25 Thread Magnus Torfason
On 3/25/2010 5:12 PM, Magnus Torfason wrote: > On 3/5/2010 3:45 PM, Simon Slavin wrote: >> On 5 Mar 2010, at 7:18pm, Gary Zigmann wrote: >> >>> [Linker error] undefined reference to `winm...@16' >>> >>> Can you help me? >> >> http://lmgtfy.com/?q=undefined+reference+to+%60WinMain%4016%27 > >

Re: [sqlite] sqlite compile error

2010-03-25 Thread Magnus Torfason
On 3/5/2010 3:45 PM, Simon Slavin wrote: > On 5 Mar 2010, at 7:18pm, Gary Zigmann wrote: > >> [Linker error] undefined reference to `winm...@16' >> >> Can you help me? > > http://lmgtfy.com/?q=undefined+reference+to+%60WinMain%4016%27 Searching "undefined reference to `winm...@16' sqlite"

Re: [sqlite] sqlite compile error

2010-03-07 Thread noel frankinet
Gary Zigmann a écrit : Hello, Since sqlite is a library, could you show us your main program, in order to help you ? Best wishes Noël Frankinet > Good Afternoon, > > Today I downloaded sqlite-amalgamation-3_6_22.zip from the > sqlite.org website because I was looking for a SQL database to

Re: [sqlite] sqlite compile error

2010-03-05 Thread Igor Tandetnik
Gary Zigmann wrote: > Today I downloaded sqlite-amalgamation-3_6_22.zip from the > sqlite.org website because I was looking for a SQL database to > replace MS Access on my machine. I compiled sqlite3.c using a c > compiler and came up with this error: > >[Linker

Re: [sqlite] sqlite compile error

2010-03-05 Thread Neville Franks
Hi Gary, It sounds like there is no application code containing either main() or standard Windows app startup code. SQLite is just a library and needs to be linked with your application or test code. You also need to provide some specific information on the compiler you are using. Saturday,

Re: [sqlite] sqlite compile error

2010-03-05 Thread A.
On Fri, 2010-03-05 at 14:18 -0500, Gary Zigmann wrote: > Good Afternoon, > > Today I downloaded sqlite-amalgamation-3_6_22.zip from the > sqlite.org website because I was looking for a SQL database to > replace MS Access on my machine. I compiled sqlite3.c using a c > compiler and came

Re: [sqlite] sqlite compile error

2010-03-05 Thread Simon Slavin
On 5 Mar 2010, at 7:18pm, Gary Zigmann wrote: >[Linker error] undefined reference to `winm...@16' > > Can you help me? http://lmgtfy.com/?q=undefined+reference+to+%60WinMain%4016%27 Simon. ___ sqlite-users mailing list sqlite-users@sqlite.org

[sqlite] sqlite compile error

2010-03-05 Thread Gary Zigmann
Good Afternoon, Today I downloaded sqlite-amalgamation-3_6_22.zip from the sqlite.org website because I was looking for a SQL database to replace MS Access on my machine. I compiled sqlite3.c using a c compiler and came up with this error: [Linker error] undefined reference to

[sqlite] Compile error when SQLITE_OMIT_LOAD_EXTENSION

2010-01-11 Thread Techno Magos
If building amalgamation SQLITE_OMIT_LOAD_EXTENSION then this sqliteInt.h line seems to cause the syntax error: void sqlite3AutoLoadExtensions(sqlite3*); This line should probably be within the #ifndef SQLITE_OMIT_LOAD_EXTENSION Thanks ___ sqlite-users

[sqlite] Compile error sqlite 3.4.2

2007-09-05 Thread Mohd Radzi Ibrahim
I'm using Visual Studio 2005 with wxSQLite3 wrapper. I have this error at this line : SQLITE_PRIVATE const unsigned char sqlite3UpperToLower[]; the error says: .\..\wxsqlite3\sqlite3\src\sqlite3.c(6187) : error C2133: 'sqlite3UpperToLower' : unknown size any suggestion on how to