Greetings,
Finally got some time again to get auto-tools working correctly,
learn a little bit about using it, and work with the patch. First
attempt after bootstrapping and configure (with 3.0.RC1 and GCC)
left me with this:
.
.
.
if gcc -DHAVE_CONFIG_H -I. -I. -I../include -I../include -I../include
-I/usr/include/libxml2 -I/usr/local/include -Werror -Wall -Wpointer-arith
-Wwrite-strings -Wmissing-prototypes -Wmissing-declarations -Wcomments
-D_REENTRANT -pthreads -DSOLARIS2=11 -m64 -march=opteron -mcpu=opteron
-mtune=opteron -msse3 -m3dnow -mfpmath=sse -pthreads -MT rfc1123.o -MD -MP -MF
".deps/rfc1123.Tpo" -c -o rfc1123.o rfc1123.c; \
then mv -f ".deps/rfc1123.Tpo" ".deps/rfc1123.Po"; else rm -f
".deps/rfc1123.Tpo"; exit 1; fi
if gcc -DHAVE_CONFIG_H -I. -I. -I../include -I../include -I../include
-I/usr/include/libxml2 -I/usr/local/include -Werror -Wall -Wpointer-arith
-Wwrite-strings -Wmissing-prototypes -Wmissing-declarations -Wcomments
-D_REENTRANT -pthreads -DSOLARIS2=11 -m64 -march=opteron -mcpu=opteron
-mtune=opteron -msse3 -m3dnow -mfpmath=sse -pthreads -MT rfc1738.o -MD -MP -MF
".deps/rfc1738.Tpo" -c -o rfc1738.o rfc1738.c; \
then mv -f ".deps/rfc1738.Tpo" ".deps/rfc1738.Po"; else rm -f
".deps/rfc1738.Tpo"; exit 1; fi
if gcc -DHAVE_CONFIG_H -I. -I. -I../include -I../include -I../include
-I/usr/include/libxml2 -I/usr/local/include -Werror -Wall -Wpointer-arith
-Wwrite-strings -Wmissing-prototypes -Wmissing-declarations -Wcomments
-D_REENTRANT -pthreads -DSOLARIS2=11 -m64 -march=opteron -mcpu=opteron
-mtune=opteron -msse3 -m3dnow -mfpmath=sse -pthreads -MT rfc2617.o -MD -MP -MF
".deps/rfc2617.Tpo" -c -o rfc2617.o rfc2617.c; \
then mv -f ".deps/rfc2617.Tpo" ".deps/rfc2617.Po"; else rm -f
".deps/rfc2617.Tpo"; exit 1; fi
rfc2617.c: In function `DigestCalcHA1':
rfc2617.c:119: warning: implicit declaration of function `MD5_Init'
rfc2617.c:120: warning: implicit declaration of function `MD5_Update'
rfc2617.c:125: warning: implicit declaration of function `MD5_Final'
gmake[2]: *** [rfc2617.o] Error 1
gmake[2]: Leaving directory `/export/home/randy/Download/squid-3.0.RC1/lib'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/export/home/randy/Download/squid-3.0.RC1/lib'
gmake: *** [all-recursive] Error 1
I'll start digging around a bit now that I have autotools and libtool
working and if I find a solution, I'll post my findings. If you
want me to try something else in the interim, just let me know.
I'm not sure yet but I think there will be more problems if I try to
use the --enable-ssl and --with-openssl configure flags. Attempts
to use them before patching squid resulted in similar conflict
messages but against the OpenSSL md5.h and not the Squid md5.h.
Kind regards
--
Randall D. DuCharme (Radio AD5GB)
Powered by OpenSolaris!
http://www.opensolaris.org
--- On Thu 11/08, Amos Jeffries < [EMAIL PROTECTED] > wrote:
From: Amos Jeffries [mailto: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED], [email protected]
Date: Fri, 9 Nov 2007 14:20:49 +1300 (NZDT)
Subject: Re: [squid-users] Solaris/OpenSSL/MD5 Issues
>> Greetings,>> Can't reply directly to the [EMAIL PROTECTED] address from
>> here. One of> us is blacklisted ( probably my end at excite.com )>>
>> Anyway... it's a small header. I think the identification section> in the
>> header comment provides license enough to include it in the> body of a plain
>> text email message. If not, I guess I'm going to> jail.....>> $> cat
>> /usr/include/sys/md5.h>Thank you. (move to squid-dev as its a coding problem
>> now)With that header, I now have a patch that should get you past the
>> MD5compile error.It's here:
>> http://squid.treenet.co.nz/MD5-solaris10.patchand needs a bootstrap after
>> applying.Amos>> --- On Wed 11/07, Amos Jeffries < [EMAIL PROTECTED] >
>> wrote:> From: Amos Jeffries [mailto: [EMAIL PROTECTED]> To: [EMAIL
>> PROTECTED]> Cc: [EMAIL PROTECTED], [EMAIL PROTECTED]> Date: Thu, 8 Nov
>> 2007 16:53:45 +1300 (NZDT)> Subject: Re: [squid-users] Solaris/OpenSSL/MD5
>> Issues>>>> Greetings,>> First of all please note that
I was using the SunStudio-12>>> compiler> and not GCC for this. I'm sorry if I
was not clear on that>>> point.>> If I use GCC however I do not get any
complaint about the>>> operator> overloading. It ends up like this.>> g++
-DHAVE_CONFIG_H>>>> -DDEFAULT_CONFIG_FILE=\"/usr/local/squid/etc/squid.conf\"
-I. -I.>>>> -I../include -I. -I. -I../include -I../include>>>
-I../lib/libTrie/include> -I/usr/include/libxml2 -I/usr/local/include>>>
-Werror -Wall -Wpointer-arith> -Wwrite-strings -Wcomments -D_REENTRANT>>>
-pthreads -DSOLARIS2=11 -g -O2 -MT> IPInterception.lo -MD -MP -MF>>>
.deps/IPInterception.Tpo -c> IPInterception.cc -o IPInterception.o> 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>>>
IPInterception.cc:59:> /usr/include/sys/md5.h:62: error: conflicting>>>
declaration 'typedef struct> MD5_CTX MD5_CTX'>> ../include/md5.h:59: error:
'MD5_CTX' has a previous declaration as>> `typedef struct MD5Context MD5_CTX'>
/usr/include/sys/md5.h:62: error:> declaration of `typedef struct MD5_CTX>
MD5_CTX'This is a separate issue.> In the absence of --enable-ssl config
optionsquid provides a simple> implementation of MD5. It appears that your
OSprovides one too.I think I> can fix this but will need to see a copy of
your/usr/include/sys/md5.h> that is clashing with the squid one.ThanksAmos>>
_______________________________________________> Join Excite! -
http://www.excite.com> The most personalized portal on the Web!>>>
_______________________________________________
Join Excite! - http://www.excite.com
The most personalized portal on the Web!