edrikL / iptux

Automatically exported from code.google.com/p/iptux
1 stars 0 forks source link

can't build with glib2.0 < 2.30 #89

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
G_VALUE_INIT is introduced in 2.30

$ ./configure; make
[snip]

g++ -DHAVE_CONFIG_H -I. -I..  -I/usr/include/glib-2.0 
-I/usr/lib/glib-2.0/include   -pthread -I/usr/include/glib-2.0 
-I/usr/lib/glib-2.0/include   -pthread -D_REENTRANT -I/usr/include/gtk-2.0 
-I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo 
-I/usr/include/pango-1.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/glib-2.0 
-I/usr/lib/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 
-I/usr/include/directfb -I/usr/include/libpng12   -DORBIT2=1 -pthread 
-I/usr/include/gconf/2 -I/usr/include/orbit-2.0 -I/usr/include/dbus-1.0 
-I/usr/lib/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include 
     -Wall -g -O2 -MT DialogBase.o -MD -MP -MF .deps/DialogBase.Tpo -c -o 
DialogBase.o DialogBase.cpp
DialogBase.cpp: In static member function ‘static void 
DialogBase::RemoveSelectedEnclosure(DialogBase*)’:
DialogBase.cpp:717: error: ‘G_VALUE_INIT’ was not declared in this scope
make[3]: *** [DialogBase.o] Error 1
make[3]: Leaving directory `/home/everbox/iptux-read-only/trunk/src'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/everbox/iptux-read-only/trunk/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/everbox/iptux-read-only/trunk'
make: *** [all] Error 2

Original issue reported on code.google.com by lidaob...@gmail.com on 24 Nov 2011 at 2:09

GoogleCodeExporter commented 9 years ago
fixed in r168

Original comment by lidaob...@gmail.com on 24 Nov 2011 at 2:18