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 08-29-2005, 04:18 AM   #1
Spooled
LQ Newbie
 
Registered: Aug 2005
Location: Memphis, TN
Distribution: Mandriva 2006
Posts: 19

Rep: Reputation: 0
Error compiling libgnome-2.0.6 in Mandrake 10.2


Hello all,
Sorry if this question has been asnwered elsewhere, but I just can't seem to find any answers. I've been trying to compile libgnome-2.0.6 under Mandrake 10.2 LE 2005. I'm using Gnome 2.8.3 and gcc version 3.4.3. The configure script executes fine, but when I run make, I get this error:

---------
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -pthread -DORBIT2=1 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include/gnome-vfs-2.0 -I/usr/local/lib/gnome-vfs-2.0/include -I/usr/local/include/bonobo-activation-2.0 -I/usr/local/include/libbonobo-2.0 -I/usr/local/include/gconf/2 -I/usr/local/include/orbit-2.0 -I/usr/include/libxml2 -DG_LOG_DOMAIN=\"libgnome\" -DVERSION=\"2.0.6\" -g -O2 -c bonobo-config-bag.c -fPIC -DPIC -o .libs/bonobo-config-bag.lo
bonobo-config-bag.c: In function `impl_Bonobo_PropertyBag_getType':
bonobo-config-bag.c:129: error: label at end of compound statement
make[2]: *** [bonobo-config-bag.lo] Error 1
make[2]: Leaving directory `/home/jeff/Desktop/libgnome-2.0.6/monikers'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/jeff/Desktop/libgnome-2.0.6'
make: *** [all-recursive-am] Error 2
-----------

Since it seems that there is a problem with libbonobo, I went and installed the latest version. It installed without any problem. So I have no idea what to do now. Any help would be appreciated.

Thanks.
 
Old 08-29-2005, 09:35 PM   #2
mlangdn
Senior Member
 
Registered: Mar 2005
Location: Kentucky
Distribution: Slackware64-current
Posts: 1,576

Rep: Reputation: 277Reputation: 277Reputation: 277
bonobo-config-bag.c

Open this with a text editor like Kate. Go to line 129, because that is where the error is. "Label at end of compound statement". Not sure what that means, or how to fix it. Just take a look, try something, but remember your changes.
 
Old 08-30-2005, 12:37 AM   #3
foo_bar_foo
Senior Member
 
Registered: Jun 2004
Posts: 2,553

Rep: Reputation: 53
yea i think mlangdn is on to something
try putting all that junk there on one line
Code:
static Bonobo_PropertySet * impl_Bonobo_PropertyBag_getValues (PortableServer_Servant servant, const CORBA_char       *filter, CORBA_Environment      *ev)
 
Old 08-30-2005, 03:23 AM   #4
Spooled
LQ Newbie
 
Registered: Aug 2005
Location: Memphis, TN
Distribution: Mandriva 2006
Posts: 19

Original Poster
Rep: Reputation: 0
Thanks for the help guys. I finally got it to compile.
It was necessary to slightly modify the source file. The section in question was a switch statement. All I did was remove the default case from the switch statment. It did nothing but fall through, so nothing was really changed.

Thanks.
 
  


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
Error compiling PearPC under Mandrake 10.1 and FC3 mickyg Linux - Software 4 03-07-2005 06:27 PM
psybnc compiling error+mandrake maxt Linux - Software 2 02-21-2005 04:22 AM
Error compiling the original kernel in Mandrake 9 xbaez Mandriva 0 06-20-2004 06:46 PM
Error message while compiling kernel 2.4.19 on mandrake 9.2 ibro Mandriva 0 11-23-2003 03:17 PM
error while compiling modules under mandrake 9.1 kctang Linux - Hardware 1 06-20-2003 11:43 PM

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

All times are GMT -5. The time now is 09:28 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration