Compiling on Fedora 25

Status
Not open for further replies.

jameds

jartha
Sonic Team Junior
Kart Krew™️
Sorry if this is another dumb problem like before.

Code:
$ CC="gcc -m32" make -C src/ LINUX=1 

make: Entering directory '/home/james/build/SRB2-SRB2_release_2.1.17/src'
Makefile:582: recipe for target 'pre-build' failed
make: [pre-build] Error 1 (ignored)
Linking lsdl2srb2...
/usr/bin/ld: skipping incompatible /usr/local/lib/libSDL2.so when searching for -lSDL2
/usr/bin/ld: skipping incompatible /usr/local/lib/libSDL2.a when searching for -lSDL2
/usr/bin/ld: skipping incompatible /usr/lib64/libSDL2.so when searching for -lSDL2
/usr/bin/ld: skipping incompatible /usr/lib64/libSDL2_mixer.so when searching for -lSDL2_mixer
/usr/bin/ld: skipping incompatible /usr/lib64/libm.so when searching for -lm
/usr/bin/ld: skipping incompatible /usr/lib64/librt.so when searching for -lrt
/usr/bin/ld: skipping incompatible /usr/lib64/libpng16.so when searching for -lpng16
/usr/bin/ld: skipping incompatible /usr/lib64/libz.so when searching for -lz
/usr/bin/ld: skipping incompatible /usr/lib64/libgme.so when searching for -lgme
/usr/bin/ld: cannot find -lgme
/usr/bin/ld: skipping incompatible /usr/lib64/libc.so when searching for -lc
collect2: error: ld returned 1 exit status
Makefile:607: recipe for target '../bin/Linux/Release/lsdl2srb2' failed
make: *** [../bin/Linux/Release/lsdl2srb2] Error 1
make: Leaving directory '/home/james/build/SRB2-SRB2_release_2.1.17/src'
 
You are compiling SRB2 as a 32-bit program BUT

you did not tell the build system where the 32-bit libGME

So, go get the 32-bit devel packages or compile them yourself
 
The problem was with my PKG_CONFIG_PATH.

Thanks for hinting me in the right direction.
 
Status
Not open for further replies.

Who is viewing this thread (Total: 1, Members: 0, Guests: 1)

Back
Top