[sqlite] undefined reference to `pthread_join` with ./configure --disable-threadsafe

2019-07-09 Thread Roland Hieber
Hi, I was trying to disable thread safety to get rid of the pthread dependency with an explicit './configure --disable-threadsafe' on sqlite-autoconf-328.tar.gz. However, this leads to linker errors: CCLD libsqlite3.la CCLD sqlite3 ld: ./.libs/libsqlite3.so

Re: [sqlite] undefined reference to `sqlite3_db_release_memory'

2012-02-17 Thread Dan Kennedy
On 02/17/2012 03:10 PM, bhaskarReddy wrote: Hi Friends, While i am trying to use `sqlite3_db_release_memory'. I am getting error and warning as, createTable.c: In function ‘db_create_table’: createTable.c:98: warning: implicit declaration of function ‘sqlite3_db_release_memory’ /t

Re: [sqlite] undefined reference to `sqlite3_db_release_memory'

2012-02-17 Thread Larry Brasfield
bhaskarReddy wrote: Hi Friends, Hi. Comments interjected in quoted text below. While i am trying to use `sqlite3_db_release_memory'. I am getting error and warning as, createTable.c: In function `db_create_table': createTable.c:98: warning: implicit declaration of function `sqli

[sqlite] undefined reference to `sqlite3_db_release_memory'

2012-02-17 Thread bhaskarReddy
Hi Friends, While i am trying to use `sqlite3_db_release_memory'. I am getting error and warning as, createTable.c: In function ‘db_create_table’: createTable.c:98: warning: implicit declaration of function ‘sqlite3_db_release_memory’ /tmp/ccSyJXew.o: In function `db_create_table': c

[sqlite] undefined reference

2012-01-26 Thread Marcel Stumpel
Hi, I' am trying to rebuild application for a TI arm based (cortex A8) target with the arago compiler (Glibc). The program was original developed using GNU gcc with ucLibc for a 2.4 kernel. I know get undefined references (see below). Does anyone have a glue what I am doing wrong? /TQ

Re: [sqlite] undefined reference to `readline'

2009-12-31 Thread Angelo
Hi, you put me on the right direction and I solved. Thank you veru much !!! Hoping to help other sqlite users with the same problem, I give here a list of what I did to solve. => I checked if readline was installed and answer was not => downloaded readline.tar.gz (vers 6) and installed => re-ru

Re: [sqlite] undefined reference to `readline'

2009-12-29 Thread Lutz Horn
Hi, Am 29.12.09 19:28, schrieb Angelo: > sqlite-3.6.16/conftest.c:37: undefined reference to `readline' > collect2: ld returned 1 exit status. > > So it's clear, the linker does not find the readline function , but I don't > understand why. Do you have the readline library including headers ins

[sqlite] undefined reference to `readline'

2009-12-29 Thread Angelo
Hi everybody, sqlite 3.6.16 on linux debian. Using the amalgamation src, I compile sqlite using configure --enable-readline. But using the shell, I haven' t the history function. The config.log file says: sqlite-3.6.16/conftest.c:37: undefined reference to `readline' collect2: ld returned 1 exi

Re: [sqlite] undefined reference to sqlite3_mutex_held

2009-12-10 Thread Shawn Wilsher
On Thu, Dec 10, 2009 at 10:18 AM, Daniel Mierswa wrote: > My concolusion is that the TB folks shouldn't assume that the system > sqlite library was built with debugging symbols or provide a mechanism > to opt out said function call with an easy switch/compiler flag. > Well, there is your problem.

Re: [sqlite] undefined reference to sqlite3_mutex_held

2009-12-10 Thread Daniel Mierswa
On 10.12.2009 07:44, Roger Binns wrote: > sqlite3.h is not generated from a .in template. Are you volunteering to do > that and become the maintainer of it? Nah I was merely wondering how/if it could be achieved at all. > Secondly your solution would only work for autotools which not everyone use

Re: [sqlite] undefined reference to sqlite3_mutex_held

