Interrupt / Interrupt/systemshock

Linking Error After Building

Open
#418 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
C
Stars
900
Forks
77
Avg merge
2d 2h
Merged PRs (30d)
1

Description

On the final step of building I receive this error:
```
[ 98%] Linking CXX executable systemshock
/usr/bin/ld: /usr/lib/gcc/x86_64-pc-linux-gnu/14.2.1/../../../../lib/libSDL2_mixer.so: undefined reference to `SDL_RWclose'
/usr/bin/ld: /usr/lib/gcc/x86_64-pc-linux-gnu/14.2.1/../../../../lib/libSDL2_mixer.so: undefined reference to `SDL_RWread'
/usr/bin/ld: /usr/lib/gcc/x86_64-pc-linux-gnu/14.2.1/../../../../lib/libSDL2_mixer.so: undefined reference to `SDL_RWseek'
/usr/bin/ld: /usr/lib/gcc/x86_64-pc-linux-gnu/14.2.1/../../../../lib/libSDL2_mixer.so: undefined reference to `SDL_strtokr'
/usr/bin/ld: /usr/lib/gcc/x86_64-pc-linux-gnu/14.2.1/../../../../lib/libSDL2_mixer.so: undefined reference to `SDL_RWsize'
/usr/bin/ld: /usr/lib/gcc/x86_64-pc-linux-gnu/14.2.1/../../../../lib/libSDL2_mixer.so: undefined reference to `SDL_RWtell'
collect2: error: ld returned 1 exit status
make[3]: *** [CMakeFiles/systemshock.dir/build.make:270: systemshock] Error 1
make[2]: *** [CMakeFiles/Makefile2:173: CMakeFiles/systemshock.dir/all] Error 2
make[1]: *** [CMakeFiles/Makefile2:180: CMakeFiles/systemshock.dir/rule] Error 2
make: *** [Makefile:124: systemshock] Error 2
```
I am on x64 Arch with SDL Mixer 2.8.0 installed. Perhaps this build system requires an older version of the package?

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.