LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 09-27-2007, 10:30 PM   #1
mago
Member
 
Registered: Apr 2004
Location: Costa Rica
Distribution: slack current with 2.6.16.18 (still off the hook)
Posts: 284

Rep: Reputation: 33
Mondo complilation problem on Slack 12


Hi,
I'm trying to get Mondo rescue on my new slack install.
Mindi works great, but Mondo is giving me problems.

I need gnewt installed to get Mondo going but I keep getting a compilation error:
First I get a note after running config:
Code:
Note (probably harmless): No library found for -lnewt
Writing Makefile for whiperl
And if I ignore it and go ahead with make I get this:
Code:
/bin/sh ../../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../.. -I../../include/newt -I../../include/gnewt    -g -O2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -D_REENTRANT -c listbox.c
rm -f .libs/listbox.lo
gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../.. -I../../include/newt -I../../include/gnewt -g -O2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -D_REENTRANT -Wp,-MD,.deps/listbox.pp -c  -fPIC -DPIC listbox.c -o .libs/listbox.lo
listbox.c: In function 'listboxEvent':
listbox.c:916: error: label at end of compound statement
make[3]: ***[listbox.lo] Error 1
make[3]: Leaving directory `/root/mondo/gnewt-0.06/src/gtk'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/root/mondo/gnewt-0.06/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/root/mondo/gnewt-0.06'
make: *** [all-recursive-am] Error 2
I google for a couple of days and got nowhere.
Any ideas or suggestions are more than welcome.

I do have gtk+-1.2 and gtk+2 installed.
 
Old 09-27-2007, 10:50 PM   #2
weibullguy
ReliaFree Maintainer
 
Registered: Aug 2004
Location: Kalamazoo, Michigan
Distribution: Slackware 14.2
Posts: 2,815
Blog Entries: 1

Rep: Reputation: 261Reputation: 261Reputation: 261
The problem is in file /root/mondo/gnewt-0.06/src/gtk/listbox.c at line 916 just like it says. This is what is there
Code:
default:
    /* keeps gcc quiet */
    }
    break;
It should be
Code:
default:
    /* keeps gcc quiet */
    break;
    }
Edit the file, move the curly brace } after break; and see if that works. Just execute make after you edit and save, there's no need to reconfigure.
 
Old 10-01-2007, 03:33 PM   #3
mago
Member
 
Registered: Apr 2004
Location: Costa Rica
Distribution: slack current with 2.6.16.18 (still off the hook)
Posts: 284

Original Poster
Rep: Reputation: 33
Thanks.
I did try it but then I keep getting nagged about a whole bunch of other errors of the same kind but on different levels. I went down to 4 and they kept coming so I decided to not go any further, since I'm not a coder.
 
  


Reply



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
reiserfs problem kernel complilation tethysgods Linux - Software 1 11-29-2006 10:03 PM
Curnel complilation bogoda Linux - Software 1 02-23-2006 01:38 AM
ABC bittorrent complilation help... cajunfox Mandriva 3 07-21-2004 06:53 AM
BlueZ complilation and installation sikigal Linux - Newbie 1 10-22-2003 08:44 AM
Mindi/Mondo problem lhoff Linux - Software 3 04-21-2002 06:42 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 05:57 PM.

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