2009-12-09 Thread Roger Binns
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Daniel Mierswa wrote: > Couldn't it be done with something like a sqlite3.h.in which gets > preprocessed by autotools (relevant switches would be for example > --enable-debug or something) and set constants which can then be used to > opt in/out certai

Re: [sqlite] undefined reference to sqlite3_mutex_held

2009-12-09 Thread Daniel Mierswa
On 10.12.2009 06:32, Roger Binns wrote: > The header file has no idea what options you used when compiling the > library. This applies to much other functionality you can include/omit. > > Roger Couldn't it be done with something like a sqlite3.h.in which gets preprocessed by autotools (relevant

Re: [sqlite] undefined reference to sqlite3_mutex_held

2009-12-09 Thread Roger Binns
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Daniel Mierswa wrote: > Though I wonder why the header does not hide the prototype when it gets > installed into the system. The header file has no idea what options you used when compiling the library. This applies to much other functionality you ca

Re: [sqlite] undefined reference to sqlite3_mutex_held

2009-12-09 Thread Daniel Mierswa
On 10.12.2009 05:42, Dan Kennedy wrote: > sqlite3_mutex_held() is only defined if SQLite is built with > SQLITE_DEBUG defined. Looks like this was not the case when > the library linked to by -lsqlite3 above was compiled. I wrote exactly that in my initial mail to the list. Though I wonder why the

Re: [sqlite] undefined reference to sqlite3_mutex_held

2009-12-09 Thread Dan Kennedy
On Dec 10, 2009, at 11:19 AM, Daniel Mierswa wrote: > On 10.12.2009 01:22, Shawn Wilsher wrote: >> See https://bugzilla.mozilla.org/show_bug.cgi?id=533171 (this isn't >> really a >> SQLite issue). > I'm not sure what you mean. I can reproduce it without any Thunderbird > code involved at all. >

Re: [sqlite] undefined reference to sqlite3_mutex_held

2009-12-09 Thread Daniel Mierswa
On 10.12.2009 01:22, Shawn Wilsher wrote: > See https://bugzilla.mozilla.org/show_bug.cgi?id=533171 (this isn't really a > SQLite issue). I'm not sure what you mean. I can reproduce it without any Thunderbird code involved at all. impu...@istari ~ $ echo -e "#include \n int main() { sqlite3_mutex

Re: [sqlite] undefined reference to sqlite3_mutex_held

2009-12-09 Thread Shawn Wilsher
See https://bugzilla.mozilla.org/show_bug.cgi?id=533171 (this isn't really a SQLite issue). Cheers, Shawn On Wed, Dec 9, 2009 at 3:32 PM, Daniel Mierswa wrote: > Hi list, > when I try to build the current thunderbird 3.0 release against > sqlite-3.6.21 i get an undefined reference to sqlite3_m

[sqlite] undefined reference to sqlite3_mutex_held

2009-12-09 Thread Daniel Mierswa
Hi list, when I try to build the current thunderbird 3.0 release against sqlite-3.6.21 i get an undefined reference to sqlite3_mutex_held, with 3.6.19 that didn't occur. When i compile sqlite3 with -DSQLITE_DEBUG the symbol is exported, now I wonder if this symbol is not supposed to be exported in

Re: [sqlite] sqlite undefined reference on making subversion 1.6

2009-05-04 Thread D. Richard Hipp
On May 4, 2009, at 9:22 AM, Adam Bruss wrote: > Hello all, > > > > I'm trying to upgrade SVN from 1.5 to 1.6. 1.6 requires a certain > sqlite > version so I installed the latest sqlite3. When I do a make on the > subversion 1.6 source it errors out with these messages. > > > > /root/Desktop/sub

[sqlite] sqlite undefined reference on making subversion 1.6

2009-05-04 Thread Adam Bruss
Hello all, I'm trying to upgrade SVN from 1.5 to 1.6. 1.6 requires a certain sqlite version so I installed the latest sqlite3. When I do a make on the subversion 1.6 source it errors out with these messages. /root/Desktop/subversion-1.6.1/subversion/libsvn_subr/.libs/libsvn_subr- 1.so: unde

