PDA

View Full Version : Error when compiling nvault from CVS


Geesu
06-02-2006, 09:06
I get the errors that:

`mkdir` is undeclared
`unlink` is undeclared...

I can solve the first problem by including:
#include <sys/types.h>
#include <sys/stat.h>

at the top of the program...

I'm not sure how to solve the second problem....

I'm using GCC 3.4.2 on Fedora Core 3...

Thanks,
Josh

noob cannon lol
06-02-2006, 10:02
http://forums.alliedmods.net/showthread.php?t=255

Geesu
06-02-2006, 10:14
LOL - I'm not a noob retard...

noob cannon lol
06-02-2006, 17:49
:cry:

noob cannon lol
06-03-2006, 18:17
Ya know, i think you misunderstood me. I didn't mean to tell how to compile modules, I just meant to say that BAILOPAN said not to compile with GCC 3.

teame06
06-03-2006, 18:47
Ya know, i think you misunderstood me. I didn't mean to tell how to compile modules, I just meant to say that BAILOPAN said not to compile with GCC 3.

And your still not reading or havn't read in awhile. That it requires gcc 3 and up now. Been that way since AMX Mod X 1.5

Geesu
06-03-2006, 19:03
LOLs

noob cannon lol
06-03-2006, 20:34
At least he gave me a real answer instead of a flame... and i'll just stop talking then. I only meant to help.

BAILOPAN
06-03-2006, 21:06
try pressing ALT+F4 LOLOLLLOROWOROWOL.


or #include <unistd.h>, if that doesn't work

grep -r "unlink" /usr/include/* | less

include order might matter, btw