Thanks for the tip. Here it is:
Assembling sdl
Project1.pas(9,5) Note: Local variable "scr" not used
Assembling sdltest
Linking Project1
Undefined symbols:
"_SDL_Init", referenced from:
_PASCALMAIN in Project1.o
ld: symbol(s) not found
An error occurred while linking
Error: Error while linking
That was with smart linking turned on. Without it I get a whole bunch undefined symbols:
Linking Project1
Undefined symbols:
"_SDL_LoadWAV_RW", referenced from:
_SDL_SDL_LOADWAV$PCHAR$PSDL_AUDIOSPEC$PUINT8$PUINT32$$PSDL_AUDIOSPEC in sdl.o
"_SDL_RWFromFile", referenced from:
_SDL_SDL_LOADWAV$PCHAR$PSDL_AUDIOSPEC$PUINT8$PUINT32$$PSDL_AUDIOSPEC in sdl.o
_SDL_SDL_LOADBMP$PCHAR$$PSDL_SURFACE in sdl.o
_SDL_SDL_SAVEBMP$PSDL_SURFACE$PCHAR$$LONGINT in sdl.o
"_SDL_Error", referenced from:
_SDL_SDL_OUTOFMEMORY in sdl.o
"_SDL_UpperBlit", referenced from:
_SDL_SDL_BLITSURFACE$PSDL_SURFACE$PSDL_RECT$PSDL_SURFACE$PSDL_RECT$$LONGINT in sdl.o
"_SDL_Init", referenced from:
_PASCALMAIN in Project1.o
"_SDL_SaveBMP_RW", referenced from:
_SDL_SDL_SAVEBMP$PSDL_SURFACE$PCHAR$$LONGINT in sdl.o
"_SDL_LoadBMP_RW", referenced from:
_SDL_SDL_LOADBMP$PCHAR$$PSDL_SURFACE in sdl.o
"_SDL_mutexP", referenced from:
_SDL_SDL_LOCKMUTEX$PSDL_MUTEX$$LONGINT in sdl.o
"_SDL_mutexV", referenced from:
_SDL_SDL_UNLOCKMUTEX$PSDL_MUTEX$$LONGINT in sdl.o
"_SDL_CreateRGBSurface", referenced from:
_SDL_SDL_ALLOCSURFACE$crcE30B3586 in sdl.o
ld: symbol(s) not found
An error occurred while linking
Error: Error while linking