libretro / libretro/RetroArch

Unable to build PSP version

Open
#10,599 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

compilation platform: psp
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
  1. git clone https://github.com/libretro/RetroArch.git retroarch
  2. cd retroarch
  3. make -f Makefile.psp1.salamander
    OR
  4. cd dist-scripts && ./dist-cores.sh psp1
Version/Commit
  • RetroArch: Latest version, commit df3af35ee46fdd91dec7ef51d9b4493802b9ea56.
Environment information

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.