my apology for double mail
gcc showfont.c sdl-config --cflags --libs
/tmp/ccinPL2I.o(.text+0x272): In function main': : undefined reference to
TTF_Init’
/tmp/ccinPL2I.o(.text+0x2a7): In function main': : undefined reference to
TTF_Quit’
/tmp/ccinPL2I.o(.text+0x4db): In function main': : undefined reference to
TTF_OpenFont’
/tmp/ccinPL2I.o(.text+0x533): In function main': : undefined reference to
TTF_SetFontStyle’
/tmp/ccinPL2I.o(.text+0x577): In function main': : undefined reference to
TTF_RenderText_Solid’
/tmp/ccinPL2I.o(.text+0x59f): In function main': : undefined reference to
TTF_RenderText_Shaded’
/tmp/ccinPL2I.o(.text+0x66b): In function main': : undefined reference to
TTF_RenderText_Solid’
/tmp/ccinPL2I.o(.text+0x696): In function main': : undefined reference to
TTF_RenderText_Shaded’
/tmp/ccinPL2I.o(.text+0x6c3): In function main': : undefined reference to
TTF_RenderUTF8_Solid’
/tmp/ccinPL2I.o(.text+0x6ee): In function main': : undefined reference to
TTF_RenderUTF8_Shaded’
/tmp/ccinPL2I.o(.text+0x7b4): In function main': : undefined reference to
TTF_RenderUNICODE_Solid’
/tmp/ccinPL2I.o(.text+0x7dc): In function main': : undefined reference to
TTF_RenderUNICODE_Shaded’
/tmp/ccinPL2I.o(.text+0x817): In function main': : undefined reference to
TTF_CloseFont’
/tmp/ccinPL2I.o(.text+0x886): In function main': : undefined reference to
TTF_FontHeight’
/tmp/ccinPL2I.o(.text+0x8f0): In function main': : undefined reference to
TTF_CloseFont’
/tmp/ccinPL2I.o(.text+0xafa): In function main': : undefined reference to
TTF_CloseFont’
collect2: ld returned 1 exit status