I am trying to install UltraStarDeluxe on a linux machine. The make
uses compile scripts generated by fpc (Free Pascal)
. On invoking make
, the following is the error+warning message before ld
exits:
/usr/bin/ld: warning: ../game/link.res contains output sections; did you forget -T?
/usr/bin/ld: cannot find -lSDL_image
/home/sriram/ultraDX/ultrastardx-1.1-src/src/ultrastardx.dpr(344,1) Error: Error while linking
/home/sriram/ultraDX/ultrastardx-1.1-src/src/ultrastardx.dpr(344,1) Fatal: There were 1 errors compiling module, stopping
Fatal: Compilation aborted
Error: /usr/bin/ppc386 returned an error exitcode (normal if you did not specify a source file to be compiled)
make[1]: *** [../game/ultrastardx] Error 1
make[1]: Leaving directory `/home/sriram/ultraDX/ultrastardx-1.1-src/src'
make: *** [all] Error 2
I know from here that the warning message ("did you forget -T") is a bug and has been removed. Here is my question:
Update:
1. I searched the internet some more and see that SDL stands for Simple Direct Media Layer. I installed the library and now, according to the question here, my /usr/local/lib
contains the following:
default.sfx libSDL-1.2.so.0.11.3 libSDL.la libSDL.so
libSDL-1.2.so.0 libSDL.a libSDLmain.a pkgconfig/
However, the errors, as mentioned above, are still there. How can I get rid of them?
Update 2:
@wormsparty: I got around the errors by doing an rpm -U SDL_image-1.2.10-1.i586.rpm
. I now get package SDL_image-1.2.10-1.i586 is already installed
. I also checked /usr/lib
and found the following libraries installed:
libSDL-1.2.so.0 libSDL-1.2.so.0.11.2 libSDL_image-1.2.so.0 libSDL_image-1.2.so.0.8.2 libSDL.so
Is this what I should be looking for?