[sqlite] SQLIte compilation error on AIX 6.1 - Undefined symbol: .__gcc_qsub

2011-10-18 Thread Grice, Lynton (L)
Hi all, I am running AIX 6.1, and GCC 4.2 and when I try compile SQLite (I think version 3.7.5) using the following commands: gcc -maix64 -D_FILE_OFFSET_BITS=64 -c -fPIC -DHAVE_USLEEP ./sqlite/sqlite3.c -o ./sqlite/sqlite3.o gcc -maix64 -shared -L/usr/lib/threads -o ./sqlite/libsqlite3.so

Re: [sqlite] SQLite on AIX

2011-09-14 Thread Grice, Lynton (L)
of SQLite on AIX regularly, using IBM's C compiler. GNU will probably work just as well. Feel free to email me directly if you have questions. I can't be much help with GNU, but perhaps I can be with problems during the SQLite build. Good luck. -- Ross On Sep 14, 2011, at 1:14 AM, Grice, Lynton (L

[sqlite] SQLite on AIX

2011-09-14 Thread Grice, Lynton (L)
Hi there, I will need to get SQLite working soon on AIX. I have read the compile notes from 2003 at http://www.sqlite.org/cvstrac/wiki?p=HowToCompile but was just wondering if anyone has it running happily on AIX with the newer versions of SQLIte? Any hints or suggestions from people who have

Re: [sqlite] Implementing persistent queues in sqlite

2011-09-09 Thread Grice, Lynton (L)
Hi Allan, I have done this exact thing recently, I needed a "high speed" persistent queue in my one application running on SPARC. My application may have had some different requirements but essentially message stream from one system to the "SQLite queue" and get sent to another system(both

Re: [sqlite] Totalview Debugger & MemoryScape showing leak in my SQLite code?

2011-09-06 Thread Grice, Lynton (L)
Hi Pavel, Many thanks for your comments.I will try put together some better code and if I have any issues I will ask again... Thanks again Lynton -Original Message- From: sqlite-users-boun...@sqlite.org [mailto:sqlite-users-boun...@sqlite.org] On Behalf Of Pavel Ivanov Sent:

Re: [sqlite] MemoryScape saying I have LEAKS in my SQLite code?

2011-09-06 Thread Grice, Lynton (L)
lite.org] On Behalf Of Stephan Beal Sent: Tuesday, September 06, 2011 2:38 PM To: General Discussion of SQLite Database Subject: Re: [sqlite] MemoryScape saying I have LEAKS in my SQLite code? On Tue, Sep 6, 2011 at 2:28 PM, Grice, Lynton (L) <lynton.gr...@sasol.com>wrote: > May I ask what you su

Re: [sqlite] MemoryScape saying I have LEAKS in my SQLite code?

2011-09-06 Thread Grice, Lynton (L)
On Tue, Sep 6, 2011 at 10:49 AM, Grice, Lynton (L) <lynton.gr...@sasol.com>wrote: > int queue_peekByTID(const char *tid, message *msg){ What is wrong with > my code above? Must I FREE the char*? Why would something say it was a > "leak"? > This technically

[sqlite] MemoryScape saying I have LEAKS in my SQLite code?

2011-09-06 Thread Grice, Lynton (L)
Hi there, I am a huge fan of SQLite and have recently done some code that I am debugging with TotalView and MemoryScape (http://www.roguewave.com) - VERY VERY nice debugger, I have used GDB as well alot but Totalview is simply awesome NOTE: C coding is NOT my day job ;-) So please bear