Compiling Midori latest git

Andreas Ronnquist andreas.ronnquist at meritkonsult.se
Tue May 12 08:50:39 CEST 2009


On Tue, 12 May 2009 01:42:30 +0200
Christian Dywan <christian at twotoasts.de> wrote:

> Am Mon, 11 May 2009 19:35:39 +0200
> schrieb Andreas Ronnquist <andreas.ronnquist at meritkonsult.se>:
> 
> > Hi!
> > 
> > First - is this the preffered support mailing list for Midori?
> > 
> > [...]
> > 
> > But when building I get these warnings:
> > ../midori/midori-app.c:466: warning: ‘midori_app_create_instance’
> > defined but not used
> > 
> > ../midori/midori-browser.c: In function
> > ‘midori_browser_update_thumbnail’: ../midori/midori-browser.c:445:
> > warning: implicit declaration of function
> > ‘gtk_widget_get_snapshot’ ../midori/midori-browser.c:445: warning:
> > assignment makes pointer from integer without a cast
> > 
> > ../midori/sokoke.c: In function ‘sokoke_show_uri’:
> > ../midori/sokoke.c:123: warning: implicit declaration of function
> > ‘gtk_show_uri’
> > 
> > and last when linking:
> > 
> > default/midori/libmidori.a(midori-browser_1.o): In function
> > `midori_browser_update_thumbnail': /home/gusnan/kod/midori/midori/_build_/../midori/midori-browser.c:445:
> > undefined reference to `gtk_widget_get_snapshot' collect2: ld
> > returned 1 exit status Build failed
> >  -> task failed (err #1): 
> > 
> > Looks like the GTK is too old anyway. Lenny does contain Gtk 2.12.12,
> > this isn't new enough?
> 
> Hey Andreas,
> 
> the problem you are having is a mistake with the versioning guard in
> the code, that function is infact available since Gtk+ 2.14.
> 
> Thanks a lot for reporting the problem.
> 
> I committed a fix, current git should build with Gtk 2.12 again now.
> 

Ah, yeah, now I get it to build again, many thanks! Keep up the good work!

-- 
Andreas Ronnquist <andreas.ronnquist at meritkonsult.se>



More information about the Xfce mailing list