Slight incompatibility of v. 3.16.2 from previous releases (compiler error)

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
3 messages Options
ajm
Reply | Threaded
Open this post in threaded view
|

Slight incompatibility of v. 3.16.2 from previous releases (compiler error)

ajm
Hi list:

Building with SQLite v. 3.16.2 and MS VC++ 2015 (v 14.0) there appeared a linker error:

Error LNK2019 external simbol _sqlite3FkReferences unresolved in function _sqlite3Insert

Who belong (I suppose) to a compiler warning:

line 109039: warning C4013: 'sqlite3FkReferences' undefined

I use the following config.h, who compiles Ok with v. 3.9.1 and  earlier.

#define ZENABLE_FTS5
#define SQLITE_MAX_VARIABLE_NUMBER 25
#define SQLITE_DEFAULT_PAGE_SIZE 1024
#define SQLITE_THREADSAFE 1
#define SQLITE_OMIT_PROGRESS_CALLBACK 1
#define SQLITE_OMIT_FOREIGN_KEY 1
#define SQLITE_OMIT_AUTOVACUUM  1
#define SQLITE_OMIT_EXPLAIN 1
#define SQLITE_SECURE_DELETE 1
#define SQLITE_OMIT_BUILTIN_TEST 1
#define SQLITE_OMIT_TRACE 1
#define SQLITE_ENABLE_FTS5 1

Any clue of how surpass with a minimal distortion in the config file would be appreciated.

--
Adolfo J. Millán
Zator Systems


_______________________________________________
sqlite-users mailing list
[hidden email]
http://mailinglists.sqlite.org/cgi-bin/mailman/listinfo/sqlite-users
Reply | Threaded
Open this post in threaded view
|

Re: Slight incompatibility of v. 3.16.2 from previous releases (compiler error)

Dan Kennedy-4
On 01/30/2017 05:39 PM, [hidden email] wrote:

> Hi list:
>
> Building with SQLite v. 3.16.2 and MS VC++ 2015 (v 14.0) there appeared a linker error:
>
> Error LNK2019 external simbol _sqlite3FkReferences unresolved in function _sqlite3Insert
>
> Who belong (I suppose) to a compiler warning:
>
> line 109039: warning C4013: 'sqlite3FkReferences' undefined
>
> I use the following config.h, who compiles Ok with v. 3.9.1 and  earlier.
>
> #define ZENABLE_FTS5
> #define SQLITE_MAX_VARIABLE_NUMBER 25
> #define SQLITE_DEFAULT_PAGE_SIZE 1024
> #define SQLITE_THREADSAFE 1
> #define SQLITE_OMIT_PROGRESS_CALLBACK 1
> #define SQLITE_OMIT_FOREIGN_KEY 1
> #define SQLITE_OMIT_AUTOVACUUM  1
> #define SQLITE_OMIT_EXPLAIN 1
> #define SQLITE_SECURE_DELETE 1
> #define SQLITE_OMIT_BUILTIN_TEST 1
> #define SQLITE_OMIT_TRACE 1
> #define SQLITE_ENABLE_FTS5 1
>
> Any clue of how surpass with a minimal distortion in the config file would be appreciated.
Removing the "SQLITE_OMIT_FOREIGN_KEY" line would probably fix things.

Or grab the one-line patch from here:

   http://www.sqlite.org/src/info/e93d2c49a44af994

Dan.

_______________________________________________
sqlite-users mailing list
[hidden email]
http://mailinglists.sqlite.org/cgi-bin/mailman/listinfo/sqlite-users
ajm
Reply | Threaded
Open this post in threaded view
|

Re: Slight incompatibility of v. 3.16.2 from previousreleases (compiler error)

ajm
> ---- Mensaje original ----
> De: Dan Kennedy <[hidden email]>
> Para:  [hidden email]
>
> On 01/30/2017 05:39 PM, [hidden email] wrote:
>> Hi list:
>>
>> Building with SQLite v. 3.16.2 and MS VC++ 2015 (v 14.0) there appeared a linker error:
>>
>> Error LNK2019 external simbol _sqlite3FkReferences unresolved in function _sqlite3Insert
>>
>> Who belong (I suppose) to a compiler warning:
>>
>> line 109039: warning C4013: 'sqlite3FkReferences' undefined
>>
>> I use the following configh, who compiles Ok with v. 3.9.1 and  earlier.
>>
>> #define SQLITE_MAX_VARIABLE_NUMBER 25
>> #define SQLITE_DEFAULT_PAGE_SIZE 1024
>> #define SQLITE_THREADSAFE 1
>> #define SQLITE_OMIT_PROGRESS_CALLBACK 1
>> #define SQLITE_OMIT_FOREIGN_KEY 1
>> #define SQLITE_OMIT_AUTOVACUUM  1
>> #define SQLITE_OMIT_EXPLAIN 1
>> #define SQLITE_SECURE_DELETE 1
>> #define SQLITE_OMIT_BUILTIN_TEST 1
>> #define SQLITE_OMIT_TRACE 1
>> #define SQLITE_ENABLE_FTS5 1
>>
>> Any clue of how surpass with a minimal distortion in the config file would be appreciated.
>
>Removing the "SQLITE_OMIT_FOREIGN_KEY" line would probably fix things.
>
>Or grab the one-line patch from here:
>
>   http://www.sqlite.org/src/info/e93d2c49a44af994
>
>Dan.

Thanks a lot.

Both solutions works as expected.

--
Adolfo J. Millan
Zator Systems.

_______________________________________________
sqlite-users mailing list
[hidden email]
http://mailinglists.sqlite.org/cgi-bin/mailman/listinfo/sqlite-users