Skip to content

fail to build on Raspberry pi5 with bookworm #420

@Exarkuniv

Description

@Exarkuniv

been trying to get this to work on the PI5. it works fine on the Pi4
and it keeps failing at the same part

so after digging around i figured out that the SDL version and SDL_mixer version are too old to be built on the PI5
so after changing to to a version that will be built it makes it through all the way to the end where it fails

[100%] Linking CXX executable systemshock
/usr/bin/ld: CMakeFiles/systemshock.dir/src/MacSrc/SDLSound.c.o: in function `snd_sample_play':
/home/pi/RetroPie-Setup/tmp/build/shockolate/src/MacSrc/SDLSound.c:72: undefined reference to `Mix_PlayChannel'
collect2: error: ld returned 1 exit status
make[3]: *** [CMakeFiles/systemshock.dir/build.make:267: systemshock] Error 1
make[2]: *** [CMakeFiles/Makefile2:148: CMakeFiles/systemshock.dir/all] Error 2
make[1]: *** [CMakeFiles/Makefile2:155: CMakeFiles/systemshock.dir/rule] Error 2
make: *** [Makefile:124: systemshock] Error 2

i will be grateful on any pointers if fixing this is possible

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions