I have a SUN SPARC 10, SUN OS 4, and I downloaded the APACHE 1.2.4.
I have a problem when I make the "make" (below a sample of the output):
comit2 99 > pwd
/home/bci03jpm/apache/apache_1.2.4/src
comit2 100 > make
(cd regex; make lib CC=cc AUX_CFLAGS='-O2 -DSUNOS4 -DUSEBCOPY '
RANLIB='ranlib')
rm -f *.o
cc -I. -DPOSIX_MISTAKE -O2 -DSUNOS4 -DUSEBCOPY -target sun4 -c
regcomp.c
"./regex.h", line 13: syntax error at or near variable name "const"
"./regex.h", line 23: syntax error at or near symbol *
"./regex.h", line 23: regex_t declared as parameter to non-function
"./regex.h", line 23: const declared as parameter to non-function
"./regex.h", line 53: syntax error at or near type word "int"
"./regex.h", line 53: const declared as parameter to non-function
"./regex.h", line 57: syntax error at or near variable name "regex_t"
"./regex.h", line 57: redeclaration of formal parameter, const
"./regex.h", line 57: const declared as parameter to non-function
"./regex.h", line 57: const declared as parameter to non-function
"./regex.h", line 67: syntax error at or near symbol *
"./regex.h", line 67: regex_t declared as parameter to non-function
"./regcomp.ih", line 7: syntax error at or near word "register"
"./regcomp.ih", line 8: syntax error at or near word "register"
"./regcomp.ih", line 9: syntax error at or near word "register"
"./regcomp.ih", line 10: syntax error at or near word "register"
"./regcomp.ih", line 11: syntax error at or near word "register"
"./regcomp.ih", line 12: syntax error at or near word "register"
"./regcomp.ih", line 13: syntax error at or near word "register"
"./regcomp.ih", line 14: syntax error at or near word "register"
"./regcomp.ih", line 15: syntax error at or near word "register"
"./regcomp.ih", line 16: syntax error at or near word "register"
"./regcomp.ih", line 17: syntax error at or near word "register"
"./regcomp.ih", line 18: syntax error at or near word "register"
"./regcomp.ih", line 19: syntax error at or near type word "int"
"./regcomp.ih", line 20: syntax error at or near word "register"
"./regcomp.ih", line 21: syntax error at or near word "register"
"./regcomp.ih", line 22: syntax error at or near word "register"
"./regcomp.ih", line 23: syntax error at or near word "register"
"./regcomp.ih", line 24: syntax error at or near word "register"
"./regcomp.ih", line 25: syntax error at or near word "register"
"./regcomp.ih", line 25: fatal error: too many errors
*** Error code 1
make: Fatal error: Command failed for target `regcomp.o'
Current working directory /home/bci03jpm/apache/apache_1.2.4/src/regex
*** Error code 1
make: Fatal error: Command failed for target `regex/libregex.a'
comit2 101>
Where is the mistake ?
I thank you in advance.
Marco PINNA
|