[prev in list] [next in list] [prev in thread] [next in thread] 

List:       wsf-php-user
Subject:    Re: [wsf-php-user] Compile failed on fedora 9 for
From:       Chintana Wilamuna <chintana () wso2 ! com>
Date:       2008-06-12 13:48:06
Message-ID: 1213277766.27351.5.camel () rivendell ! net
[Download RAW message or body]

On Thu, 2008-06-12 at 13:18 +0200, Marcel Bariou wrote:

> Compile failure with following message
> 
> network_handler.c:81: error: 'struct hostent' has no member named 'h_addr'
> 
> Has somebody an idea ?

Hi Marcel,

You have to compile the package with -D_GNU_SOURCE.  A one line patch is
submitted to Apache Axis2/C [1].  I think the patch has not been applied
yet.  Since WSF/PHP includes Axis2/C it'll be fixed once the patch in.

Meanwhile try to compile the application like,

$ export CFLAGS="-D_GNU_SOURCE"
$ ./configure
$ make

[1] http://issues.apache.org/jira/browse/AXIS2C-1158

Bye,

    -Chintana



-- 
http://engwar.com/


_______________________________________________
Wsf-php-user mailing list
Wsf-php-user@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/wsf-php-user
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic