>
> 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 option
squid provides a simple implementation of MD5. It appears that your OS
provides 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.
Thanks
Amos
Received on Wed Nov 07 2007 - 20:53:50 MST
This archive was generated by hypermail pre-2.1.9 : Sat Dec 01 2007 - 12:00:02 MST