squid and FreeBSD 5.1-RELEASE

Mike Barcroft mike at FreeBSD.org
Thu Jun 19 09:25:32 PDT 2003


Christer.Gundersen at telenor.com <Christer.Gundersen at telenor.com> writes:
> gives this...
> 
> 
> -I../include -I../include -I../include     -O -pipe -march=pentium2 -c `test -f
> md5.c || echo './'`md5.c
> In file included from ../include/squid_types.h:70,
>                  from ../include/md5.h:55,
>                  from md5.c:39:
> /usr/include/sys/bitypes.h:25: conflicting types for `int8_t'
> /usr/include/sys/stdint.h:38: previous declaration of `int8_t'
> /usr/include/sys/bitypes.h:26: redefinition of `u_int8_t'
> /usr/include/sys/types.h:109: `u_int8_t' previously declared here
> /usr/include/sys/bitypes.h:27: redefinition of `int16_t'
> /usr/include/sys/stdint.h:43: `int16_t' previously declared here
> /usr/include/sys/bitypes.h:28: redefinition of `u_int16_t'
> /usr/include/sys/types.h:110: `u_int16_t' previously declared here
> /usr/include/sys/bitypes.h:29: redefinition of `int32_t'
> /usr/include/sys/stdint.h:48: `int32_t' previously declared here
> /usr/include/sys/bitypes.h:30: redefinition of `u_int32_t'
> /usr/include/sys/types.h:111: `u_int32_t' previously declared here
> *** Error code 1

Hmm, I don't think bitypes.h is installed on FreeBSD anymore.  Can you
move that header somewhere and recompile?  I assume you upgraded from
an older version of FreeBSD?

Best regards,
Mike Barcroft


More information about the freebsd-current mailing list