Re: 3.1.5.1 do not build

From: Amos Jeffries <squid3_at_treenet.co.nz>
Date: Thu, 29 Jul 2010 01:08:09 +0000

On Thu, 29 Jul 2010 00:33:12 +0200, Henrik Nordström
<henrik_at_henriknordstrom.net> wrote:
> Looks like the new src/stub_debug.cc file have not been tested?
>
> Seems to be missing a whole lot #include files. It's not pulling in
> squid.h so it needs to include every header it needs.
>
> The errors I get are:
>
> stub_debug.cc: In function 'void _db_print(const char*, ...)':
> stub_debug.cc:20: error: 'BUFSIZ' was not declared in this scope
> stub_debug.cc:29: error: 'f' was not declared in this scope
> stub_debug.cc:31: error: 'snprintf' was not declared in this
scope
> stub_debug.cc: In function 'void _db_print_stderr(const char*,
> __va_list_tag*)':
> stub_debug.cc:49: error: 'stderr' was not declared in this scope
> stub_debug.cc:49: error: 'vfprintf' was not declared in this
scope
>
> which all seem to be due to missing #include <stdio.h>
>
> Regards
> Henrik

Well deserving its renewed beta status then :( grr.

Thanks.

What beats me is why it build and passes the testbed on squid-cache. The
package generation should be aborted by a ./test-builds.sh failure on this.

Amos
Received on Thu Jul 29 2010 - 01:08:26 MDT

This archive was generated by hypermail 2.2.0 : Thu Jul 29 2010 - 12:00:10 MDT