제가 SDL 버전 1.1.7라이브러리을 받았습니다.
그리고 컴파일하고 링크할때 에러가 나오거든요.
소스
#include <sdl.h>
SDL_Init();
shell> cc -o test test.o -lSDL
/usr/lib/libSDL.so : undefined reference to 'pthread_create'
/usr/lib/libSDL.so : undefined reference to '.....'
/usr/lib/libSDL.so : undefined reference to '.....'
/usr/lib/libSDL.so : undefined reference to '.....'
왜 쓰지도 않는 함수가 없다고 하면서 에러가 나는지.. ㅠ.ㅠ;
참... /etc/ld.so.conf에다가 /usr/lib 추가 핶구요~
그리고 dlconfig도 했어엽~
몇일째 문서를 뒤져도 알수가 업어서요...
꼭좀 알려주세요... ㅠ.ㅠ