Re: [sqlite] Undefined reference Compile Error

2007-09-18 Thread John Stanton
Gary G Allen wrote: Hello Everyone in SQLite land. I am totally new to the sites and sounds here. I have a issue. I hope you can help me with. I downloaded source code from: http://www.sqlite.org/download.html sqlite-3_4_2.zip (179.14 KB) Ran the makefile and everything worked fine. I ha

[sqlite] Undefined reference Compile Error

2007-09-18 Thread Gary G Allen
Hello Everyone in SQLite land. I am totally new to the sites and sounds here. I have a issue. I hope you can help me with. I downloaded source code from: http://www.sqlite.org/download.html sqlite-3_4_2.zip (179.14 KB) Ran the makefile and everything worked fine. I have been trying to run t

Re: [sqlite] undefined reference to `sqlite3_open'

2007-07-21 Thread MaaSTaaR
Thanks all, it's work fine now :) On 7/19/07, John Stanton <[EMAIL PROTECTED]> wrote: You don't seem to have the sqlite3 link library in your compile and link command. MaaSTaaR wrote: > Hello ... > > firstly, sorry for my bad English. > > i am using SQLite with C under Linux, i wrote small fi

Re: [sqlite] undefined reference to `sqlite3_open'

2007-07-19 Thread John Stanton
You don't seem to have the sqlite3 link library in your compile and link command. MaaSTaaR wrote: Hello ... firstly, sorry for my bad English. i am using SQLite with C under Linux, i wrote small file which use Glade, GTK and SQLite, but i have problem with SQLite. this is the command which i

Re: [sqlite] undefined reference to `sqlite3_open'

2007-07-19 Thread drh
MaaSTaaR <[EMAIL PROTECTED]> wrote: > Hello ... > > firstly, sorry for my bad English. > > i am using SQLite with C under Linux, i wrote small file which use Glade, > GTK and SQLite, but i have problem with SQLite. > > this is the command which i used to compile the file : "gcc `pkg-config > --l

Re: [sqlite] undefined reference to `sqlite3_open'

2007-07-19 Thread Dan Kennedy
On Thu, 2007-07-19 at 12:52 +0300, MaaSTaaR wrote: > Hello ... > > firstly, sorry for my bad English. > > i am using SQLite with C under Linux, i wrote small file which use Glade, > GTK and SQLite, but i have problem with SQLite. > > this is the command which i used to compile the file : "gcc `p

[sqlite] undefined reference to `sqlite3_open'

2007-07-19 Thread MaaSTaaR
Hello ... firstly, sorry for my bad English. i am using SQLite with C under Linux, i wrote small file which use Glade, GTK and SQLite, but i have problem with SQLite. this is the command which i used to compile the file : "gcc `pkg-config --libs --cflags gtk+-2.0 libglade-2.0 sqlite` -o main ma

Re: [sqlite] Undefined reference to dlsym

2007-07-03 Thread RaghavendraK 70574
:49 pm Subject: [sqlite] Undefined reference to dlsym > Hi, > > I have tried building sqlite. SQLite is failing to build. Please > help me in > this regard. > > 1) I checked out the code to directory called sqlite > 2) I modified the Makefile.in <http://makefile.in/&g

[sqlite] Undefined reference to dlsym

2007-07-03 Thread Kunal Jain
Hi, I have tried building sqlite. SQLite is failing to build. Please help me in this regard. 1) I checked out the code to directory called sqlite 2) I modified the Makefile.in to allow loading extensions. We have to comment the following line #TCC += -DSQLITE_OMIT_LOAD_EXTE

[sqlite] undefined reference to 'sqlite3_extension_init' (compile error)

2007-01-03 Thread Klemens Friedl
I am using http://sqlite.org/sqlite-source-3_3_8.zip and mingw gcc and gnu make. v. 3.3.5 worked fine, but with 3.3.8 (3.3.6 introduced the extention thingy) i have problems to compile it, error output: [LD] output-i386\dll\3rdparty\sqlite3\sqlite3.dll sqlite3.temp.exp:fake:(.edata+0x114):