can't compile related to G_VALUE_INIT

83 views
Skip to first unread message

Fernando Toledo

unread,
Nov 23, 2011, 9:44:23 AM11/23/11
to ip...@googlegroups.com
on ubuntu 11.04:

ftoledo@ftoledo-desktop:~/src/iptux$ ./configure
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for g++... g++
checking whether the C++ compiler works... yes
checking for C++ compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking for style of include used by make... GNU
checking dependency style of g++... gcc3
checking for gcc... gcc
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking dependency style of gcc... gcc3
checking how to run the C preprocessor... gcc -E
checking whether ln -s works... yes
checking whether make sets $(MAKE)... (cached) yes
checking for ranlib... ranlib
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking arpa/inet.h usability... yes
checking arpa/inet.h presence... yes
checking for arpa/inet.h... yes
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking for inttypes.h... (cached) yes
checking libintl.h usability... yes
checking libintl.h presence... yes
checking for libintl.h... yes
checking locale.h usability... yes
checking locale.h presence... yes
checking for locale.h... yes
checking netinet/in.h usability... yes
checking netinet/in.h presence... yes
checking for netinet/in.h... yes
checking for stdint.h... (cached) yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking for strings.h... (cached) yes
checking sys/ioctl.h usability... yes
checking sys/ioctl.h presence... yes
checking for sys/ioctl.h... yes
checking sys/socket.h usability... yes
checking sys/socket.h presence... yes
checking for sys/socket.h... yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking sys/vfs.h usability... yes
checking sys/vfs.h presence... yes
checking for sys/vfs.h... yes
checking for unistd.h... (cached) yes
checking for stdbool.h that conforms to C99... yes
checking for _Bool... yes
checking for inline... inline
checking for int64_t... yes
checking for mode_t... yes
checking for size_t... yes
checking for ssize_t... yes
checking for uint16_t... yes
checking for uint32_t... yes
checking for uint8_t... yes
checking for pid_t... yes
checking vfork.h usability... no
checking vfork.h presence... no
checking for vfork.h... no
checking for fork... yes
checking for vfork... yes
checking for working fork... yes
checking for working vfork... (cached) yes
checking for bzero... yes
checking for endpwent... yes
checking for getcwd... yes
checking for gettimeofday... yes
checking for inet_ntoa... yes
checking for memchr... yes
checking for memmove... yes
checking for mkdir... yes
checking for rmdir... yes
checking for setlocale... yes
checking for socket... yes
checking for strcasecmp... yes
checking for strchr... yes
checking for strerror... yes
checking for strncasecmp... yes
checking for strpbrk... yes
checking for strrchr... yes
checking for strspn... yes
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for GLIB... yes
checking for GTHREAD... yes
checking for GTK... yes
checking for GCONF... yes
checking for GST... yes
checking for locale.h... (cached) yes
checking for LC_MESSAGES... yes
checking for libintl.h... (cached) yes
checking for ngettext in libc... yes
checking for dgettext in libc... yes
checking for bind_textdomain_codeset... yes
checking for msgfmt... /usr/bin/msgfmt
checking for dcgettext... yes
checking if msgfmt accepts -c... yes
checking for gmsgfmt... /usr/bin/msgfmt
checking for xgettext... /usr/bin/xgettext
checking for catalogs to be installed... de en_GB es pl zh_CN zh_TW
configure: creating ./config.status
config.status: creating Makefile
config.status: creating desktop/Makefile
config.status: creating pixmaps/Makefile
config.status: creating po/Makefile.in
config.status: creating sound/Makefile
config.status: creating src/Makefile
config.status: creating src/uninstall/Makefile
config.status: creating config.h
config.status: executing depfiles commands
config.status: executing default-1 commands
ftoledo@ftoledo-desktop:~/src/iptux$ make
make all-recursive
make[1]: se ingresa al directorio «/home/ftoledo/src/iptux»
Making all in src
make[2]: se ingresa al directorio «/home/ftoledo/src/iptux/src»
Making all in uninstall
make[3]: se ingresa al directorio «/home/ftoledo/src/iptux/src/uninstall»
make[4]: se ingresa al directorio «/home/ftoledo/src/iptux»
make[4]: se sale del directorio «/home/ftoledo/src/iptux»
g++ -DHAVE_CONFIG_H -I. -I../.. -Wall -g -O2 -MT ihateiptux.o -MD
-MP -MF .deps/ihateiptux.Tpo -c -o ihateiptux.o ihateiptux.cpp
mv -f .deps/ihateiptux.Tpo .deps/ihateiptux.Po
g++ -DHAVE_CONFIG_H -I. -I../.. -Wall -g -O2 -MT utils.o -MD -MP
-MF .deps/utils.Tpo -c -o utils.o utils.cpp
mv -f .deps/utils.Tpo .deps/utils.Po
g++ -Wall -g -O2 -o ihateiptux ihateiptux.o utils.o
make[3]: se sale del directorio «/home/ftoledo/src/iptux/src/uninstall»
make[3]: se ingresa al directorio «/home/ftoledo/src/iptux/src»
g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/include/glib-2.0
-I/usr/lib/x86_64-linux-gnu/glib-2.0/include -pthread
-I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include
-pthread -I/usr/include/atk-1.0 -I/usr/include/pango-1.0
-I/usr/include/gio-unix-2.0/ -I/usr/include/glib-2.0
-I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/freetype2
-I/usr/include/libpng12 -I/usr/include/gtk-2.0
-I/usr/lib/gtk-2.0/include -I/usr/include/cairo
-I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pixman-1 -pthread
-DORBIT2=1 -I/usr/include/glib-2.0
-I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/gconf/2
-I/usr/include/orbit-2.0 -pthread -I/usr/include/glib-2.0
-I/usr/lib/x86_64-linux-gnu/glib-2.0/include
-I/usr/include/gstreamer-0.10 -I/usr/include/libxml2 -Wall -g -O2
-MT AnalogFS.o -MD -MP -MF .deps/AnalogFS.Tpo -c -o AnalogFS.o
AnalogFS.cpp
mv -f .deps/AnalogFS.Tpo .deps/AnalogFS.Po
g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/include/glib-2.0
-I/usr/lib/x86_64-linux-gnu/glib-2.0/include -pthread
-I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include
-pthread -I/usr/include/atk-1.0 -I/usr/include/pango-1.0
-I/usr/include/gio-unix-2.0/ -I/usr/include/glib-2.0
-I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/freetype2
-I/usr/include/libpng12 -I/usr/include/gtk-2.0
-I/usr/lib/gtk-2.0/include -I/usr/include/cairo
-I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pixman-1 -pthread
-DORBIT2=1 -I/usr/include/glib-2.0
-I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/gconf/2
-I/usr/include/orbit-2.0 -pthread -I/usr/include/glib-2.0
-I/usr/lib/x86_64-linux-gnu/glib-2.0/include
-I/usr/include/gstreamer-0.10 -I/usr/include/libxml2 -Wall -g -O2
-MT Command.o -MD -MP -MF .deps/Command.Tpo -c -o Command.o
Command.cpp
mv -f .deps/Command.Tpo .deps/Command.Po
g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/include/glib-2.0
-I/usr/lib/x86_64-linux-gnu/glib-2.0/include -pthread
-I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include
-pthread -I/usr/include/atk-1.0 -I/usr/include/pango-1.0
-I/usr/include/gio-unix-2.0/ -I/usr/include/glib-2.0
-I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/freetype2
-I/usr/include/libpng12 -I/usr/include/gtk-2.0
-I/usr/lib/gtk-2.0/include -I/usr/include/cairo
-I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pixman-1 -pthread
-DORBIT2=1 -I/usr/include/glib-2.0
-I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/gconf/2
-I/usr/include/orbit-2.0 -pthread -I/usr/include/glib-2.0
-I/usr/lib/x86_64-linux-gnu/glib-2.0/include
-I/usr/include/gstreamer-0.10 -I/usr/include/libxml2 -Wall -g -O2
-MT CoreThread.o -MD -MP -MF .deps/CoreThread.Tpo -c -o CoreThread.o
CoreThread.cpp
mv -f .deps/CoreThread.Tpo .deps/CoreThread.Po
g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/include/glib-2.0
-I/usr/lib/x86_64-linux-gnu/glib-2.0/include -pthread
-I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include
-pthread -I/usr/include/atk-1.0 -I/usr/include/pango-1.0
-I/usr/include/gio-unix-2.0/ -I/usr/include/glib-2.0
-I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/freetype2
-I/usr/include/libpng12 -I/usr/include/gtk-2.0
-I/usr/lib/gtk-2.0/include -I/usr/include/cairo
-I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pixman-1 -pthread
-DORBIT2=1 -I/usr/include/glib-2.0
-I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/gconf/2
-I/usr/include/orbit-2.0 -pthread -I/usr/include/glib-2.0
-I/usr/lib/x86_64-linux-gnu/glib-2.0/include
-I/usr/include/gstreamer-0.10 -I/usr/include/libxml2 -Wall -g -O2
-MT DataSettings.o -MD -MP -MF .deps/DataSettings.Tpo -c -o
DataSettings.o DataSettings.cpp
mv -f .deps/DataSettings.Tpo .deps/DataSettings.Po
g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/include/glib-2.0
-I/usr/lib/x86_64-linux-gnu/glib-2.0/include -pthread
-I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include
-pthread -I/usr/include/atk-1.0 -I/usr/include/pango-1.0
-I/usr/include/gio-unix-2.0/ -I/usr/include/glib-2.0
-I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/freetype2
-I/usr/include/libpng12 -I/usr/include/gtk-2.0
-I/usr/lib/gtk-2.0/include -I/usr/include/cairo
-I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pixman-1 -pthread
-DORBIT2=1 -I/usr/include/glib-2.0
-I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/gconf/2
-I/usr/include/orbit-2.0 -pthread -I/usr/include/glib-2.0
-I/usr/lib/x86_64-linux-gnu/glib-2.0/include
-I/usr/include/gstreamer-0.10 -I/usr/include/libxml2 -Wall -g -O2
-MT DetectPal.o -MD -MP -MF .deps/DetectPal.Tpo -c -o DetectPal.o
DetectPal.cpp
mv -f .deps/DetectPal.Tpo .deps/DetectPal.Po
g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/include/glib-2.0
-I/usr/lib/x86_64-linux-gnu/glib-2.0/include -pthread
-I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include
-pthread -I/usr/include/atk-1.0 -I/usr/include/pango-1.0
-I/usr/include/gio-unix-2.0/ -I/usr/include/glib-2.0
-I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/freetype2
-I/usr/include/libpng12 -I/usr/include/gtk-2.0
-I/usr/lib/gtk-2.0/include -I/usr/include/cairo
-I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pixman-1 -pthread
-DORBIT2=1 -I/usr/include/glib-2.0
-I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/gconf/2
-I/usr/include/orbit-2.0 -pthread -I/usr/include/glib-2.0
-I/usr/lib/x86_64-linux-gnu/glib-2.0/include
-I/usr/include/gstreamer-0.10 -I/usr/include/libxml2 -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:16: error: ‘G_VALUE_INIT’ was not declared in this scope
make[3]: *** [DialogBase.o] Error 1
make[3]: se sale del directorio «/home/ftoledo/src/iptux/src»
make[2]: *** [all-recursive] Error 1
make[2]: se sale del directorio «/home/ftoledo/src/iptux/src»
make[1]: *** [all-recursive] Error 1
make[1]: se sale del directorio «/home/ftoledo/src/iptux»
make: *** [all] Error 2

