Re: [squid-users] help with 3.0 PRE2

From: J.D. Bronson <jeff_bronson@dont-contact.us>
Date: Wed, 30 Jul 2003 07:04:28 -0500

At 06:59 AM 07/30/2003, you wrote:
>* J.D. Bronson <jeff_bronson@wixb.com>:
> > Where do I ask for help on a build (under solaris 9 sparc) for Squid 3.0?
> >
> > Thanks.
> >
> > PS. I am not sure its a bug...but even a vanilla build fails.
>
>What fails and how?

Hi Ralf! -

Under solaris 9...... ( I think this is already a bug )
Bugzilla Bug 697
   _SQUID_SOLARIS_ gethostname workaround broken on newer Solaris

=================================================
~
~
make[3]: Entering directory `/junk/squid-3.0-PRE2-20030730/src/fs'
if g++ -DHAVE_CONFIG_H -I. -I. -I../../include -I. -I../../include
-I../../include -I../../src/ -I/usr/local/ssl/include -Werror -Wall
-Wpointer-arith -Wwrite-strings -Wmissing-prototypes -Wcomments -g -O2
-D_REENTRANT -pthreads -MT ufs/store_dir_ufs.o -MD -MP -MF
"ufs/.deps/store_dir_ufs.Tpo" \
   -c -o ufs/store_dir_ufs.o `test -f 'ufs/store_dir_ufs.cc' || echo
'./'`ufs/store_dir_ufs.cc; \
then mv -f "ufs/.deps/store_dir_ufs.Tpo" "ufs/.deps/store_dir_ufs.Po"; \
else rm -f "ufs/.deps/store_dir_ufs.Tpo"; exit 1; \
fi
In file included from ../../src/squid.h:356,
                  from ufs/store_dir_ufs.cc:36:
../../src/protos.h:1045: error: declaration of C function `int
    gethostname(char*, int)' conflicts with
/usr/include/unistd.h:278: error: previous declaration `int gethostname(char*,
    unsigned int)' here
make[3]: *** [ufs/store_dir_ufs.o] Error 1
make[3]: Leaving directory `/junk/squid-3.0-PRE2-20030730/src/fs'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/junk/squid-3.0-PRE2-20030730/src'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/junk/squid-3.0-PRE2-20030730/src'
make: *** [all-recursive] Error 1

=========================================

Neither the bug author nor myself know how to fix this.
Any comments *WILL* be greatly appreciated :-)

Jeff

-- 
J.D. Bronson
Aurora Health Care // Information Services // Milwaukee, WI USA
Office: 414.978.8282 // Fax: 414.328.8282 // Pager: 414.314.8282
Received on Wed Jul 30 2003 - 06:02:35 MDT

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 17:18:20 MST