-
warning: incompatible implicit declaration of built-in function ‘strstr’Computer/linux 2008. 8. 15. 06:31Problem :
When I try to compile c program, I met the following error message:
warning: incompatible implicit declaration of built-in function ‘strstr’
Analysis :
This means that no header file contains the strstr function that I use in the program.
Solution :
Add the header file according to my function (strstr)#include <string.h>
'Computer > linux' 카테고리의 다른 글
"Search" example in C (0) 2008.08.18 Try to find the hostname in the Makefile (0) 2008.08.13 Mathematica start up error (0) 2008.07.21