wshan아 header file젤 앞부분에 보면 무슨 library에 function이 정의 되어 있는지 적혀 있단다. 예를 들면 math.h의 경우 /* * Math library definitions for all the public functions implemented in libm.a. */ 이런식으로 적혀 있으니깐... lib 하고 .a 는 빼고 -lm하면 되겠지. 그럼 새해 복 많이 받아라..