Thanks Rodrigo.
The VMWare install is 32 bit, it's only on the sparc64 that it is 64bit.
Will read up on the time_t
Sent from my BlackBerry 10 smartphone on the Verizon Wireless 4G LTE
network.

From: Rodrigo MosconiSent: Sunday, June 15, 2014 10:06 AMTo: Monah BakiCc:
openbsd-miscSubject: Re: Squid + OpenBSD 5.4 and 5.5

2014-06-15 11:00 GMT-03:00 Monah Baki <monahb...@gmail.com>:

  Hi all,

  Using ./configure --prefix=/usr/local/squid
  --with-filedescriptors=32768
  --enable-snmp --with-large-files

  I installed OpenBSD 5.4 on a vmware workstation and squid 3.4.5,
  works fine.

  However, OpenBSD 5.5 on both vmware workstation and on a SPARC64
  T5220, I get the following error running "make",

  po -c -o client_side.o client_side.cc && mv -f $depbase.Tpo
  $depbase.Po
  depbase=`echo client_side_reply.o | sed
  's|[^/]*$|.deps/&|;s|\.o$||'`;
  g++ -DHAVE_CONFIG_H
  -DDEFAULT_CONFIG_FILE=\"/usr/
  local/squid/etc/squid.conf\"
  -DDEFAULT_SQUID_DATA_DIR=\"/usr/local/squid/share\"
  -DDEFAULT_SQUID_CONFIG_DIR=\"/usr/local/squid/etc\"  -I..
  -I../include
  -I../lib  -I../src -I../include -I/usr/include/kerberosV
  -I/usr/include/kerberosV  -I../libltdl  -I../src -I../libltdl
  -I/usr/include/kerberosV  -I/usr/include/kerberosV
  -I/usr/include/kerberosV  -I/usr/include/kerberosV  -Wall
  -Wpointer-arith -Wwrite-strings -Wcomments -Wshadow -Werror -pipe
  -D_REENTRANT -g -O2 -MT client_side_reply.o -MD -MP -MF $depbase.Tpo
  -c -o client_side_reply.o client_side_reply.cc && mv -f $depbase.Tpo
  $depbase.Po
  cc1plus: warnings being treated as errors
  client_side_reply.cc: In member function 'void
  clientReplyContext::buildReplyHeader()':
  client_side_reply.cc:1326: warning: format '%ld' expects type 'long
  int', but argument 4 has type 'long long int'
  *** Error 1 in src (Makefile:6970 'client_side_reply.o')
  *** Error 1 in src (Makefile:7116 'all-recursive')
  *** Error 1 in src (Makefile:6036 'all')
  *** Error 1 in /home/mbaki/squid-3.4.5 (Makefile:587 'all-recursive')

  Is this a squid issue???

No, its the 64bit time_t, see http://www.openbsd.org/55.html
< br>

  Thanks

Did you tried pkd_add -i squid or ports (www/squid) before compiling by
your own?

Reply via email to