Mr_Floppy
11-23-2007, 06:16 AM
When trying to compile cemu1.3.40ry, I get the following errors:
DJGPP 2.03 for CEMU
Released June 10, 2007
Setting the DJGPP environment variable.
Setting your path to DJGPP\Bin.
Steps to compile cemu:
1 - Copy the cemu source files to the DJGPP\cemu_src folder
2 - Type: make clean and press Enter.
----------
3 - Type: make and press Enter. This step may take several minutes.
----
4 - Type make compress and press Enter.
-------------
Microsoft Windows XP [Version 5.1.2600]
(C) Copyright 1985-2001 Microsoft Corp.
C:\DJGPP_2\cemu_src>make clean
erase *.o
erase cemu.exe
File not found
C:\DJGPP_2\cemu_src>make
gpp -funroll-loops -frerun-loop-opt -fomit-frame-pointer -O3 -Wall -g -DFAST_CEM
U -c cemu.cc
gpp -funroll-loops -frerun-loop-opt -fomit-frame-pointer -O3 -Wall -g -DFAST_CEM
U -c 6805_cpu.cc
gpp -funroll-loops -frerun-loop-opt -fomit-frame-pointer -O3 -Wall -g -DFAST_CEM
U -c emu6805.cc
gpp -funroll-loops -frerun-loop-opt -fomit-frame-pointer -O3 -Wall -g -DFAST_CEM
U -c rom10.cc
gpp -funroll-loops -frerun-loop-opt -fomit-frame-pointer -O3 -Wall -g -DFAST_CEM
U -c comm.cc
gpp -funroll-loops -frerun-loop-opt -fomit-frame-pointer -O3 -Wall -g -DFAST_CEM
U -c debug.cc
gpp -funroll-loops -frerun-loop-opt -fomit-frame-pointer -O3 -Wall -g -DFAST_CEM
U -c arm_CALL.c
gpp -funroll-loops -frerun-loop-opt -fomit-frame-pointer -O3 -Wall -g -DFAST_CEM
U -c arm_bn.c
gpp -funroll-loops -frerun-loop-opt -fomit-frame-pointer -O3 -Wall -g -DFAST_CEM
U -c armMap.c
gpp -funroll-loops -frerun-loop-opt -fomit-frame-pointer -O3 -Wall -g -DFAST_CEM
U -c armsub1.c
gpp -funroll-loops -frerun-loop-opt -fomit-frame-pointer -O3 -Wall -g -DFAST_CEM
U -c armsub2.c
gpp -funroll-loops -frerun-loop-opt -fomit-frame-pointer -O3 -Wall -g -DFAST_CEM
U -c cmd07.c
In file included from cmd07.c:897:
module0.inc:45:2: warning: no newline at end of file
In file included from cmd07.c:900:
module1.inc:2:2: warning: no newline at end of file
gpp -funroll-loops -frerun-loop-opt -fomit-frame-pointer -O3 -Wall -g -DFAST_CEM
U -c data.cc
gpp -funroll-loops -frerun-loop-opt -fomit-frame-pointer -O3 -Wall -g -DFAST_CEM
U -c misc.cc
gpp -funroll-loops -frerun-loop-opt -fomit-frame-pointer -O3 -Wall -g -DFAST_CEM
U -c morph2.cc
gpp -funroll-loops -frerun-loop-opt -fomit-frame-pointer -O3 -Wall -g -DFAST_CEM
U -c keycmd.cc
gpp -funroll-loops -frerun-loop-opt -fomit-frame-pointer -O3 -Wall -g -DFAST_CEM
U 6805_cpu.o emu6805.o cemu.o rom10.o comm.o debug.o arm_CALL.o arm_bn.o armMap.
o armsub1.o armsub2.o cmd07.o data.o misc.o morph2.o keycmd.o -lgmpxx -lgmp pmco
m/rel/com.a -o cemu.exe
gpp.exe: pmcom/rel/com.a: No such file or directory (ENOENT)
make.exe: *** [cemu] Error 1
C:\DJGPP_2\cemu_src>make compress
strip -s cemu.exe
C:\DJGPP_2\bin/strip.exe: cemu.exe: File in wrong format
make.exe: *** [compress] Error 1
C:\DJGPP_2\cemu_src>Just wandering if the code posted by smilingjack (http://www.dssftp.com/forum/member.php?u=27963)in the sticky post is the code used to fix the compile errors? If so, do I just create a new text file, copy and paste the code, change the name of the file and add it to the cemu source folder? Thanks
DJGPP 2.03 for CEMU
Released June 10, 2007
Setting the DJGPP environment variable.
Setting your path to DJGPP\Bin.
Steps to compile cemu:
1 - Copy the cemu source files to the DJGPP\cemu_src folder
2 - Type: make clean and press Enter.
----------
3 - Type: make and press Enter. This step may take several minutes.
----
4 - Type make compress and press Enter.
-------------
Microsoft Windows XP [Version 5.1.2600]
(C) Copyright 1985-2001 Microsoft Corp.
C:\DJGPP_2\cemu_src>make clean
erase *.o
erase cemu.exe
File not found
C:\DJGPP_2\cemu_src>make
gpp -funroll-loops -frerun-loop-opt -fomit-frame-pointer -O3 -Wall -g -DFAST_CEM
U -c cemu.cc
gpp -funroll-loops -frerun-loop-opt -fomit-frame-pointer -O3 -Wall -g -DFAST_CEM
U -c 6805_cpu.cc
gpp -funroll-loops -frerun-loop-opt -fomit-frame-pointer -O3 -Wall -g -DFAST_CEM
U -c emu6805.cc
gpp -funroll-loops -frerun-loop-opt -fomit-frame-pointer -O3 -Wall -g -DFAST_CEM
U -c rom10.cc
gpp -funroll-loops -frerun-loop-opt -fomit-frame-pointer -O3 -Wall -g -DFAST_CEM
U -c comm.cc
gpp -funroll-loops -frerun-loop-opt -fomit-frame-pointer -O3 -Wall -g -DFAST_CEM
U -c debug.cc
gpp -funroll-loops -frerun-loop-opt -fomit-frame-pointer -O3 -Wall -g -DFAST_CEM
U -c arm_CALL.c
gpp -funroll-loops -frerun-loop-opt -fomit-frame-pointer -O3 -Wall -g -DFAST_CEM
U -c arm_bn.c
gpp -funroll-loops -frerun-loop-opt -fomit-frame-pointer -O3 -Wall -g -DFAST_CEM
U -c armMap.c
gpp -funroll-loops -frerun-loop-opt -fomit-frame-pointer -O3 -Wall -g -DFAST_CEM
U -c armsub1.c
gpp -funroll-loops -frerun-loop-opt -fomit-frame-pointer -O3 -Wall -g -DFAST_CEM
U -c armsub2.c
gpp -funroll-loops -frerun-loop-opt -fomit-frame-pointer -O3 -Wall -g -DFAST_CEM
U -c cmd07.c
In file included from cmd07.c:897:
module0.inc:45:2: warning: no newline at end of file
In file included from cmd07.c:900:
module1.inc:2:2: warning: no newline at end of file
gpp -funroll-loops -frerun-loop-opt -fomit-frame-pointer -O3 -Wall -g -DFAST_CEM
U -c data.cc
gpp -funroll-loops -frerun-loop-opt -fomit-frame-pointer -O3 -Wall -g -DFAST_CEM
U -c misc.cc
gpp -funroll-loops -frerun-loop-opt -fomit-frame-pointer -O3 -Wall -g -DFAST_CEM
U -c morph2.cc
gpp -funroll-loops -frerun-loop-opt -fomit-frame-pointer -O3 -Wall -g -DFAST_CEM
U -c keycmd.cc
gpp -funroll-loops -frerun-loop-opt -fomit-frame-pointer -O3 -Wall -g -DFAST_CEM
U 6805_cpu.o emu6805.o cemu.o rom10.o comm.o debug.o arm_CALL.o arm_bn.o armMap.
o armsub1.o armsub2.o cmd07.o data.o misc.o morph2.o keycmd.o -lgmpxx -lgmp pmco
m/rel/com.a -o cemu.exe
gpp.exe: pmcom/rel/com.a: No such file or directory (ENOENT)
make.exe: *** [cemu] Error 1
C:\DJGPP_2\cemu_src>make compress
strip -s cemu.exe
C:\DJGPP_2\bin/strip.exe: cemu.exe: File in wrong format
make.exe: *** [compress] Error 1
C:\DJGPP_2\cemu_src>Just wandering if the code posted by smilingjack (http://www.dssftp.com/forum/member.php?u=27963)in the sticky post is the code used to fix the compile errors? If so, do I just create a new text file, copy and paste the code, change the name of the file and add it to the cemu source folder? Thanks