Re: [squid-users] Error with make "debug.c: In function `_db_print_syslog':"

From: Serassio Guido <guido.serassio@dont-contact.us>
Date: Mon, 06 Jun 2005 22:28:06 +0200

Hi,

At 18.08 06/06/2005, Pablinos wrote:

>Does anyone had this error with make on a Solaris 8?
>Configure did not show any error messages.
>
>
>Making all in basic
>make[4]: Entering directory `/usr/local/src/squid-2.5.STABLE10/src/auth/basic'
>make[5]: Entering directory `/usr/local/src/squid-2.5.STABLE10/src/auth/basic'
>make[5]: Nothing to be done for `all-am'.
>make[5]: Leaving directory `/usr/local/src/squid-2.5.STABLE10/src/auth/basic'
>make[4]: Leaving directory `/usr/local/src/squid-2.5.STABLE10/src/auth/basic'
>make[4]: Entering directory `/usr/local/src/squid-2.5.STABLE10/src/auth'
>make[4]: Nothing to be done for `all-am'.
>make[4]: Leaving directory `/usr/local/src/squid-2.5.STABLE10/src/auth'
>make[3]: Leaving directory `/usr/local/src/squid-2.5.STABLE10/src/auth'
>make[3]: Entering directory `/usr/local/src/squid-2.5.STABLE10/src'
>source='debug.c' object='debug.o' libtool=no \
>depfile='.deps/debug.Po' tmpdepfile='.deps/debug.TPo' \
>depmode=gcc3 /bin/sh ../cfgaux/depcomp \
>gcc -DHAVE_CONFIG_H
>-DDEFAULT_CONFIG_FILE=\"/usr/local/squid/etc/squid.conf\" -I. -I.
>-I../include -I. -I. -I../include -I../
>include -I/usr/include -I/usr/include -c `test -f debug.c || echo
>'./'`debug.c
>debug.c: In function `_db_print_syslog':
>debug.c:131: error: `LOG_WARNING' undeclared (first use in this function)
>debug.c:131: error: (Each undeclared identifier is reported only once
>debug.c:131: error: for each function it appears in.)
>debug.c:131: error: `LOG_NOTICE' undeclared (first use in this function)
>make[3]: *** [debug.o] Error 1
>make[3]: Leaving directory `/usr/local/src/squid-2.5.STABLE10/src'
>make[2]: *** [all-recursive] Error 1
>make[2]: Leaving directory `/usr/local/src/squid-2.5.STABLE10/src'
>make[1]: *** [all] Error 2
>make[1]: Leaving directory `/usr/local/src/squid-2.5.STABLE10/src'
>make: *** [all-recursive] Error 1e
>
>
>I cant find where is the problem, may be someone had the same problem
>and can help me or see something that I am forgetting.
>
>Thanks in advance!

What configure options ?

I have just tried on a Solaris 9 x86 without problems.

Check for /usr/include/syslog.h and /usr/include/sys/syslog.h files and if
there is any other syslog.h file in other place.

Regards

Guido

-
========================================================
Guido Serassio
Acme Consulting S.r.l. - Microsoft Certified Partner
Via Lucia Savarino, 1 10098 - Rivoli (TO) - ITALY
Tel. : +39.011.9530135 Fax. : +39.011.9781115
Email: guido.serassio@acmeconsulting.it
WWW: http://www.acmeconsulting.it/
Received on Mon Jun 06 2005 - 14:28:32 MDT

This archive was generated by hypermail pre-2.1.9 : Fri Jul 01 2005 - 12:00:02 MDT