473,387 Members | 1,611 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

sqlite3 - getting error "`Tcl_WideInt' undeclared"

365 100+
Trying to compile sqlite3 (3.6.22), getting this error "`Tcl_WideInt' undeclared", I have tcl.h was included, but still getting any idea why?.


Expand|Select|Wrap|Line Numbers
  1. libtool: link: gcc -g -O2 -DSQLITE_OS_UNIX=1 -I. -I../sqlite-3.6.22/src -D_HAVE_SQLITE_CONFIG_H -DNDEBUG -DSQLITE_THREADSAFE=1 -DSQLITE_THREAD_OVERRIDE_LOCK=-1 -DSQLITE_OMIT_LOAD_EXTENSION=1 -DHAVE_READLINE=1 -I/usr/include/readline -o .libs/sqlite3 ../sqlite-3.6.22/src/shell.c  ./.libs/libsqlite3.so -lreadline -lncurses -lpthread -Wl,-rpath -Wl,/usr/local/lib
  2. ./libtool --mode=compile --tag=CC gcc   -g -O2 -DSQLITE_OS_UNIX=1 -I. -I../sqlite-3.6.22/src -D_HAVE_SQLITE_CONFIG_H -DNDEBUG   -DSQLITE_THREADSAFE=1 -DSQLITE_THREAD_OVERRIDE_LOCK=-1 -DSQLITE_OMIT_LOAD_EXTENSION=1   -DUSE_TCL_STUBS=1 -c ../sqlite-3.6.22/src/tclsqlite.c
  3. libtool: compile:  gcc -g -O2 -DSQLITE_OS_UNIX=1 -I. -I../sqlite-3.6.22/src -D_HAVE_SQLITE_CONFIG_H -DNDEBUG -DSQLITE_THREADSAFE=1 -DSQLITE_THREAD_OVERRIDE_LOCK=-1 -DSQLITE_OMIT_LOAD_EXTENSION=1 -DUSE_TCL_STUBS=1 -c ../sqlite-3.6.22/src/tclsqlite.c  -fPIC -DPIC -o .libs/tclsqlite.o

Expand|Select|Wrap|Line Numbers
  1. ../sqlite-3.6.22/src/tclsqlite.c:314: warning: initialization from incompatible pointer type
  2. ../sqlite-3.6.22/src/tclsqlite.c:324: warning: excess elements in struct initializer
  3. ../sqlite-3.6.22/src/tclsqlite.c:324: warning: (near initialization for `IncrblobChannelType')
  4. ../sqlite-3.6.22/src/tclsqlite.c: In function `DbUpdateHandler':
  5. ../sqlite-3.6.22/src/tclsqlite.c:638: warning: passing arg 3 of pointer to function makes pointer from integer without a cast
  6. ../sqlite-3.6.22/src/tclsqlite.c: In function `tclSqlFunc':
  7. ../sqlite-3.6.22/src/tclsqlite.c:724: warning: passing arg 1 of pointer to function discards qualifiers from pointer target type
  8. ../sqlite-3.6.22/src/tclsqlite.c:732: warning: assignment makes pointer from integer without a cast
  9. ../sqlite-3.6.22/src/tclsqlite.c:790: `Tcl_WideInt' undeclared (first use in this function)
  10. ../sqlite-3.6.22/src/tclsqlite.c:790: (Each undeclared identifier is reported only once
  11. ../sqlite-3.6.22/src/tclsqlite.c:790: for each function it appears in.)
  12. ../sqlite-3.6.22/src/tclsqlite.c:790: parse error before "v"
  13. ../sqlite-3.6.22/src/tclsqlite.c:791: `v' undeclared (first use in this function)
  14. ../sqlite-3.6.22/src/tclsqlite.c: In function `dbPrepareAndBind':
  15. ../sqlite-3.6.22/src/tclsqlite.c:1105: warning: passing arg 2 of pointer to function discards qualifiers from pointer target type
  16. ../sqlite-3.6.22/src/tclsqlite.c:1129: `Tcl_WideInt' undeclared (first use in this function)
  17. ../sqlite-3.6.22/src/tclsqlite.c:1129: parse error before "v"
  18. ../sqlite-3.6.22/src/tclsqlite.c:1130: `v' undeclared (first use in this function)
  19. ../sqlite-3.6.22/src/tclsqlite.c: In function `dbEvalColumnValue':
  20. ../sqlite-3.6.22/src/tclsqlite.c:1411: warning: return makes pointer from integer without a cast
  21. ../sqlite-3.6.22/src/tclsqlite.c: In function `DbObjCmd':
  22. ../sqlite-3.6.22/src/tclsqlite.c:1569: warning: passing arg 3 of pointer to function from incompatible pointer type
  23. ../sqlite-3.6.22/src/tclsqlite.c:2352: `Tcl_WideInt' undeclared (first use in this function)
  24. ../sqlite-3.6.22/src/tclsqlite.c:2352: parse error before "rowid"
  25. ../sqlite-3.6.22/src/tclsqlite.c:2357: `rowid' undeclared (first use in this function)
  26. ../sqlite-3.6.22/src/tclsqlite.c:2657: warnin
Jan 25 '10 #1
0 1927

Sign in to post your reply or Sign up for a free account.

Similar topics

5
by: Danny Anderson | last post by:
Hola! I am working on a program where I am including a library that came with my numerical methods textbook. The "util.h" simply includes a large number of files. I had to change the util.h...
2
by: Jason Sauer | last post by:
We use "FOR XML EXPLICIT" and "OPENXML" heavily on our SQL 2000 Advanced server. Every now and then we get an "Undeclared Tag ID" error (SQL Error #6806). If I open the stored procedure, modify it...
2
by: Jacek Dziedzic | last post by:
Is it valid to use a "using namespace foo" (as opposed to using foo::bar which I'm sure is legal) within a class declaration? My compiler rejects it, but I've been told it's valid. Can anyone...
134
by: James A. Donald | last post by:
I am contemplating getting into Python, which is used by engineers I admire - google and Bram Cohen, but was horrified to read "no variable or argument declarations are necessary." Surely that...
5
by: SenthilSS | last post by:
My application produces XML Data files which have XML namespace qualified XML elements (nodes), but the namespace itself is not declared in the data file. My task is to read these data files in a...
6
by: craigbeanhead | last post by:
Hi, I'm teaching myself C from K&R2. I've come across something that I really don't understand. When I try to compile the following code (in VC++7), I get an "undeclared identifier" error. When...
22
by: bq | last post by:
Hello, Two questions related to floating point support: What C compilers for the wintel (MS Windows + x86) platform are C99 compliant as far as <math.h> and <tgmath.h> are concerned? What...
0
by: VB Programmer | last post by:
I wanted to access some properties of a panel control that is on a different form. So, I went to the (Declarations) section of my main form (the form with the panel) and changed the panel (called...
20
by: Andreas Griesmayer | last post by:
Hi, following piece of code causes a strange behavior when compiled with GCC (Linux, Gentoo 3.3.5.20050130-r1). read() is called twice although only called once, the first time before the first...
4
by: lostlander | last post by:
In ARMCC, and Microsoft C, when i use a function which is never defined or delared, it gives out a warning, not a compiling error? why? (This leads to a bug to my program since I seldom pay much...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.