[DGD] Problems Compiling Experimental version from 1.2.105 to 1.2.115

Charles Ahn nexes300 at gmail.com
Mon Jun 26 01:44:01 CEST 2006


Hello everyone, Im having a bit of trouble getting DGD to compile for
me. Sadly, I need to compile it to test out Phantasmal.

Anyways, at first when I tried it, I got a bunch of errors after
trying Make, all about host.c and about redefinitions of macros and
typedefs. So, I tried to comment all the redefinitions out, but then I
got this error:
$ make
cd comp; make 'CC=gcc' 'CCFLAGS=-DLINUX  -g -DDEBUG' 'YACC=yacc' dgd
c:\Dev-Cpp\bin\make.exe[1]: Entering directory `*snip*/dgd/dgd/src/comp'
c:\Dev-Cpp\bin\make.exe[1]: `dgd' is up to date.
c:\Dev-Cpp\bin\make.exe[1]: Leaving directory `*snip*/dgd/dgd/src/comp'
cd lex; make 'CC=gcc' 'CCFLAGS=-DLINUX  -g -DDEBUG' dgd
c:\Dev-Cpp\bin\make.exe[1]: Entering directory `*snip*/dgd/dgd/src/lex'
c:\Dev-Cpp\bin\make.exe[1]: `dgd' is up to date.
c:\Dev-Cpp\bin\make.exe[1]: Leaving directory `*snip*/dgd/dgd/src/lex'
cd ed; make 'CC=gcc' 'CCFLAGS=-DLINUX  -g -DDEBUG' dgd
c:\Dev-Cpp\bin\make.exe[1]: Entering directory `*snip*/dgd/dgd/src/ed'
c:\Dev-Cpp\bin\make.exe[1]: `dgd' is up to date.
c:\Dev-Cpp\bin\make.exe[1]: Leaving directory `*snip*/dgd/src/ed'
cd parser; make 'CC=gcc' 'CCFLAGS=-DLINUX  -g -DDEBUG' dgd
c:\Dev-Cpp\bin\make.exe[1]: Entering directory `*snip*/dgd/dgd/src/parser'
c:\Dev-Cpp\bin\make.exe[1]: `dgd' is up to date.
c:\Dev-Cpp\bin\make.exe[1]: Leaving directory `*snip*/dgd/dgd/src/parser'
cd kfun; make 'CC=gcc' 'CCFLAGS=-DLINUX  -g -DDEBUG' dgd
c:\Dev-Cpp\bin\make.exe[1]: Entering directory `*snip*/dgd/dgd/src/kfun'
gcc -I. -I.. -I../comp -I../parser -DLINUX  -g -DDEBUG   -c -o file.o file.c
file.c: In function `kf_make_dir':
file.c:1371: error: too many arguments to function `mkdir'
c:\Dev-Cpp\bin\make.exe[1]: *** [file.o] Error 1
c:\Dev-Cpp\bin\make.exe[1]: Leaving directory `*snip*/dgd/dgd/src/kfun'
c:\Dev-Cpp\bin\make.exe: *** [a.out] Error 2

Oh, Im guessing it says the whole "up to date" stuff because I already
tried to make it before, but anyways, the problem line is still there.

By the way, Im attempting to compile it on Windows XP using Cygwin (I
used MSYS for the one I copied out but it looks the same in Cygwin).
The dev-CPP make.exe should be GCC too. Could the problem be because
my GCC is outdated? (unsure about that) or is it because this "mkdir"
actually does have too many arguments?

Help would really be appreciated.



More information about the DGD mailing list