Hi,
I've pasted the diff as an attached files. I compiled it under
Mingw/Win7 SP1
Mingw Version: http://nuwen.net/files/mingw/mingw-7.2.exe
Now runing it directly without any arguments as an http proxy, i
can visit both ipv6-only sites and ipv4 sites. The following error
will appear.DNS: couldn't open /etc/resolv.conf: No such file or director Disabling disk cache: path ./polipo/ is not absolute. Disabling local tree: path is not absolute. Established listening socket on port 8123. DNS: recv failed: No error Falling back to using system resolver. DNS: recv failed: Unknown error DNS: recv failed: No error Falling back to using system resolver. DNS: recv failed: Unknown error DNS: recv failed: No error Falling back to using system resolver. DNS: recv failed: Unknown error Falling back to using system resolver. DNS: recv failed: Unknown error Falling back to using system resolver. DNS: recv failed: Unknown error Falling back to using system resolver. DNS: recv failed: Unknown error Falling back to using system resolver. DNS: recv failed: Unknown error DNS: recv failed: Unknown error DNS: recv failed: Unknown error DNS: recv failed: Unknown error DNS: recv failed: Unknown error DNS: recv failed: No error Falling back to using system resolver. DNS: recv failed: Unknown error DNS: recv failed: Unknown error Falling back to using system resolver. DNS: recv failed: Unknown error DNS: recv failed: No error Falling back to using system resolver. DNS: recv failed: Unknown error Couldn't read from server: Unknown error Couldn't read from server: Unknown error Couldn't write to server: Unknown error DNS: recv failed: No error Falling back to using system resolver. DNS: recv failed: Unknown error DNS: recv failed: No error Falling back to using system resolver. DNS: recv failed: Unknown error Couldn't read from server: Unknown error Couldn't write to server: Unknown error Couldn't read from server: Unknown error Couldn't write to server: Unknown error DNS: recv failed: Unknown error Falling back to using system resolver. DNS: recv failed: Unknown error Read from server failed: Unknown error Read from server failed: Unknown error ----------------- just visit site is OK,but i cann't send this email by polipo, it met the following errors: Read from server failed: Unknown error Read from server failed: Unknown error Couldn't write to server: Unknown error Couldn't read from server: Unknown error Couldn't read from client: Unknown error Couldn't read from client: Unknown error On Tue, Sep 6, 2011 at 7:48 PM, honglei jiang <[email protected]> wrote: > Dear everyone: > I met the following error when add 'EXTRA_DEFINES = -DWIN32 > -DHAVE_IPv6' to Makefile. > F:\Python\LibEvent\Proxy\polipo>make > cc -Os -g -Wall -fno-strict-aliasing -DLOCAL_ROOT=\"./www/\" > -DDISK_CACHE_ROOT=\"./polipo/\" -DWIN32 -DHAVE_IPv6 -c -o util.o > util.c > cc -Os -g -Wall -fno-strict-aliasing -DLOCAL_ROOT=\"./www/\" > -DDISK_CACHE_ROOT=\"./polipo/\" -DWIN32 -DHAVE_IPv6 -c -o event.o > event.c > cc -Os -g -Wall -fno-strict-aliasing -DLOCAL_ROOT=\"./www/\" > -DDISK_CACHE_ROOT=\"./polipo/\" -DWIN32 -DHAVE_IPv6 -c -o io.o io.c > io.c: In function 'do_scheduled_connect': > io.c:517:25: error: storage size of 'servaddr6' isn't known > io.c:582:58: error: invalid application of 'sizeof' to incomplete type > 'struct i > n6_addr' > io.c:517:25: warning: unused variable 'servaddr6' [-Wunused-variable] > io.c: In function 'do_scheduled_accept': > io.c:674:10: warning: pointer targets in passing argument 3 of 'win32_accept' > di > ffer in signedness [-Wpointer-sign] > mingw.h:109:9: note: expected 'socklen_t *' but argument is of type 'unsigned > in > t *' > io.c: In function 'create_listener': > io.c:694:25: error: storage size of 'addr6' isn't known > io.c:737:9: warning: implicit declaration of function 'inet_pton' > [-Wimplicit-fu > nction-declaration] > io.c:694:25: warning: unused variable 'addr6' [-Wunused-variable] > io.c: In function 'parseNetAddress': > io.c:955:21: error: storage size of 'ina6' isn't known > io.c:955:21: warning: unused variable 'ina6' [-Wunused-variable] > io.c: In function 'netAddressMatch': > io.c:1103:25: error: storage size of 'sain6' isn't known > io.c:1107:10: warning: pointer targets in passing argument 3 of > 'win32_getpeerna > me' differ in signedness [-Wpointer-sign] > mingw.h:111:9: note: expected 'socklen_t *' but argument is of type 'unsigned > in > t *' > io.c:1118:14: warning: pointer targets in passing argument 3 of > 'win32_getpeerna > me' differ in signedness [-Wpointer-sign] > mingw.h:111:9: note: expected 'socklen_t *' but argument is of type 'unsigned > in > t *' > io.c:1103:25: warning: unused variable 'sain6' [-Wunused-variable] > make: *** [io.o] Error 1 >
ipv6_mingw.diff
Description: Binary data
------------------------------------------------------------------------------ Using storage to extend the benefits of virtualization and iSCSI Virtualization increases hardware utilization and delivers a new level of agility. Learn what those decisions are and how to modernize your storage and backup environments for virtualization. http://www.accelacomm.com/jaw/sfnl/114/51434361/
_______________________________________________ Polipo-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/polipo-users
