Hi all,
Is anyone where using UBuntu with Lazarus, FreePascal and JEDI-SDL?
In the past when I have compiled stuff it it was a simple case of
Code:
fpc -Sd Myproject.dpr
and it would just work assuming I have everything set up.

With Ubuntu I'm trying to compile a Mac OS X app over to Linux and include some LCL code to boot. I'm using the following command line...

Code:
fpc YoYo70.lpr -S2d -OG1  -k-lSDL -k-lSDL_mixer -ve -Fl/usr/lib/ -Fu/usr/share/lazarus/lcl/units/i386-linux/ -Fu/usr/share/lazarus/lcl/units/i386-linux/gtk/ -Fu/usr/share/lazarus/packager/units/i386-linux/ -Fu. -FUobjs/ -dLCL -dLCLgtk
Everything compiles, but at the linking stage I'm getting the following error

Code:
Linking YoYo70
/usr/bin/ld: cannot find -lSDLMain
YoYo70.lpr(137,1) Error: Error while linking
Any ideas?

This was working yesterday, but the moment I updated the project's source files it started throwing this error.
I've never had this -lSDLMain error before on Linux.