gcc 컴파일을 하는데 컴파일이 안되고 이런 결과가 나오는군요...
$gcc -lpthread -o tpool tpool.c
/usr/lib/gcc-lib/i386-redhat-linux/2.96/../../../crt1.oIn
function '_start' /usr/lib/gcc-lib/i386-redhat-
linux/2.96/../../../crt1.o<.text+0x18>undefined reference to 'main'
collect2 ld returned 1 exit status
이렇게 말이죠
이게 무슨 소린지.... 아예 이해가 안가네요.
컴파일 해도 실행파일도 안나오네요.
그리고 다른 파일을 컴파일 하는 경우엔 또 이렇게 뜹니다
$gcc -lpthread -o tpooltest tpooltest.c
/tmp/ccj4vhpp.o In function 'main'