httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dean Gaudet <dgau...@arctic.org>
Subject bug in new Makefile
Date Sat, 16 Aug 1997 16:52:13 GMT
Haven't looked into why yet.  But it tried to compiile core/http_config.c
twice.  Once when it had done "cd core; make" and once again without doing
cd, but using the patch core/http_config.c.  It happens when there's a
compilation error in one of the core/*.c files ... here's some output
below from some code I'm working on.

Dean

cd /home/dgaudet/ap/apachen2/src/os/unix; make
make[1]: Entering directory `/home/dgaudet/ap/apachen2/src/os/unix'
gcc -c -I/home/dgaudet/ap/apachen2/src/regex -I/home/dgaudet/ap/apachen2/src/core  -O2 -g
-DLINUX=2 -Wall -Wshadow  os.c
make[1]: Leaving directory `/home/dgaudet/ap/apachen2/src/os/unix'
cd core; make
make[1]: Entering directory `/home/dgaudet/ap/apachen2/src/core'
gcc -c -I/home/dgaudet/ap/apachen2/src/regex -I/home/dgaudet/ap/apachen2/src/core  -O2 -g
-DLINUX=2 -Wall -Wshadow  alloc.c
gcc -c -I/home/dgaudet/ap/apachen2/src/regex -I/home/dgaudet/ap/apachen2/src/core  -O2 -g
-DLINUX=2 -Wall -Wshadow  http_main.c
gcc -c -I/home/dgaudet/ap/apachen2/src/regex -I/home/dgaudet/ap/apachen2/src/core  -O2 -g
-DLINUX=2 -Wall -Wshadow  http_core.c
gcc -c -I/home/dgaudet/ap/apachen2/src/regex -I/home/dgaudet/ap/apachen2/src/core  -O2 -g
-DLINUX=2 -Wall -Wshadow  http_config.c
http_config.c:263: called object is not a function
http_config.c:264: initializer element for `method_offsets[7]' is not constant
make[1]: *** [http_config.o] Error 1
gcc -c -I/home/dgaudet/ap/apachen2/src/regex -I/home/dgaudet/ap/apachen2/src/core  -O2 -g
-DLINUX=2 -Wall -Wshadow  http_request.c
gcc -c -I/home/dgaudet/ap/apachen2/src/regex -I/home/dgaudet/ap/apachen2/src/core  -O2 -g
-DLINUX=2 -Wall -Wshadow  http_log.c
gcc -c -I/home/dgaudet/ap/apachen2/src/regex -I/home/dgaudet/ap/apachen2/src/core  -O2 -g
-DLINUX=2 -Wall -Wshadow  http_protocol.c
gcc -c -I/home/dgaudet/ap/apachen2/src/regex -I/home/dgaudet/ap/apachen2/src/core  -O2 -g
-DLINUX=2 -Wall -Wshadow  rfc1413.c
gcc -c -I/home/dgaudet/ap/apachen2/src/regex -I/home/dgaudet/ap/apachen2/src/core  -O2 -g
-DLINUX=2 -Wall -Wshadow  util.c
gcc -c -I/home/dgaudet/ap/apachen2/src/regex -I/home/dgaudet/ap/apachen2/src/core  -O2 -g
-DLINUX=2 -Wall -Wshadow  util_script.c
gcc -c -I/home/dgaudet/ap/apachen2/src/regex -I/home/dgaudet/ap/apachen2/src/core  -O2 -g
-DLINUX=2 -Wall -Wshadow  buff.c
gcc -c -I/home/dgaudet/ap/apachen2/src/regex -I/home/dgaudet/ap/apachen2/src/core  -O2 -g
-DLINUX=2 -Wall -Wshadow  md5c.c
gcc -c -I/home/dgaudet/ap/apachen2/src/regex -I/home/dgaudet/ap/apachen2/src/core  -O2 -g
-DLINUX=2 -Wall -Wshadow  util_md5.c
gcc -c -I/home/dgaudet/ap/apachen2/src/regex -I/home/dgaudet/ap/apachen2/src/core  -O2 -g
-DLINUX=2 -Wall -Wshadow  explain.c
gcc -c -I/home/dgaudet/ap/apachen2/src/regex -I/home/dgaudet/ap/apachen2/src/core  -O2 -g
-DLINUX=2 -Wall -Wshadow  http_bprintf.c
gcc -c -I/home/dgaudet/ap/apachen2/src/regex -I/home/dgaudet/ap/apachen2/src/core  -O2 -g
-DLINUX=2 -Wall -Wshadow  util_date.c
gcc -c -I/home/dgaudet/ap/apachen2/src/regex -I/home/dgaudet/ap/apachen2/src/core  -O2 -g
-DLINUX=2 -Wall -Wshadow  util_snprintf.c
gcc -c -I/home/dgaudet/ap/apachen2/src/regex -I/home/dgaudet/ap/apachen2/src/core  -O2 -g
-DLINUX=2 -Wall -Wshadow  fnmatch.c
make[1]: Target `all' not remade because of errors.
make[1]: Leaving directory `/home/dgaudet/ap/apachen2/src/core'
make: *** [core-dir] Error 2
(cd modules; \
make CC='gcc' AUX_CFLAGS='-O2 -g -DLINUX=2 -Wall -Wshadow' RANLIB='ranlib')
make[1]: Entering directory `/home/dgaudet/ap/apachen2/src/modules'
(cd standard; make CC='gcc' AUX_CFLAGS='-I../../regex -O2 -g -DLINUX=2 -Wall -Wshadow' RANLIB='ranlib')
make[2]: Entering directory `/home/dgaudet/ap/apachen2/src/modules/standard'
gcc -c -I/home/dgaudet/ap/apachen2/src/regex -I/home/dgaudet/ap/apachen2/src/core  -O2 -g
-DLINUX=2 -Wall -Wshadow  mod_env.c
gcc -c -I/home/dgaudet/ap/apachen2/src/regex -I/home/dgaudet/ap/apachen2/src/core  -O2 -g
-DLINUX=2 -Wall -Wshadow  mod_log_config.c
gcc -c -I/home/dgaudet/ap/apachen2/src/regex -I/home/dgaudet/ap/apachen2/src/core  -O2 -g
-DLINUX=2 -Wall -Wshadow  mod_mime.c
gcc -c -I/home/dgaudet/ap/apachen2/src/regex -I/home/dgaudet/ap/apachen2/src/core  -O2 -g
-DLINUX=2 -Wall -Wshadow  mod_negotiation.c
gcc -c -I/home/dgaudet/ap/apachen2/src/regex -I/home/dgaudet/ap/apachen2/src/core  -O2 -g
-DLINUX=2 -Wall -Wshadow  mod_status.c
mod_status.c:132: warning: `format_byte_out' defined but not used
mod_status.c:144: warning: `format_kbyte_out' defined but not used
gcc -c -I/home/dgaudet/ap/apachen2/src/regex -I/home/dgaudet/ap/apachen2/src/core  -O2 -g
-DLINUX=2 -Wall -Wshadow  mod_include.c
gcc -c -I/home/dgaudet/ap/apachen2/src/regex -I/home/dgaudet/ap/apachen2/src/core  -O2 -g
-DLINUX=2 -Wall -Wshadow  mod_autoindex.c
gcc -c -I/home/dgaudet/ap/apachen2/src/regex -I/home/dgaudet/ap/apachen2/src/core  -O2 -g
-DLINUX=2 -Wall -Wshadow  mod_dir.c
gcc -c -I/home/dgaudet/ap/apachen2/src/regex -I/home/dgaudet/ap/apachen2/src/core  -O2 -g
-DLINUX=2 -Wall -Wshadow  mod_cgi.c
gcc -c -I/home/dgaudet/ap/apachen2/src/regex -I/home/dgaudet/ap/apachen2/src/core  -O2 -g
-DLINUX=2 -Wall -Wshadow  mod_asis.c
gcc -c -I/home/dgaudet/ap/apachen2/src/regex -I/home/dgaudet/ap/apachen2/src/core  -O2 -g
-DLINUX=2 -Wall -Wshadow  mod_imap.c
gcc -c -I/home/dgaudet/ap/apachen2/src/regex -I/home/dgaudet/ap/apachen2/src/core  -O2 -g
-DLINUX=2 -Wall -Wshadow  mod_actions.c
gcc -c -I/home/dgaudet/ap/apachen2/src/regex -I/home/dgaudet/ap/apachen2/src/core  -O2 -g
-DLINUX=2 -Wall -Wshadow  mod_userdir.c
gcc -c -I/home/dgaudet/ap/apachen2/src/regex -I/home/dgaudet/ap/apachen2/src/core  -O2 -g
-DLINUX=2 -Wall -Wshadow  mod_alias.c
gcc -c -I/home/dgaudet/ap/apachen2/src/regex -I/home/dgaudet/ap/apachen2/src/core  -O2 -g
-DLINUX=2 -Wall -Wshadow  mod_access.c
gcc -c -I/home/dgaudet/ap/apachen2/src/regex -I/home/dgaudet/ap/apachen2/src/core  -O2 -g
-DLINUX=2 -Wall -Wshadow  mod_auth.c
gcc -c -I/home/dgaudet/ap/apachen2/src/regex -I/home/dgaudet/ap/apachen2/src/core  -O2 -g
-DLINUX=2 -Wall -Wshadow  mod_setenvif.c
gcc -c -I/home/dgaudet/ap/apachen2/src/regex -I/home/dgaudet/ap/apachen2/src/core  -O2 -g
-DLINUX=2 -Wall -Wshadow  mod_seqnum.c
make[2]: Leaving directory `/home/dgaudet/ap/apachen2/src/modules/standard'
Done building module subdirectories
make[1]: Leaving directory `/home/dgaudet/ap/apachen2/src/modules'
(cd regex; make lib CC='gcc' AUX_CFLAGS='-O2 -g -DLINUX=2 -Wall -Wshadow' RANLIB='ranlib')
make[1]: Entering directory `/home/dgaudet/ap/apachen2/src/regex'
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
gcc -I. -DPOSIX_MISTAKE -O2 -g -DLINUX=2 -Wall -Wshadow   -c regcomp.c -o regcomp.o
gcc -I. -DPOSIX_MISTAKE -O2 -g -DLINUX=2 -Wall -Wshadow   -c regexec.c -o regexec.o
gcc -I. -DPOSIX_MISTAKE -O2 -g -DLINUX=2 -Wall -Wshadow   -c regerror.c -o regerror.o
gcc -I. -DPOSIX_MISTAKE -O2 -g -DLINUX=2 -Wall -Wshadow   -c regfree.c -o regfree.o
rm -f libregex.a
ar crv libregex.a regcomp.o regexec.o regerror.o regfree.o
a - regcomp.o
a - regexec.o
a - regerror.o
a - regfree.o
ranlib libregex.a
make[1]: Leaving directory `/home/dgaudet/ap/apachen2/src/regex'
gcc -c -I/home/dgaudet/ap/apachen2/src/regex -I/home/dgaudet/ap/apachen2/src/core  -O2 -g
-DLINUX=2 -Wall -Wshadow  core/http_config.c
core/http_config.c:263: called object is not a function
core/http_config.c:264: initializer element for `method_offsets[7]' is not constant
make: *** [core/http_config.o] Error 1
gcc -c -I/home/dgaudet/ap/apachen2/src/regex -I/home/dgaudet/ap/apachen2/src/core  -O2 -g
-DLINUX=2 -Wall -Wshadow  modules.c
make: Target `all' not remade because of errors.
150.140u 16.520s 3:01.43 91.8% 0+0k 0+0io 32296pf+0w
Exit 2



Mime
View raw message