I cannot get past this compile error for z-file.c on Windows using Cygwin/MinGW.
gcc -DWINDOWS -Wall -Wextra -Wno-unused-parameter -std=c99 -Wdeclaration-after-s
tatement -O2 -I. -c -o z-file.o z-file.c
z-file.c:25:21: direct.h: No such file or directory
z-file.c: In function `dir_create':
z-file.c:713: error: too few arguments to function `mkdir'
z-file.c:716: error: too few arguments to function `mkdir'
make: *** [z-file.o] Error 1
I have looked, but I fail to see the issue in the code. More specifically, I'm not sure how many arguments and which are missing from mkdir.
I've fallen and cannot get up....
Also, I had to resort to the 3.2.0 source Makefile to get it to go... couldn't get any of the newer Makefiles to work with my Cygwin setup, even after updating MinGW. clueless...
-SBux-
Leave a comment: