www-apache-bugdb mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alan Olsen <a...@ctrl-alt-del.com>
Subject os-sunos/136: Regex code does not build. Gives fatal compile errors.
Date Tue, 28 Jan 1997 23:50:01 GMT

	The contract type is `' with a response time of 3 business hours.
	A first analysis should be sent before: Wed Jan 29 10:00:01 PST 1997


>Number:         136
>Category:       os-sunos
>Synopsis:       Regex code does not build.  Gives fatal compile errors.
>Confidential:   no
>Severity:       critical
>Priority:       medium
>Responsible:    gnats-admin (GNATS administrator)
>State:          open
>Class:          sw-bug
>Submitter-Id:   apache
>Arrival-Date:   Tue Jan 28 15:50:01 1997
>Originator:     alan@ctrl-alt-del.com
>Organization:
apache
>Release:        1.2b6
>Environment:
Sun OS 4.1.4.  Clean install.
>Description:
When the make command is issued, the following errors appear:

viper% make
(cd regex; make lib CC=cc AUX_CFLAGS='-O2 -DSUNOS4 -DUSEBCOPY ' RANLIB='ranlib')
rm -f *.o
sh ./mkh  -i _REGEX_H_ regex2.h regcomp.c regerror.c regexec.c regfree.c >regex.
tmp
cmp -s regex.tmp regex.h 2>/dev/null || cp regex.tmp regex.h
rm -f regex.tmp
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 /export/tools/apache_1.2b6/src/regex
*** Error code 1
make: Fatal error: Command failed for target `regex/libregex.a'
viper%

This is under a clean install of Sun OS 4.1.4 on a brand new Sparc.  
(There are no patches (that I know of) on this version of the kernel.)

Changing the rule for WANTHSREGEX to "no" does not build, as the
proper headers do not exist in the current libraries.
>How-To-Repeat:
Install a clean version of Sun OS 4.1.4.
run ./Config.
run make.
watch it go boom.
>Fix:
Non
>Audit-Trail:
>Unformatted:



Mime
View raw message