Unable to build PSP version
Nobody has claimed this yet.
- Dominant language
- C
- Stars
- 14.1k
- Forks
- 2.2k
- Avg merge
- 7h 35m
- Merged PRs (30d)
- 51
Description
I tried to rebuild RA on my own using official guide. Pulled repo.
But command:
make -f Makefile.psp1.salamander
results error at ../../frontend/drivers/platform_psp.c:66:10 about missing "../../bootstrap/psp1/kernel_functions.h" file.
This file exists only in subdirectory kernel_functions_prx:
../../bootstrap/psp1/kernel_functions_prx/kernel_functions.h
Another way from guide is to use this:
cd dist-scripts && ./dist-cores.sh psp1
It results another error:
ls: unable to access '*_psp1.a': No such file or directory
(translation can be a bit incorrect)
UPD:
Seems like ./dist-cores.sh psp1 copies some files. After it I was able to run
make -f Makefile.psp1.salamander
without any visible errors, but still
make -f Makefile.psp1
exits with code 1:
/usr/local/pspdev/lib/gcc/psp/9.3.0/../../../../psp/bin/ld: cannot find -lretro_psp1
Steps to reproduce the bug
- git clone https://github.com/libretro/RetroArch.git retroarch
- cd retroarch
- make -f Makefile.psp1.salamander
OR - cd dist-scripts && ./dist-cores.sh psp1
Version/Commit
- RetroArch: Latest version, commit df3af35ee46fdd91dec7ef51d9b4493802b9ea56.
Environment information
- OS: Ubuntu 16.04 32-bit
- SDK from https://github.com/pspdev/psptoolchain
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Reproduce the PSP build commands from the issue, then inspect frontend/drivers/platform_psp.c, bootstrap/psp1, dist-scripts/dist-cores.sh, and the Makefile.psp1 targets. Confirm whether the header and retro_psp1 library are produced or referenced from the expected locations, and consider the build fixed when both PSP make commands complete successfully.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- c, shell
- Domain
- build-system
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100