LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Linux > 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

Tags used in this thread
Popular LQ Tags , , , , ,

Reply
 
Thread Tools
Old 08-18-2009, 02:15 PM   #1
d3vi4nt
LQ Newbie
 
Registered: Aug 2009
Distribution: OpenSuSE 11.1
Posts: 5
Thanked: 0
Thumbs up make: *** [all] Error 2 ? Need Help compiling DOSBOX source code!


[Log in to get rid of this advertisement]
Hello,

I've been trying to compile dosbox 0.73 on OpenSuSE 11.1 and after configuring the files with no problem I tried to compile the source code when I got this error message:

Code:
make: *** [all] Error 2
To be more precise :

Code:
d3vi4nt@linux-qb2q:~/sources/dosbox-0.73> make
make  all-recursive
make[1]: Entering directory `/home/d3vi4nt/sources/dosbox-0.73'
Making all in src
make[2]: Entering directory `/home/d3vi4nt/sources/dosbox-0.73/src'
Making all in cpu
make[3]: Entering directory `/home/d3vi4nt/sources/dosbox-0.73/src/cpu'
Making all in core_full
make[4]: Entering directory `/home/d3vi4nt/sources/dosbox-0.73/src/cpu/core_full'
make[4]: Nothing to be done for `all'.
make[4]: Leaving directory `/home/d3vi4nt/sources/dosbox-0.73/src/cpu/core_full'
Making all in core_normal
make[4]: Entering directory `/home/d3vi4nt/sources/dosbox-0.73/src/cpu/core_normal'
make[4]: Nothing to be done for `all'.
make[4]: Leaving directory `/home/d3vi4nt/sources/dosbox-0.73/src/cpu/core_normal'
Making all in core_dyn_x86
make[4]: Entering directory `/home/d3vi4nt/sources/dosbox-0.73/src/cpu/core_dyn_x86'
make[4]: Nothing to be done for `all'.
make[4]: Leaving directory `/home/d3vi4nt/sources/dosbox-0.73/src/cpu/core_dyn_x86'
Making all in core_dynrec
make[4]: Entering directory `/home/d3vi4nt/sources/dosbox-0.73/src/cpu/core_dynrec'
make[4]: Nothing to be done for `all'.
make[4]: Leaving directory `/home/d3vi4nt/sources/dosbox-0.73/src/cpu/core_dynrec'
make[4]: Entering directory `/home/d3vi4nt/sources/dosbox-0.73/src/cpu'
source='callback.cpp' object='callback.o' libtool=no \
	DEPDIR=.deps depmode=none /bin/sh ../../depcomp \
	g++ -DHAVE_CONFIG_H -I. -I../..  -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT   -c -o callback.o callback.cpp
