Thanks Guy. After reading that I was wondering if it was maybe something to do 
with the code I’ve added to the end of the sqlite3.c file which includes 
several extentions. After commenting out the #include “csv.c” (& associated) 
code it linked OK.



________________________________
From: sqlite-users <sqlite-users-boun...@mailinglists.sqlite.org> on behalf of 
Guy Harris <g...@alum.mit.edu>
Sent: Monday, June 18, 2018 11:45:38 AM
To: SQLite mailing list
Subject: Re: [sqlite] ___fixunsdfdi

On Jun 18, 2018, at 3:21 AM, x <tam118...@hotmail.com> wrote:

> I’m using c++ builder 10.2 Tokyo on windows 10 pro.
> In a console app I’m getting this error message
>
> [ilink32 Error] Error: Unresolved external '___fixunsdfdi' referenced from 
> C:\...\PROJECTS\WIN32\DEBUG\SQLITE3.OBJ
>
> I can’t find any mention of it in sqlite3.h or sqlite3.c.
>
> Anyone know anything about it?

It's a support routine to which some compilers generate calls.  The Intel 
System Studio documentation:

        https://software.intel.com/en-us/node/704849

says

        These functions convert a to an unsigned 64-bit integer rounding toward 
zero. If the integral value cannot be represented by the integer type, zero is 
returned.

The incremental linker is probably not linking with whatever library the 
compiler that built sqlite3.obj expects the program to be linked with.  You'd 
probably have to check the C++ Builder documentation to see what library that 
might be and how to ensure that it gets linked with that library.

_______________________________________________
sqlite-users mailing list
sqlite-users@mailinglists.sqlite.org
http://mailinglists.sqlite.org/cgi-bin/mailman/listinfo/sqlite-users
_______________________________________________
sqlite-users mailing list
sqlite-users@mailinglists.sqlite.org
http://mailinglists.sqlite.org/cgi-bin/mailman/listinfo/sqlite-users

Reply via email to