Hello, i'am trying to compile on Ubuntu 9.10.
But i got errors:
Code:
ubyc@ubyc-desktop:~/Downloads/0.0.5.5$ make
g++ -O2 -Wall -lz  -ldl -lcrypt  -oserver main.cpp
main.cpp: In function ‘void daemonize()’:
main.cpp:142: error: ‘strlen’ was not declared in this scope
main.cpp:109: warning: ignoring return value of ‘int dup(int)’, declared with attribute warn_unused_result
main.cpp:110: warning: ignoring return value of ‘int dup(int)’, declared with attribute warn_unused_result
main.cpp: In function ‘int arguments(int, char**)’:
main.cpp:161: error: ‘strcmp’ was not declared in this scope
main.cpp:166: error: ‘strcmp’ was not declared in this scope
main.cpp:202: error: ‘strcpy’ was not declared in this scope
main.cpp: In function ‘int init_sig()’:
main.cpp:258: error: ‘memset’ was not declared in this scope
make: *** [preklad] Error 1
How can i fix it? Please help me, and sorry for my bad english...