Hi Amos,
Just found a little of time to try again the build of squid3-ipv6
using MSYS+MinGW on Windows.
I have fixed some problem, but still doesn't build:
make[2]: Entering directory `/c/work/mgw-3.0-ipv6/lib'
if g++ -DHAVE_CONFIG_H -I. -I. -I../include -I../include -I../include
-I/usr/mingw/include -I/usr/include/libxml2 -Werror -Wall
-Wpointer-arith -Wwrite-strings -Wcomments -g -O2 -mthreads -MT
IPAddress.o -MD -MP -MF ".deps/IPAddress.Tpo" -c -o IPAddress.o IPAddress.cc; \
then mv -f ".deps/IPAddress.Tpo" ".deps/IPAddress.Po"; else rm -f
".deps/IPAddress.Tpo"; exit 1; fi
IPAddress.cc: In member function `bool IPAddress::ApplyMask(unsigned
int, int)':
IPAddress.cc:196: warning: unsigned int format, u_long arg (arg 2)
IPAddress.cc: In member function `bool IPAddress::operator=(const hostent&)':
IPAddress.cc:682: warning: unsigned int format, u_long arg (arg 2)
IPAddress.cc: In member function `void
IPAddress::GetAddrInfo(addrinfo*&, int) const':
IPAddress.cc:818: warning: unsigned int format, long unsigned int arg (arg 2)
IPAddress.cc: In member function `char* IPAddress::NtoA(char*,
unsigned int, int) const':
IPAddress.cc:985: error: `inet_ntop' was not declared in this scope
IPAddress.cc:985: warning: unused variable 'inet_ntop'
make[2]: *** [IPAddress.o] Error 1
make[2]: Leaving directory `/c/work/mgw-3.0-ipv6/lib'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/c/work/mgw-3.0-ipv6/lib'
make: *** [all-recursive] Error 1
On Windows inet_ntop is not available, I have found this wrapper:
http://www.mail-archive.com/users@ipv6.org/msg02107.html
What is you opinion about ?
Regards
Guido
-
========================================================
Guido Serassio
Acme Consulting S.r.l. - Microsoft Certified Partner
Via Lucia Savarino, 1 10098 - Rivoli (TO) - ITALY
Tel. : +39.011.9530135 Fax. : +39.011.9781115
Email: guido.serassio@acmeconsulting.it
WWW: http://www.acmeconsulting.it/
Received on Sun Sep 23 2007 - 04:17:16 MDT
This archive was generated by hypermail pre-2.1.9 : Mon Oct 01 2007 - 12:00:05 MDT