[Gambas-user] help with gambas in sqlite releted compile error

nigel at ...38... nigel at ...38...
Tue Nov 1 17:54:12 CET 2005


Adi,

I have managed to compile sqlite3 for version 1.0.11, but did not get the message below (I have compiler 3.4.1).
I did however need to replace the following two files in the sqlite3 directory: main.h and main.cpp.

They are in the attachment.

Check the compiler options below with those that are being used successfully elsewhere within the gambas compile.

Regards Nigel 

> Message Received: Oct 31 2005, 01:19 PM
> From: "Adi Spivak" <pchelper at ...1190...>
> To: gambas-user at lists.sourceforge.net
> Cc: 
> Subject: Re: [Gambas-user] help with gambas in sqlite releted compile error
> 
> tried that and got this error:
> 
> Making all in sqlite
> make[5]: Entering directory `/usr/src/gambas-1.0.11/src/lib/db/sqlite3'
> /bin/sh ../../../../libtool --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -
> I../../../.. -I../../../../src/share @SQLITE3_INC@    -g -O2 -pipe -Wall -fno-
> exceptions -g -Os -fno-omit-frame-pointer -c main.cpp
>  g++ -DHAVE_CONFIG_H -I. -I. -I../../../.. -I../../../../src/share 
> @SQLITE3_INC@ -g -O2 -pipe -Wall -fno-exceptions -g -Os -fno-omit-frame-
> pointer -Wp,-MD,.deps/main.pp -c main.cpp  -fPIC -DPIC -o .libs/main.o
> g++: cannot specify -o with -c or -S and multiple compilations
> make[5]: *** [main.lo] Error 1
> make[5]: Leaving directory `/usr/src/gambas-1.0.11/src/lib/db/sqlite3'
> 
> i use g++ (gcc) version 3.3.6
> 
> Thanks
> Adi Spivak
> 
> On Mon, 31 Oct 2005 10:32:17 +0100 (CET), nigel wrote
> > Ok. I see that you are using gambas 1.0.11 (Which doesn't come with 
> > the sqlite3 driver..this is available with the development version). 
> > Sqlite 3 uses different headers and some different calls tp sqlite 
> > (2.?).
> > 
> > Try taking the driver down from http://www.gambasforge.net/code.php?id=29.
> > 
> > Regards
> > 
> > nigel
> > 
> > > Message Received: Oct 28 2005, 08:43 PM
> > > From: "Adi Spivak" <pchelper at ...1190...>
> > > To: gambas-user at lists.sourceforge.net
> > > Cc: 
> > > Subject: Re: [Gambas-user] help with gambas in sqlite releted compile 
> error
> > > 
> > > nigel at ...38... wrote:
> > > 
> > > >And if your version is sqlite 3 then it should be the sqlite3 driver 
> that is used.
> > > >
> > > >Nigel
> > > >
> > > >  
> > > >
> > > >
> > > please explain your remark. i did not understand. how do i use the 
> > > sqlite3 driver?
> > > Thanks
> > > Adi Spivak
> > > >
> > > [ smime.p7s (3.7 Kb) ]
> > 
> > -------------------------------------------------------
> > This SF.Net email is sponsored by the JBoss Inc.
> > Get Certified Today * Register for a JBoss Training Course
> > Free Certification Exam for All Training Attendees Through End of 
> > 2005 Visit http://www.jboss.com/services/certification for more information
> > _______________________________________________
> > Gambas-user mailing list
> > Gambas-user at lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/gambas-user
> 
> 
> --
> Oplag Internet Solutions. ( http://www.oplag.net )
> 
> 
> 
> -------------------------------------------------------
> This SF.Net email is sponsored by the JBoss Inc.
> Get Certified Today * Register for a JBoss Training Course
> Free Certification Exam for All Training Attendees Through End of 2005
> Visit http://www.jboss.com/services/certification for more information
> _______________________________________________
> Gambas-user mailing list
> Gambas-user at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user
> 
> 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: /home/ngerrard/gambas-1.0.11/src/lib/db/sqlite3/mainfor1.0.11.gz
Type: application/x-gzip
Size: 13981 bytes
Desc: not available
URL: <http://lists.gambas-basic.org/pipermail/user/attachments/20051101/916a52e2/attachment.bin>


More information about the User mailing list