../../depcomp: line 571: exec: g++: not found
make[4]: *** [callback.o] Error 127
make[4]: Leaving directory `/home/d3vi4nt/sources/dosbox-0.73/src/cpu'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/home/d3vi4nt/sources/dosbox-0.73/src/cpu'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/d3vi4nt/sources/dosbox-0.73/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/d3vi4nt/sources/dosbox-0.73'
make: *** [all] Error 2
Can anyone help me out with this?

Thanks in advance!
d3vi4nt is offline  
Tag This Post , , , , ,
Reply With Quote
Old 08-18-2009, 02:49 PM   #2
Nylex
HCL Maintainer
 
Registered: Jul 2003
Distribution: Slackware
Posts: 5,783
Thanked: 40
Quote:
Originally Posted by d3vi4nt View Post
../../depcomp: line 571: exec: g++: not found
There's your problem.. you need to install g++. I'm not sure what OpenSUSE's g++ package is called, but find the packages with "g++" (or perhaps "c++") in the name and post here if you're unsure.
Nylex is offline     Reply With Quote
Old 08-18-2009, 05:48 PM   #3
knudfl
Senior Member
 
Registered: Jan 2008
Location: Copenhagen, Denmark
Distribution: pclos2009.2, slack13, Debian Lenny (+30 others, for test only)
Posts: 2,894
Thanked: 267
su
# zypper in gcc43-c++
will do.

The packages 'gcc41-c++' and 'gcc33-c++' are available too,
you can install them all, if you wish.

.....
knudfl is offline     Reply With Quote
Old 08-19-2009, 08:38 AM   #4
d3vi4nt
LQ Newbie
 
Registered: Aug 2009
Distribution: OpenSuSE 11.1
Posts: 5
Thanked: 0

Original Poster
Thanks a lot Going to try it out
d3vi4nt is offline     Reply With Quote
Old 09-25-2009, 04:03 AM   #5
darklove2201
LQ Newbie
 
Registered: Jul 2009
Posts: 2
Thanked: 0
root@c-71-199-212-234 ~]# mkdir hybrid_wl
[root@c-71-199-212-234 ~]# cd hybrid_wl
[root@c-71-199-212-234 hybrid_wl]# tar xzf /home/dford2201/Download/hybrid-portsrc-x86_32-v5.10.91.9.3.tar.gz
You have mail in /var/spool/mail/root
[root@c-71-199-212-234 hybrid_wl]# ls
lib Makefile src
[root@c-71-199-212-234 hybrid_wl]# make
KBUILD_NOPEDANTIC=1 make -C /lib/modules/`uname -r`/build M=`pwd`
make: *** /lib/modules/2.6.29.4-167.fc11.i586/build: No such file or directory. Stop.
make: *** [all] Error 2
[root@c-71-199-212-234 hybrid_wl]# make clean
KBUILD_NOPEDANTIC=1 make -C /lib/modules/`uname -r`/build M=`pwd` clean
make: *** /lib/modules/2.6.29.4-167.fc11.i586/build: No such file or directory. Stop.
make: *** [clean] Error 2
[root@c-71-199-212-234 hybrid_wl]# make clean
KBUILD_NOPEDANTIC=1 make -C /lib/modules/`uname -r`/build M=`pwd` clean
make: *** /lib/modules/2.6.29.4-167.fc11.i586/build: No such file or directory. Stop.
make: *** [clean] Error 2
[root@c-71-199-212-234 hybrid_wl]# make clean
KBUILD_NOPEDANTIC=1 make -C /lib/modules/`uname -r`/build M=`pwd` clean
make: *** /lib/modules/2.6.29.4-167.fc11.i586/build: No such file or directory. Stop.
make: *** [clean] Error 2
[root@c-71-199-212-234 hybrid_wl]# make clean
KBUILD_NOPEDANTIC=1 make -C /lib/modules/`uname -r`/build M=`pwd` clean
make: *** /lib/modules/2.6.29.4-167.fc11.i586/build: No such file or directory. Stop.
make: *** [clean] Error 2
[root@c-71-199-212-234 hybrid_wl]# make clean
KBUILD_NOPEDANTIC=1 make -C /lib/modules/`uname -r`/build M=`pwd` clean
make: *** /lib/modules/2.6.29.4-167.fc11.i586/build: No such file or directory. Stop.
make: *** [clean] Error 2
[root@c-71-199-212-234 hybrid_wl]# make clean
KBUILD_NOPEDANTIC=1 make -C /lib/modules/`uname -r`/build M=`pwd` clean
make: *** /lib/modules/2.6.29.4-167.fc11.i586/build: No such file or directory. Stop.
make: *** [clean] Error 2
[root@c-71-199-212-234 hybrid_wl]# make clean
KBUILD_NOPEDANTIC=1 make -C /lib/modules/`uname -r`/build M=`pwd` clean
make: *** /lib/modules/2.6.29.4-167.fc11.i586/build: No such file or directory. Stop.
make: *** [clean] Error 2
[root@c-71-199-212-234 hybrid_wl]# make clean
KBUILD_NOPEDANTIC=1 make -C /lib/modules/`uname -r`/build M=`pwd` clean
make: *** /lib/modules/2.6.29.4-167.fc11.i586/build: No such file or directory. Stop.
make: *** [clean] Error 2
[root@c-71-199-212-234 hybrid_wl]# ls
lib Makefile src
[root@c-71-199-212-234 hybrid_wl]# Make
-bash: Make: command not found
[root@c-71-199-212-234 hybrid_wl]# Makefile
-bash: Makefile: command not found
[root@c-71-199-212-234 hybrid_wl]# Make clean
-bash: Make: command not found
[root@c-71-199-212-234 hybrid_wl]# make clean
KBUILD_NOPEDANTIC=1 make -C /lib/modules/`uname -r`/build M=`pwd` clean
make: *** /lib/modules/2.6.29.4-167.fc11.i586/build: No such file or directory. Stop.
make: *** [clean] Error 2
[root@c-71-199-212-234 hybrid_wl]#
linuxfedora darklove2201 is offline     Reply With Quote

Reply

Bookmarks


Thread Tools

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
how to make bind-9.6.01 work after compiling from source code win281 Linux - Newbie 2 05-11-2009 05:33 PM
error compiling dlink DFE-520TX PCI adapter driver source code ignoribis Linux - Newbie 0 07-10-2008 08:44 PM
Downloaded Wireshark source code and while make rpm got this error, kindly help pkhera_2001 Linux - Newbie 1 03-20-2008 09:09 AM
error compiling dosbox with "/usr/X11R6/include/GL/glu" hamster Linux - Software 4 11-08-2007 06:23 PM
package compiling from source, make & make install concepts shujja Linux - Newbie 2 09-20-2005 01:18 AM


All times are GMT -5. The time now is 09:28 PM.

Main Menu
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
RSS2  LQ Podcast
RSS2  LQ Radio
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration