You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@httpd.apache.org by "Roy T. Fielding" <fi...@kiwi.ics.uci.edu> on 1997/07/14 10:03:06 UTC
Current won't compile on Solaris
After a make clean
fielding@kiwi% ./Configure
Using config file: Configuration
Using Makefile template file: Makefile.tmpl
+ configured for Solaris 2 platform
+ setting C compiler to gcc
+ setting C compiler optimization-level to -O2
fielding@kiwi% make
(cd regex; make lib CC=gcc AUX_CFLAGS='-O2 -DSOLARIS2 -DSTATUS -g -Wall' RANLIB='ranlib')
make[1]: Entering directory `/extra/fielding0/private/ws/apache/src/regex'
rm -f *.o
gcc -I. -DPOSIX_MISTAKE -O2 -DSOLARIS2 -DSTATUS -g -Wall -c regcomp.c -o regcomp.o
In file included from regcomp.c:7:
regex.h:61: parse error before `regexec'
regex.h:61: warning: data definition has no type or storage class
make[1]: *** [regcomp.o] Error 1
make[1]: Leaving directory `/extra/fielding0/private/ws/apache/src/regex'
make: *** [regex/libregex.a] Error 2
Probably due to screwing with the .ih files. For now, I'll work around
it by setting WANTHSREGEX=no.
....Roy
Re: Current won't compile on Solaris
Posted by Ben Laurie <be...@algroup.co.uk>.
Roy T. Fielding wrote:
> After a make clean
>
> fielding@kiwi% ./Configure
> Using config file: Configuration
> Using Makefile template file: Makefile.tmpl
> + configured for Solaris 2 platform
> + setting C compiler to gcc
> + setting C compiler optimization-level to -O2
> fielding@kiwi% make
> (cd regex; make lib CC=gcc AUX_CFLAGS='-O2 -DSOLARIS2 -DSTATUS -g
> -Wall' RANLIB='ranlib')
> make[1]: Entering directory
> `/extra/fielding0/private/ws/apache/src/regex'
> rm -f *.o
> gcc -I. -DPOSIX_MISTAKE -O2 -DSOLARIS2 -DSTATUS -g -Wall -c
> regcomp.c -o regcomp.o
> In file included from regcomp.c:7:
> regex.h:61: parse error before `regexec'
> regex.h:61: warning: data definition has no type or storage class
> make[1]: *** [regcomp.o] Error 1
> make[1]: Leaving directory
> `/extra/fielding0/private/ws/apache/src/regex'
> make: *** [regex/libregex.a] Error 2
>
> Probably due to screwing with the .ih files. For now, I'll work
> around
> it by setting WANTHSREGEX=no.
My mistake - I'll fix it now.
Cheers,
Ben.
--
Ben Laurie [Normal service will be resumed as soon as possible]