Hi all, I'm trying to change directory using
However GCC gives me the errorCode:int chdir(char *directory);
I checked it out with splint and it complained i'm not using the POSIX library, and i basically installed gcc, libraries etc with the debian build-essential package. Here's the splint responseCode:$ gcc grabber.c -o grabber grabber.c: In function ‘main’: grabber.c:19: error: conflicting types for ‘chdir’ /usr/include/unistd.h:457: error: previous declaration of ‘chdir’ was here
http://redruby.pastebin.com/m5f1468dd
Can anyone shed any light on this, as im confused and not sure what to do. Thanks



LinkBack URL
About LinkBacks


