Make를 했는데 오류가 나서 질문드립니다

root@ha-desktop:/home/ha/src# make
gcc-4.2 -g -W -D_LINUX_SOURCE -DUSER_LITTLE_ENDIAN -I/usr/include/mysql -I…/include -D_THREAD_SAFE -D_REENTRANT -c -o main.o main.c
main.c로부터 include된 파일:4:
/usr/lib/gcc/i486-linux-gnu/4.2.4/include/varargs.h:4:2: 오류: #error "GCC no longer implements <varargs.h>."
/usr/lib/gcc/i486-linux-gnu/4.2.4/include/varargs.h:5:2: 오류: #error "Revise your code to use <stdarg.h>."
main.c: In function ‘initServerSock’:
main.c:49: warning: incompatible implicit declaration of built-in function ‘memset’
main.c: In function ‘doSendData’:
main.c:142: warning: incompatible implicit declaration of built-in function ‘memset’
main.c:151: warning: incompatible implicit declaration of built-in function ‘strlen’
main.c:169: warning: incompatible implicit declaration of built-in function ‘memcpy’
main.c: In function ‘doPacketParsing’:
main.c:257: warning: incompatible implicit declaration of built-in function ‘memset’
main.c:278: warning: incompatible implicit declaration of built-in function ‘strcpy’
main.c: In function ‘startServer’:
main.c:299: warning: incompatible implicit declaration of built-in function ‘exit’
main.c: In function ‘main’:
main.c:334: warning: incompatible implicit declaration of built-in function ‘exit’
main.c: In function ‘doExit’:
main.c:350: warning: incompatible implicit declaration of built-in function ‘exit’
main.c: In function ‘getPacketInfo’:
main.c:362: warning: incompatible implicit declaration of built-in function ‘strlen’
make: *** [main.o] 오류 1

어떻게 된걸까요 리눅스 초보라 전혀 모르겠네요

도움주시면 감사하겠습니다(__)

/usr/lib/gcc/i486-linux-gnu/4.2.4/include/varargs.h:4:2: 오류: #error "GCC no longer implements <varargs.h>."
/usr/lib/gcc/i486-linux-gnu/4.2.4/include/varargs.h:5:2: 오류: #error "Revise your code to use <stdarg.h>."

이 두줄 의미는,
소스 코드에서 varargs.h 를 include한 부분이 있는데, GCC에서는 vargargs.h를 더이상 지원하지 않으니까,
이 부분을 stdarg.h로 바꾸라는 의미입니다.

그리고 중간 중간에 memcpy나 strncpy 같은 함수는 string.h에 정의되어 있으니 이 헤더도 include해주시면 될 듯 하네요