Hi All,

 

I am working on  building SQLite and I am using(from header file): 

 

#define SQLITE_VERSION        "3.7.14"

#define SQLITE_VERSION_NUMBER 3007014

#define SQLITE_SOURCE_ID      "2012-09-03 15:42:36
c0d89d4a9752922f9e367362366efde4f1b06f2a"

I am getting the following warning and then link error:

 

Warning               2              warning C4013: 'localtime_s'
undefined; assuming extern returning int
{log="C:\WINCE700\OSDesigns\Climet_test1\Climet_test1\sqlite_test\bldsys
log(32)"}
c:\wince700\osdesigns\climet_test1\climet_test1\sqlite_test\sqlite3.c
14129

 

Error      4              sqlite3.obj : error LNK2019: unresolved
external symbol localtime_s referenced in function osLocaltime
C:\WINCE700\OSDesigns\Climet_test1\Climet_test1\sqlite_test\bldsys.log
48

 

I have looked over Google and found a few examples of how this was
handled by others, but found this:

 

http://www.sqlite.org/cvstrac/tktview?tn=2945

 

This implies that the error regarding "localtime_s" is fixed in the main
trunk of SQLite and should compile... but I don't have something right. 

 

I am using  VS2008 and have a working CE build and hello world program
working.  When I add SQLite into the project I get the above
error/warning.

 

I would like some advice on how to build SQLite for WEC7. 

 

 

Caleb Austin

 


##################################################################################
CONFIDENTIALITY NOTICE: This email and any files transmitted with it are 
confidential and intended
solely for the use of the individual or entity to whom they are addressed. It 
may contain confidential,
privileged, and/or proprietary information. Any review, dissemination, 
distribution, copying, printing,
or other use of this email by persons or entities other than the addressee and 
his/her authorized agent
is prohibited. 

If you have received this email in error please notify the originator of the 
message and delete the
material from your computer.
##################################################################################
_______________________________________________
sqlite-users mailing list
sqlite-users@sqlite.org
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users

Reply via email to