PSP Salamander compile fails
Nobody has claimed this yet.
- Dominant language
- C
- Stars
- 14.1k
- Forks
- 2.2k
- Avg merge
- 7h 35m
- Merged PRs (30d)
- 51
Description
Description
When attempting to compile Salamander for the PSP following the directions provided in the docs the compile fails.
Expected behavior
Salamander successfully compiles.
Actual behavior
When executing the command "make -f Makefile.psp1.salamander" (note I am not using sudo) I get the following print out:
(See attachment for compile printout until error)
NOTE
Also in front/drivers/platform_psp.c it points to "../../bootstrap/psp1/kernel_functions.h" on line 68 when the are actually in "../.."/bootstrap/psp1/kernel_functions_prx/kernel_functions.h" I'm not sure if these problems are related. I copied the files in "kernel_functions_prx" to "psp1" in order to get the compile to start.
Steps to reproduce the bug
Prestep: install sdk and toolchain following instructions found here.
- git clone https://github.com/libretro/RetroArch.git retroarch
- cd retroarch
- copy contents of ".../retroarch/bootstrap/psp1/kernel_functions_prx/" to ".../retroarch/bootstrap/psp1"
- execute "make -f Makefile.psp1.salamander"
Bisect Results
I have tried the latest stable source from 1.14.0, 1.10.0 and 1.9.0 and the problem persists. This includes the location of kernel_functions.h being incorrect and needed to be moved for each of the aforementioned versions.
Version/Commit
-
RetroArch: 1.14.0, 1.10.0 and 1.9.0
-
OS: Ubuntu 22.10 (or more specifically Kubuntu 22.10) and a Debian 11.6 VM.
-
Compiler: psp toolchain (Not sure what to put here. I'll update if/when someone corrects me)
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
Start with Makefile.psp1.salamander and front/drivers/platform_psp.c, then inspect the bootstrap/psp1 and bootstrap/psp1/kernel_functions_prx paths referenced in the report. Review Error.txt and the PSP compilation documentation before reproducing the command. Done means Salamander compiles without manually copying files into bootstrap/psp1.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- c
- Domain
- build-system
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100