Система:
Код: Выделить всё
FreeBSD ****.adm 10.0-RELEASE FreeBSD 10.0-RELEASE #0 r260789: Fri Jan 17 01:46:25 UTC 2014 root@snap.freebsd.org:/usr/obj/usr/src/sys/GENERIC i386
Код: Выделить всё
cc -DHAVE_CONFIG_H -DDEFAULT_CONFIG_FILE=\"/usr/local/etc/squid/squid.conf\" -I. -I../include -I. -I. -I../include -I../include -O2 -pipe -fno-strict-aliasing -MT client_side.o -MD -MP -MF .deps/client_side.Tpo -c -o client_side.o client_side.c
client_side.c:3718:62: error: no member named 'mb_len' in 'struct _HttpMsgBuf'; did you mean 'm_len'?
method = urlParseMethod(hmsg->buf + hmsg->m_start, hmsg->m_len);
^~~~~
m_len
/usr/include/netinet/ip_compat.h:335:17: note: expanded from macro 'm_len'
# define m_len mb_len
^
./structs.h:2589:25: note: 'm_len' declared here
int m_start, m_end, m_len;
^
client_side.c:3721:71: error: no member named 'mb_len' in 'struct _HttpMsgBuf'; did you mean 'm_len'?
debug(33, 1) ("parseHttpRequest: Unsupported method '%.*s'\n", hmsg->m_len, hmsg->buf + hmsg->m_start);
^~~~~
m_len
/usr/include/netinet/ip_compat.h:335:17: note: expanded from macro 'm_len'
# define m_len mb_len
^
./structs.h:2589:25: note: 'm_len' declared here
int m_start, m_end, m_len;
^
2 errors generated.
*** [client_side.o] Error code 1
make[5]: stopped in /usr/ports/www/squid/work/squid-2.7.STABLE9/src
1 error
make[5]: stopped in /usr/ports/www/squid/work/squid-2.7.STABLE9/src
*** [all-recursive] Error code 1
make[4]: stopped in /usr/ports/www/squid/work/squid-2.7.STABLE9/src
1 error
make[4]: stopped in /usr/ports/www/squid/work/squid-2.7.STABLE9/src
*** [all] Error code 2
make[3]: stopped in /usr/ports/www/squid/work/squid-2.7.STABLE9/src
1 error
make[3]: stopped in /usr/ports/www/squid/work/squid-2.7.STABLE9/src
*** [all-recursive] Error code 1
make[2]: stopped in /usr/ports/www/squid/work/squid-2.7.STABLE9
1 error
make[2]: stopped in /usr/ports/www/squid/work/squid-2.7.STABLE9
===> Compilation failed unexpectedly.
Try to set MAKE_JOBS_UNSAFE=yes and rebuild before reporting the failure to
the maintainer.
*** Error code 1
Stop.
make[1]: stopped in /usr/ports/www/squid
*** Error code 1
Stop.
make: stopped in /usr/ports/www/squid