ftoledo@ftoledo-desktop:~/src/iptux$ svn up
En la revisión 167.

--
Dock Sud BBS
telnet://bbs.docksud.com.ar
http://bbs.docksud.com.ar

alick

unread,
Nov 23, 2011, 10:37:42 AM11/23/11
to ip...@googlegroups.com
I experienced the this error on my Fedora 14 (x86_64) machine.

--
alick
Fedora 14 (Laughlin) user
https://fedoraproject.org/wiki/User:Alick

LI Daobing

unread,
Nov 23, 2011, 9:09:45 PM11/23/11
to ip...@googlegroups.com
confirmed.

forwared to http://code.google.com/p/iptux/issues/detail?id=89

2011/11/23 alick <alic...@gmail.com>:

> --
> 您收到此邮件是因为您订阅了 Google 网上论坛的“iptux”论坛。
> 要向此网上论坛发帖,请发送电子邮件至 ip...@googlegroups.com
> 要取消订阅此网上论坛,请发送电子邮件至 iptux+un...@googlegroups.com
> 若有更多问题,请通过 http://groups.google.com/group/iptux?hl=zh-CN 访问此网上论坛。
>
>

--
Best Regards
LI Daobing

zxln

unread,
Nov 23, 2011, 9:11:12 PM11/23/11
to ip...@googlegroups.com

G_VALUE_INIT是glib2.30才引入的,你可以升级glib,或者改成{ 0 }

Reply all
Reply to author
Forward
0 new messages