I am trying to compile FMCB - but before that I have to compile the libcdvd (which needs to be added to $PS2DEV)
I have a challenge with compiling the libcdvd with latest PS2SDK.
I have benn able to properly compile the latest version of JayJay's OPL with no issue.
But while trying to compile libcdvd I am getting bellow error.
Building EE client
make -C ee
make[1]: Entering directory '/usr/local/ps2dev/libcdvd/ee'
make[1]: Nothing to be done for 'all'.
make[1]: Leaving directory '/usr/local/ps2dev/libcdvd/ee'
Building IRX
make -C iop
make[1]: Entering directory '/usr/local/ps2dev/libcdvd/iop'
p obj
make[1]: p: Command not found
/usr/local/ps2dev/ps2sdk/samples/Makefile.iopglobal:78: recipe for target 'obj/cdvd_iop.o' failed
make[1]: [obj/cdvd_iop.o] Error 127 (ignored)
mipsel-ps2-irx-gcc -D_IOP -fno-builtin -G0 -Os -Wall -I/usr/local/ps2dev/ps2sdk/iop/include -I/usr/local/ps2dev/ps2sdk/common/include -I. -Iinclude/ -msoft-float -mno-explicit-relocs -c cdvd_iop.c -o obj/cdvd_iop.o
cdvd_iop.c:2:10: fatal error: sifdma.h: No such file or directory
2 | #include <sifdma.h>
| ^~~~~~~~~~
compilation terminated.
/usr/local/ps2dev/ps2sdk/samples/Makefile.iopglobal:78: recipe for target 'obj/cdvd_iop.o' failed
make[1]: *** [obj/cdvd_iop.o] Error 1
make[1]: Leaving directory '/usr/local/ps2dev/libcdvd/iop'
Makefile:11: recipe for target 'build-iop' failed
make: *** [build-iop] Error 2
At first sifdma.h is located in $PS2SDK/ee/include in latest SDK not sure why it is not looking there.
However when I have tried to push it to usr/local/ps2dev/ps2sdk/iop/include the error is gone but still getting issue with Makefile.iopglobal:78
Hello,
I am trying to compile FMCB - but before that I have to compile the libcdvd (which needs to be added to $PS2DEV) I have a challenge with compiling the libcdvd with latest PS2SDK. I have benn able to properly compile the latest version of JayJay's OPL with no issue.
But while trying to compile libcdvd I am getting bellow error.
At first sifdma.h is located in $PS2SDK/ee/include in latest SDK not sure why it is not looking there. However when I have tried to push it to usr/local/ps2dev/ps2sdk/iop/include the error is gone but still getting issue with Makefile.iopglobal:78
77: $(EE_BIN): $(EE_OBJS) 78: $(EE_CC) -T$(EE_LINKFILE) $(EE_OPTFLAGS) -o $(EE_BIN) $(EE_OBJS) $(EE_LDFLAGS) $(EE_LIBS)
Any support appreciated.