I've tried to compile this dnsadmin on 2 different boxes and I've ran into the same problems when compiling:

gcc -I. -I     -g -O2 -Wall -c domain.c
domain.c: In function `display_domain':
domain.c:547: error: missing terminating " character
domain.c:548: error: `Previous' undeclared (first use in this function)
domain.c:548: error: (Each undeclared identifier is reported only once
domain.c:548: error: for each function it appears in.)
domain.c:548: error: syntax error before '/' token
domain.c:548: error: stray '\' in program
domain.c:548: error: missing terminating " character
domain.c:550: error: missing terminating " character
domain.c:551: error: stray '\' in program
domain.c:551: error: missing terminating " character
domain.c:552: error: missing terminating " character
domain.c:553: error: stray '\' in program
domain.c:553: error: missing terminating " character
domain.c:556: error: missing terminating " character
domain.c:557: error: `Next' undeclared (first use in this function)
domain.c:557: error: syntax error before '/' token
domain.c:557: error: stray '\' in program
domain.c:557: error: missing terminating " character
domain.c: At top level:
domain.c:560: error: syntax error before string constant
domain.c:560: warning: type defaults to `int' in declaration of `printf'
domain.c:560: error: conflicting types for 'printf'
domain.c:560: note: a parameter list with an ellipsis can't match an empty parameter name list declaration
domain.c:560: error: conflicting types for 'printf'
domain.c:560: note: a parameter list with an ellipsis can't match an empty parameter name list declaration
domain.c:560: warning: data definition has no type or storage class
domain.c:561: error: syntax error before string constant
domain.c:561: warning: type defaults to `int' in declaration of `printf'
domain.c:561: warning: data definition has no type or storage class
domain.c:562: warning: type defaults to `int' in declaration of `fclose'
domain.c:562: warning: parameter names (without types) in function declaration
domain.c:562: warning: data definition has no type or storage class
domain.c:563: error: syntax error before '}' token
make[2]: *** [domain.o] Error 1
make[2]: Leaving directory `/usr/local/src/dnsadmin-0.9'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/local/src/dnsadmin-0.9'
make: *** [all-recursive-am] Error 2

Any ideas?

PS. I don't know C++ and I wasn't about to start playing with missing }.

--
Best Regards,
Stephen

Reply via email to