Error when compiling master branch

Error when compiling master branch

Postby Random Paradox » 25 Dec 2019, 00:37

When I try to compile supertux, I get this error:
{l Code}: {l Select All Code}
/usr/bin/ld: SDL_ttf//lib/libSDL2_ttf.a(SDL_ttf.c.o): in function `RWread':
SDL_ttf.c:(.text+0x65e): undefined reference to `SDL_RWseek'
/usr/bin/ld: SDL_ttf.c:(.text+0x68b): undefined reference to `SDL_RWread'
/usr/bin/ld: SDL_ttf//lib/libSDL2_ttf.a(SDL_ttf.c.o): in function `TTF_OpenFontIndexRW':
SDL_ttf.c:(.text+0x6d8): undefined reference to `SDL_RWclose'
/usr/bin/ld: SDL_ttf.c:(.text+0x710): undefined reference to `SDL_RWtell'
/usr/bin/ld: SDL_ttf.c:(.text+0x73e): undefined reference to `SDL_RWclose'
/usr/bin/ld: SDL_ttf.c:(.text+0x780): undefined reference to `SDL_RWclose'
/usr/bin/ld: SDL_ttf.c:(.text+0x841): undefined reference to `SDL_RWsize'
/usr/bin/ld: SDL_ttf//lib/libSDL2_ttf.a(SDL_ttf.c.o): in function `TTF_CloseFont':
SDL_ttf.c:(.text+0x2269): undefined reference to `SDL_RWclose'
/usr/bin/ld: libsavepng.a(savepng.c.o): in function `png_write_SDL':
savepng.c:(.text+0x67): undefined reference to `SDL_RWwrite'
/usr/bin/ld: libsavepng.a(savepng.c.o): in function `SDL_SavePNG_RW':
savepng.c:(.text+0x1d5): undefined reference to `SDL_RWclose'
/usr/bin/ld: savepng.c:(.text+0x233): undefined reference to `SDL_RWclose'
/usr/bin/ld: savepng.c:(.text+0x28a): undefined reference to `SDL_RWclose'
/usr/bin/ld: savepng.c:(.text+0x2e0): undefined reference to `SDL_RWclose'
/usr/bin/ld: savepng.c:(.text+0x5bf): undefined reference to `SDL_RWclose'
collect2: error: ld returned 1 exit status
make[2]: *** [CMakeFiles/supertux2.dir/build.make:113: supertux2] Error 1
make[1]: *** [CMakeFiles/Makefile2:329: CMakeFiles/supertux2.dir/all] Error 2
make: *** [Makefile:152: all] Error 2

Has anyone got this error before and know how to fix it?
Completer of the Ling Ling Workout.
Random Paradox
 
Posts: 38
Joined: 07 Jan 2019, 02:54
Location: The earth (duh)

Who is online

Users browsing this forum: No registered users and 1 guest