codegooglecom / libproxy

Automatically exported from code.google.com/p/libproxy
GNU Lesser General Public License v2.1
0 stars 0 forks source link

libproxy fails to build on Solaris due to missing INET_ADDRSTRLEN #51

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. try to build libproxy on solaris with mozilla or webkit support

What is the expected output? What do you see instead?

Expected:
build successfully

Seen instead:
mozjs.c: In function 'dnsResolve':                                        

mozjs.c:50: error: 'INET6_ADDRSTRLEN' undeclared (first use in this
function)      
mozjs.c:50: error: (Each undeclared identifier is reported only once      

mozjs.c:50: error: for each function it appears in.)                      

mozjs.c:55: error: 'INET_ADDRSTRLEN' undeclared (first use in this
function)       
make[3]: *** [mozjs_la-mozjs.lo] Error 1                                  

make[3]: *** Waiting for unfinished jobs....                              

What version of the product are you using? On what operating system?

libproxy-0.2.3
SunOS 5.10 Generic_138888-08 sun4u sparc SUNW,Sun-Fire

Please provide any additional information below.

The error is because INET_ADDRSTRLEN and INET6_ADDRSTRLEN are not defined
on Solaris. Attached patch fixes this problem.

Original issue reported on code.google.com by nguyench...@gmail.com on 26 May 2009 at 10:39

Attachments:

GoogleCodeExporter commented 9 years ago
Did you make your tests with the SVN trunk version? 

A lot of work has already gone in since 0.2.3 was released (and the plugin 
system had
two rewrites).

Please verify with trunk.

Original comment by dominiqu...@gmail.com on 29 May 2009 at 9:20

GoogleCodeExporter commented 9 years ago
This issue was closed by r393.

Original comment by dominiqu...@gmail.com on 19 Jun 2009 at 7:24

GoogleCodeExporter commented 9 years ago
Thanks, merged in SVN r393

Original comment by dominiqu...@gmail.com on 19 Jun 2009 at 7:24