473,769 Members | 5,173 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

sqlite3 - getting error "`Tcl_WideI nt' undeclared"

365 Contributor
Trying to compile sqlite3 (3.6.22), getting this error "`Tcl_WideI nt' 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 1980

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

Similar topics

5
6096
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 slightly to adjust path names and also take into account I am working with a case-sensitive OS. My program is below. The sticky point is that adding (#include "util.h") seems to negate the (#include <string>) statement somehow. How can I get...
2
2073
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 in any way (add a carriage return, hit the space key) and save it, the error goes away. To my knowledge we are current on service packs. Has anyone else had this problem and better still, does anyone know how to fix it? Any help would be...
2
6402
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 please confirm or deny? TIA, - J.
134
7913
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 means that if I misspell a variable name, my program will mysteriously fail to work with no error message. If you don't declare variables, you can inadvertently re-use an variable used in an enclosing context when you don't intend to, or
5
10012
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 C# app for viewing purposes. I am using "XmlDocument" and "DataSet" for displaying the XML data in the Data grid. Problem: If I add the Namespace declaration to the data file itself (by manually opening the file and adding a new Root element...
6
6639
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 I move the second integer declaration to the beginning of the function, it compiles and runs correctly. I'm sure I read that you could declare a variable anywhere in a code block, as long as you don't attempt to use it *before* the declaration....
22
3724
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 wintel compilers support a 16-byte "long double" (with 33 decimal digits of accuracy) including proper printf() support. I found some compilers that did support "long double", but theirs was an 8-byte or 10-byte or 12-byte type with accuracy the...
0
1475
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 "panKnob") from "Friend WithEvents" to "Public Shared WithEvents" so that I could access it from another class (i.e. frmMain.panKnob.Visible=True") I get this build error: "The variable 'panKnob' is either undeclared or was never assigned." ...
20
1662
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 statement of main ! I guess there is some call to another read-function my function is wrongly linkted to, it works fine if read() is renamed or static. Compilation does not produce any warnings. Can anyone explain this behavior to me or...
4
1828
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 attention to warnings...) Thanks for explanation!
0
9589
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
10216
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10049
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
9997
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9865
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
8873
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
5448
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
2
3565
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2815
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.