On Mon, 16 May 2005, Henrik Nordstrom wrote:



On Mon, 16 May 2005, olivier wrote:

gcc -DHAVE_CONFIG_H
- -DDEFAULT_CONFIG_FILE=\"/usr/local/squid/etc/squid.conf\" -I. -I.
- -I../include -I. -I. -I../include -I../include    -g -O2 -Wall -c `test
- -f dns_internal.c || echo './'`dns_internal.c
dns_internal.c:58: error: syntax error before "rfc1035_query"

This error seems to indicate your include/rfc1035.h file is not up to date.

Make sure your whole tree is up to date, not just the src subdirectory.

Just tested compiling the icap-2.5 branch and the above problem did not show up. A number of other problems did however...


  - strnstr prototype in util.h. needed for compiling strnstr.c

  - a number module-local functions declared without static

- strcasestr is a GNU extension. Prototype only available if _GNU_SOURCE is defined (glibc systems).

All required changes committed.

Regards
Henrik

Reply via email to