Re: [squid-users] Solaris/OpenSSL/MD5 Issues

From: Randall DuCharme <radio-ad5gb@dont-contact.us>
Date: Wed, 7 Nov 2007 22:58:54 -0500 (EST)

Greetings,

Amos requested I post here with these results. A brief update first...
I installed libtool(1.5.24), grabbed a fresh squid-2.6.STABLE16 tarball
and tried to run bootstrap.sh. It first complained about autoconf
(which lives in /usr/sfw....) being too old so I installed 2.60 in
/usr/local, adjusted my path so that it was before /usr/sfw... and
was able to run bootstrap.sh without a single error. I ran configure
this time with flags & setups for gcc (3.4.3), ran gmake and was left
with.....

gcc -DHAVE_CONFIG_H -DDEFAULT_CONFIG_FILE=\"/usr/local/squid/etc/squid.conf\" -I. -I../include -I. -I. -I../include -I../include -I/usr/local/include -DSOLARIS2=11 -m64 -march=opteron -mcpu=opteron -mtune=opteron -msse3 -m3dnow -mfpmath=sse -pthreads -D_REENTRANT -pthreads -MT client_db.o -MD -MP -MF .deps/client_db.Tpo -c -o client_db.o client_db.c
mv -f .deps/client_db.Tpo .deps/client_db.Po
gcc -DHAVE_CONFIG_H -DDEFAULT_CONFIG_FILE=\"/usr/local/squid/etc/squid.conf\" -I. -I../include -I. -I. -I../include -I../include -I/usr/local/include -DSOLARIS2=11 -m64 -march=opteron -mcpu=opteron -mtune=opteron -msse3 -m3dnow -mfpmath=sse -pthreads -D_REENTRANT -pthreads -MT client_side.o -MD -MP -MF .deps/client_side.Tpo -c -o client_side.o client_side.c
In file included from /usr/include/inet/ip_stack.h:37,
                 from /usr/include/inet/ip.h:50,
                 from /usr/include/netinet/ip_compat.h:189,
                 from client_side.c:70:
/usr/include/sys/md5.h:62: error: conflicting types for 'MD5_CTX'
../include/md5.h:59: error: previous declaration of 'MD5_CTX' was here
/usr/include/sys/md5.h:64: error: conflicting types for 'MD5Init'
../include/md5.h:61: error: previous declaration of 'MD5Init' was here
/usr/include/sys/md5.h:64: error: conflicting types for 'MD5Init'
../include/md5.h:61: error: previous declaration of 'MD5Init' was here
/usr/include/sys/md5.h:65: error: conflicting types for 'MD5Update'
../include/md5.h:62: error: previous declaration of 'MD5Update' was here
/usr/include/sys/md5.h:65: error: conflicting types for 'MD5Update'
../include/md5.h:62: error: previous declaration of 'MD5Update' was here
/usr/include/sys/md5.h:66: error: conflicting types for 'MD5Final'
../include/md5.h:63: error: previous declaration of 'MD5Final' was here
/usr/include/sys/md5.h:66: error: conflicting types for 'MD5Final'
../include/md5.h:63: error: previous declaration of 'MD5Final' was here
gmake[3]: *** [client_side.o] Error 1
gmake[3]: Leaving directory `/export/home/randy/Download/squid-2.6.STABLE16/src'
gmake[2]: *** [all-recursive] Error 1
gmake[2]: Leaving directory `/export/home/randy/Download/squid-2.6.STABLE16/src'
gmake[1]: *** [all] Error 2
gmake[1]: Leaving directory `/export/home/randy/Download/squid-2.6.STABLE16/src'
gmake: *** [all-recursive] Error 1

I thought I'd back up to a known good production version first b4
fooling with 3.x and use GCC rather than the Sun compiler before
moving ahead with what I was trying to do when I first posted this,
but I still have the same problems with the sys headers. I've
attached the config.log and autoconf.h files as Amos requested. I
do not have a patch to post yet as I'm just now beginning to try
to figure out why this is failing all of a sudden. I have never had
a single problem building Squid on any version of Solaris in the
past but I can't build any of them on the latest version of Solaris
10 (released 08-2007) or on OpenSolaris NV-74. I'm not sure
what changed or where. Oh, BTW.... this is the x86 version of SunOS
on the AMD64 platform.... not a SPARC, in case anyone was wondering.

If I stumble upon a solution, I'll surely post what I've found.

Many thanks and kind regards!

--
Randall D. DuCharme (Radio AD5GB)
Powered by OpenSolaris!
http://www.opensolaris.org

_______________________________________________
Join Excite! - http://www.excite.com
The most personalized portal on the Web!
Received on Wed Nov 07 2007 - 20:59:06 MST

This archive was generated by hypermail pre-2.1.9 : Sat Dec 01 2007 - 12:00:05 MST