[Bond-users] Compilation error on Ubuntu 10.04

Dru Hill dru at treshna.com
Fri Jan 14 23:43:26 EST 2011


Are you building from the daily build version?
I believe this is an old bug that was fixed a while ago. As I have no line bonddbid.c:272 in 
my version of the code.


On Fri, Jan 14, 2011 at 05:16:49PM +0100, Alessandro Bottoni wrote:
> Hi All,
> I just download Bond and tried to compile it on my Linux Mint 10 Julia
> (a Ubuntu 10.04 Maverick Meerkat derivative). Here is the error I get:
> 
> 
> alex at alex-laptop ~/Scaricati/bond/bonddb $ scons
> scons: Reading SConscript files ...
> 
> scons: warning: The Options class is deprecated; use the Variables class
> instead.
> File "/home/alex/Scaricati/bond/bonddb/SConstruct", line 35, in <module>
> 
> scons: warning: The BoolOption() function is deprecated; use the
> BoolVariable() function instead.
> File "/home/alex/Scaricati/bond/bonddb/SConstruct", line 36, in <module>
> 
> 
> Checking for glib-2.0 >= 2.12.0... pkg-config glib-2.0
> --atleast-version=2.12.0
> (cached) yes
> Using postgresql backend.
> Checking for C library pq... (cached) yes
> building bondcommon
> building bondsql
> Building bonddb...
> scons: done reading SConscript files.
> scons: Building targets ...
> gcc -o bonddb/bonddbid.os -c -DUNIX -g -Wall -Werror -DMEM_TEST -pthread
> -fPIC -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -Ibondcommon
> -Ibondsql bonddb/bonddbid.c
> cc1: warnings being treated as errors
> bonddb/bonddbid.c: In function 'bonddb_id_get':
> bonddb/bonddbid.c:272: error: format not a string literal and no format
> arguments
> scons: *** [bonddb/bonddbid.os] Error 1
> scons: building terminated because of errors.
> alex at alex-laptop ~/Scaricati/bond/bonddb $
> 
> Any suggestion?
> 
> -- 
> 
> Alessandro Bottoni
> Website: http://www.alessandrobottoni.it/
> 
> "Life is a sexually transmitted disease, and it's 100% fatal."
>      -- Unknown

> begin:vcard
> fn:Alessandro Bottoni
> n:Bottoni;Alessandro
> email;internet:alexbottoni at gmail.it
> x-mozilla-html:FALSE
> version:2.1
> end:vcard
> 

> _______________________________________________
> Bond-users mailing list
> Bond-users at lists.hcoop.net
> https://lists.hcoop.net/listinfo/bond-users


-- 
Andrew Hill
treshna Enterprises Ltd
Tel: +64 3 974 9169
Cel: +64 21 660 819
Web: www.treshna.com
IT Consultancy - Websites - Database development - Computer tech support



More information about the Bond-users mailing list