C is not a subset of C++, although it has been close. Do not compile C with a C++ compiler, or you'll discover one of the bits where if fails.
-- Christopher On 31 January 2013 07:27, David Clark <quincy...@yahoo.com> wrote: > This has been resolved...solution: > 1) use gcc not g++. > 2) grab the lastest source from sqlite.org. There was a version update in > doing that. But now it seems good on both > operating systems. > > Thank you, > > David Clark > > > >>________________________________ >> From: Michael Black <mdblac...@yahoo.com> >>To: 'David Clark' <quincy...@yahoo.com>; 'General Discussion of SQLite >>Database' <sqlite-users@sqlite.org> >>Sent: Wednesday, January 30, 2013 9:30 AM >>Subject: RE: [sqlite] Sqlite ubuntu 12.10 compile/install >> >>Use the amalgamation: >> >>cc -O -c sqlite3.c >> >>Then link it into your program. Most of us recommend avoiding shared >>libraries. >> >>If you need special features you may have to set some flags. >> >> >>-----Original Message----- >>From: sqlite-users-boun...@sqlite.org >>[mailto:sqlite-users-boun...@sqlite.org] On Behalf Of David Clark >>Sent: Wednesday, January 30, 2013 9:06 AM >>To: sqlite-users@sqlite.org >>Subject: [sqlite] Sqlite ubuntu 12.10 compile/install >> >>Ok I have used sqlite in windows software no problems. >>I am now trying to use it in software I am porting to ubuntu 12.10 and I am >>finding that the source code I used under windows has compile issues. And >>when I downloaded the .gz file and ran ./configure on that fileset I got >>errors >>on that. >> >>I know I not being specific on the errors I got. But my question here is... >>basically under ubuntu what should my procedure be for installing and >>compiling sqlite? Yes I am new to ubuntu so the obvious is not so obvious >>on that OS. >> >>Thank you, >> >>David Clark >>_______________________________________________ >>sqlite-users mailing list >>sqlite-users@sqlite.org >>http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users >> >> >> >> > _______________________________________________ > sqlite-users mailing list > sqlite-users@sqlite.org > http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users -- Christopher Vance _______________________________________________ sqlite-users mailing list sqlite-users@sqlite.org http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users