You are viewing a plain text version of this content. The canonical link for it is here.
Posted to apreq-dev@httpd.apache.org by Jamie Krasnoo <kr...@socal.rr.com> on 2003/07/13 21:41:02 UTC

errors - was: Deprecation error

OK, here's a list of the warnings when compiled:

In file included from /usr/include/apache/ap_config.h:269,
                 from /usr/include/apache/httpd.h:72,
                 from mod_apreq.c:55:
/usr/include/apache/ap_config_auto.h:167:1: warning: "PACKAGE_BUGREPORT"
redefined
mod_apreq.c:1:1: warning: this is the location of the previous
definition
/usr/include/apache/ap_config_auto.h:170:1: warning: "PACKAGE_NAME"
redefined
mod_apreq.c:1:1: warning: this is the location of the previous
definition
/usr/include/apache/ap_config_auto.h:173:1: warning: "PACKAGE_STRING"
redefined
mod_apreq.c:1:1: warning: this is the location of the previous
definition
/usr/include/apache/ap_config_auto.h:176:1: warning: "PACKAGE_TARNAME"
redefinedmod_apreq.c:1:1: warning: this is the location of the previous
definition
/usr/include/apache/ap_config_auto.h:179:1: warning: "PACKAGE_VERSION"
redefinedmod_apreq.c:1:1: warning: this is the location of the previous
definition


When the tests were run an error came up:
apreq/cookie.......NOK 5# Failed test 5 in apreq/cookie.t at line 59

The log errors in the test showed:
[Sun Jul 13 12:22:38 2003] [debug] mod_apreq.c(217): [client 127.0.0.1]
apreq request is now initialized
[Sun Jul 13 12:22:38 2003] [debug] mod_apreq.c(401): [client 127.0.0.1]
(70008)Partial results are valid but processing is incomplete: leaving
filter (1)

over and over again but with different line numbers. I then pulled a
fresh directory down from CVS in hopes that it might fix the problem.
Unfortunately it didn't work. I still got segfaults and the ldd answer
was:

libapreq.so.2 => /home/tekton/httpd-apreq-2/src/.libs/libapreq.so.2
(0x4000b000)
        libapr-0.so.0 => /usr/lib/libapr-0.so.0 (0x40013000)
        libaprutil-0.so.0 => /usr/lib/libaprutil-0.so.0 (0x40030000)
        libc.so.6 => /lib/tls/libc.so.6 (0x42000000)
        /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x80000000)

I think I did something wrong here, not sure what though. I hope this
helps.

Jamie




Re: errors - was: Deprecation error

Posted by Joe Schaefer <jo...@sunstarsys.com>.
Jamie Krasnoo <kr...@socal.rr.com> writes:

> OK, here's a list of the warnings when compiled:

[...]

> /usr/include/apache/ap_config_auto.h:179:1: warning: "PACKAGE_VERSION"
> redefinedmod_apreq.c:1:1: warning: this is the location of the previous
> definition

These warnings are nothing to worry about.

> When the tests were run an error came up:
> apreq/cookie.......NOK 5# Failed test 5 in apreq/cookie.t at line 59

Hmm, if you're using the latest cvs, be sure to recompile libapreq-2

  % cvs update
  % make test
  % make perl_glue

and then try running just the cookie tests:

  % cd glue/perl
  % t/TEST -v apreq/cookie
  ...
  ok 3
  # testing : bake
  # expected: apache=ok
  # received: apache=ok
  ok 4
  # testing : bake2
  # expected: apache="ok"; Version=1; path="/TestApReq__cookie"
  # received: apache="ok"; Version=1; path="/TestApReq__cookie"
  ok 5
  ...

If you still get a segfault on the cookie tests, follow the 
instructions for running gdb on the core file, and post the
backtrace ('bt') output.

-- 
Joe Schaefer