make: *** [all] Error 2 ? Need Help compiling DOSBOX source code!
Linux - SoftwareThis 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
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
make: *** [all] Error 2 ? Need Help compiling DOSBOX source code!
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
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.
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]#
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511
Rep:
@ rajeshthe, post # 6 .. welcome to LQ.
This thread is about "dosbox", so please do not use
it for your "Intro" or an off topic question.
LQ Rules http://www.linuxquestions.org/linux/rules.html
.. Go to LQ Forums, use "New Thread" in a Forum, e.g.
Software or Newbie.
"" /data/store/RPM Setup/Astrik/libtool-2.2.6 "" :
Do not use / for build, use /home/"user"/tmp/ instead.
And you have a space between RPM and Setup : ../RPM Setup/..
That will not work.
.....
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.