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

Issue with compiling libcdvd #7

Open
vanhux opened this issue Sep 29, 2021 · 0 comments
Open

Issue with compiling libcdvd #7

vanhux opened this issue Sep 29, 2021 · 0 comments

Comments

@vanhux
Copy link

vanhux commented Sep 29, 2021

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.

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

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.

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

1 participant