Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

make -j4 error while building.. need help compiling #46

Open
eenallemaal opened this issue Oct 7, 2017 · 2 comments
Open

make -j4 error while building.. need help compiling #46

eenallemaal opened this issue Oct 7, 2017 · 2 comments

Comments

@eenallemaal
Copy link

on 14.04 trusty taher
sudo apt-get install emscripten llvm
sudo apt-get install cmake gcc autogen automake autotools git
git clone https://github.com/dreamlayers/em-dosbox.git
cd em-dosbox/
./autogen.sh
emconfigure ./configure
make -j4
when will i make it to sudo make install ????
help needed compiling
or the error explained

mv -f .deps/dos_misc.Tpo .deps/dos_misc.Po
/usr/share/emscripten/em++ -DHAVE_CONFIG_H -I. -I../.. -I../../include -O3 -s USE_SDL=2 -MT drives.o -MD -MP -MF .deps/drives.Tpo -c -o drives.o drives.cpp
mv -f .deps/dos_classes.Tpo .deps/dos_classes.Po
/usr/share/emscripten/em++ -DHAVE_CONFIG_H -I. -I../.. -I../../include -O3 -s USE_SDL=2 -MT drive_virtual.o -MD -MP -MF .deps/drive_virtual.Tpo -c -o drive_virtual.o drive_virtual.cpp
dos_programs.cpp:28:10: fatal error: 'emscripten/fetch.h' file not found
#include <emscripten/fetch.h>
^
mv -f .deps/dos_tables.Tpo .deps/dos_tables.Po
/usr/share/emscripten/em++ -DHAVE_CONFIG_H -I. -I../.. -I../../include -O3 -s USE_SDL=2 -MT drive_local.o -MD -MP -MF .deps/drive_local.Tpo -c -o drive_local.o drive_local.cpp
mv -f .deps/drives.Tpo .deps/drives.Po
/usr/share/emscripten/em++ -DHAVE_CONFIG_H -I. -I../.. -I../../include -O3 -s USE_SDL=2 -MT drive_cache.o -MD -MP -MF .deps/drive_cache.Tpo -c -o drive_cache.o drive_cache.cpp
mv -f .deps/drive_virtual.Tpo .deps/drive_virtual.Po
/usr/share/emscripten/em++ -DHAVE_CONFIG_H -I. -I../.. -I../../include -O3 -s USE_SDL=2 -MT drive_fat.o -MD -MP -MF .deps/drive_fat.Tpo -c -o drive_fat.o drive_fat.cpp
1 error generated.
ERROR root: compiler frontend failed to generate LLVM bitcode, halting
make[4]: *** [dos_programs.o] Error 1
make[4]: *** Waiting for unfinished jobs....
mv -f .deps/drive_local.Tpo .deps/drive_local.Po
mv -f .deps/drive_fat.Tpo .deps/drive_fat.Po
mv -f .deps/drive_cache.Tpo .deps/drive_cache.Po
make[4]: Leaving directory /home/verhoeve/em-dosbox/src/dos' make[3]: *** [all-recursive] Error 1 make[3]: Leaving directory /home/verhoeve/em-dosbox/src'
make[2]: *** [all] Error 2
make[2]: Leaving directory /home/verhoeve/em-dosbox/src' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory /home/verhoeve/em-dosbox'
make: *** [all] Error 2
verhoeve@XM44T:~/em-dosbox$

please help on error

@eenallemaal
Copy link
Author

sudo apt-get install build-essential cmake python2.7 nodejs default-jre git-core
sudo apt-get install libsdl1.2-dev libsdl1.2debian libsdl-image1.2-dev
aclocal
./autogen.sh
emconfigure ./configure
make -j4

still the same
mkdir emscr
sudo apt-get install git
sudo apt-get install nodejs
sudo apt-get install default-jre
sudo apt-get install llvm

wget http://llvm.org/releases/3.2/clang+llvm-3.2-x86-linux-ubuntu-12.04.tar.gz
gunzip clang+llvm-3.2-x86-linux-ubuntu-12.04.tar.gz
tar xvf clang+llvm-3.2-x86-linux-ubuntu-12.04.tar
git clone git://github.com/kripken/emscripten.git
echo 'edit path like this /home/sol/Desktop/emscripten/clang+llvm-3.2-x86-linux-ubuntu-12.04/bin'

hope-ing for luck

@masterofseige
Copy link

I have been trying to follow the compiling instructions, but as a extreme beginner (will be second thing compiled) i am at a loss.

using ubuntu 18-4.
I got to emconfigure ./configure then it errors out. Cannont find SDL 1.2 or better

SDL 2 is installed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants