httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Marc Slemko <ma...@worldgate.com>
Subject Re: SUN OS 4 - ERROR during COMPILATION
Date Wed, 03 Sep 1997 06:23:40 GMT
On Mon, 1 Sep 1997, Marco PINNA wrote:

> 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):

Erm... this isn't really appropriate to this list.

> 
> 
> 
> 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

You are trying to use Sun's cc.  It is ancient.  It does not support any
sort of reasonably modern ANSI C.  Apache will not compile with it.  You
need something like gcc.

> "./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
> 


Mime
View raw message