LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 11-17-2008, 01:18 PM   #1
versaulis
Member
 
Registered: Sep 2003
Posts: 139

Rep: Reputation: 15
Compile problems involving glib-2.19.0


For whomsoever's Googleing pleasure, please be advised that glib-2.19.0 seems to cause compilation problems with several other packages, the least of which are:

libbonobo-2.24.0
gnome-vfs-2.24.0

Downgrading to glib-2.18.2 appears to solve these problems.

(I had a heck of a time figuring out why libbonobo would not build for me.)


Code:
Making install in bonobo
make[1]: Entering directory `/sources3/libbonobo-2.24.0/bonobo'
make  install-am
make[2]: Entering directory `/sources3/libbonobo-2.24.0/bonobo'
/bin/sh ../libtool --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I.. -I.. -Wall -Wmissing-prototypes  -DORBIT2=1 -pthread -I/usr/include/orbit-2.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include   -DPREFIX=\""/usr"\" -DBONOBO_LIBDIR=\""/usr/lib"\" -DBONOBO_DATADIR=\""/usr/share"\" -DBONOBO_PIXMAPDIR=\""/usr/share/pixmaps"\" -DBONOBO_BINDIR=\""/usr/bin"\" -DBONOBO_LOCALSTATEDIR=\""/usr/var"\" -DBONOBO_LOCALEDIR=\""/usr/share/locale"\" -DBONOBO_EXPLICIT_TRANSLATION_DOMAIN="GETTEXT_PACKAGE" -DG_DISABLE_DEPRECATED -DG_LOG_DOMAIN=\"Bonobo\" -DVERSION=\"2.24.0\"    -g -O2 -MT bonobo-running-context.lo -MD -MP -MF .deps/bonobo-running-context.Tpo -c -o bonobo-running-context.lo bonobo-running-context.c
 gcc -DHAVE_CONFIG_H -I. -I.. -I.. -I.. -Wall -Wmissing-prototypes -DORBIT2=1 -pthread -I/usr/include/orbit-2.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DPREFIX=\"/usr\" -DBONOBO_LIBDIR=\"/usr/lib\" -DBONOBO_DATADIR=\"/usr/share\" -DBONOBO_PIXMAPDIR=\"/usr/share/pixmaps\" -DBONOBO_BINDIR=\"/usr/bin\" -DBONOBO_LOCALSTATEDIR=\"/usr/var\" -DBONOBO_LOCALEDIR=\"/usr/share/locale\" -DBONOBO_EXPLICIT_TRANSLATION_DOMAIN=GETTEXT_PACKAGE -DG_DISABLE_DEPRECATED -DG_LOG_DOMAIN=\"Bonobo\" -DVERSION=\"2.24.0\" -g -O2 -MT bonobo-running-context.lo -MD -MP -MF .deps/bonobo-running-context.Tpo -c bonobo-running-context.c  -fPIC -DPIC -o .libs/bonobo-running-context.o
In file included from /usr/include/glib-2.0/glib/gmain.h:27,
                 from bonobo-running-context.c:12:
/usr/include/glib-2.0/glib/gpoll.h:59: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'typedef'
/usr/include/glib-2.0/glib/gpoll.h:60: error: expected declaration specifiers or '...' before '*' token
/usr/include/glib-2.0/glib/gpoll.h:60: error: expected ')' before '*' token
/usr/include/glib-2.0/glib/gpoll.h:69: error: expected specifier-qualifier-list before 'gint'
/usr/include/glib-2.0/glib/gpoll.h:85: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'g_poll'
In file included from /usr/include/glib-2.0/glib/gmacros.h:40,
                 from /usr/lib/glib-2.0/include/glibconfig.h:9,
                 from /usr/include/glib-2.0/glib/gtypes.h:34,
                 from /usr/include/glib-2.0/glib/gslice.h:31,
                 from /usr/include/glib-2.0/glib/gmem.h:34,
                 from /usr/include/glib-2.0/glib/gslist.h:34,
                 from /usr/include/glib-2.0/glib/gmain.h:28,
                 from bonobo-running-context.c:12:
/usr/lib/gcc/i686-pc-linux-gnu/4.3.2/include/stddef.h:152: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'typedef'
In file included from bonobo-running-context.c:12:
/usr/include/glib-2.0/glib/gmain.h:138: error: expected declaration specifiers or '...' before 'GPollFD'
/usr/include/glib-2.0/glib/gmain.h:142: error: expected declaration specifiers or '...' before 'GPollFD'
/usr/include/glib-2.0/glib/gmain.h:147: error: expected declaration specifiers or '...' before 'GPollFunc'
/usr/include/glib-2.0/glib/gmain.h:148: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'g_main_context_get_poll_func'
/usr/include/glib-2.0/glib/gmain.h:153: error: expected declaration specifiers or '...' before 'GPollFD'
/usr/include/glib-2.0/glib/gmain.h:156: error: expected declaration specifiers or '...' before 'GPollFD'
/usr/include/glib-2.0/glib/gmain.h:209: error: expected declaration specifiers or '...' before 'GPollFD'
/usr/include/glib-2.0/glib/gmain.h:211: error: expected declaration specifiers or '...' before 'GPollFD'
make[2]: *** [bonobo-running-context.lo] Error 1
make[2]: Leaving directory `/sources3/libbonobo-2.24.0/bonobo'
make[1]: *** [install] Error 2
make[1]: Leaving directory `/sources3/libbonobo-2.24.0/bonobo'
make: *** [install-recursive] Error 1
That's about the extent of what I know to do at this point. I hope it helps someone.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Problems with deriving a class involving templates pjz Programming 2 07-17-2006 05:16 AM
Problems involving installation Visual Basic Imp Linux - Newbie 2 04-25-2006 04:14 PM
Glib compile problems after upgrading to 10.0 jrdioko Slackware 2 08-10-2005 09:07 PM
Compile errors involving lstdc++ kmullin Programming 0 05-25-2004 01:21 PM
Question involving kernel compile synapse Slackware 2 04-28-2004 02:53 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 07:43 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration