Edit report at https://bugs.php.net/bug.php?id=61290&edit=1

 ID:                 61290
 Updated by:         paj...@php.net
 Reported by:        neweracracker at gmail dot com
 Summary:            php_sockets build failure - unresolved external
                     symbol _inet_aton
-Status:             Open
+Status:             Feedback
 Type:               Bug
 Package:            Compile Failure
 Operating System:   Windows 7
 PHP Version:        5.3SVN-2012-03-05 (snap)
 Block user comment: N
 Private report:     N

 New Comment:

Please try using this snapshot:

  http://snaps.php.net/php5.3-latest.tar.gz
 
For Windows:

  http://windows.php.net/snapshots/

Using revision 323926 or later


Previous Comments:
------------------------------------------------------------------------
[2012-03-05 20:53:32] paj...@php.net

Automatic comment from SVN on behalf of pajoye
Revision: http://svn.php.net/viewvc/?view=revision&revision=323926
Log: - fix bug #61290, fix build

------------------------------------------------------------------------
[2012-03-05 20:37:57] neweracracker at gmail dot com

Okay,

I fixed it, win32\inet.h (line 6) change to:
#if (_WIN32_WINNT <= 0x0501)
And it will build.

This will work if win32/build/config.w32.h.in (line 9):
#define _WIN32_WINNT 0x0501

------------------------------------------------------------------------
[2012-03-05 20:09:09] neweracracker at gmail dot com

It seems this was caused by the changes of bug 54407 that did cause compile 
time changes over win32\inet.h

Not sure though, leaving note here for further reference.

------------------------------------------------------------------------
[2012-03-05 16:00:18] neweracracker at gmail dot com

Description:
------------
   Creating library J:\php-sdk\php5.3-201203051430\Release_TS\php_sockets.lib 
and object J:\php-sdk\php5.3-201203051430\Release_TS\php_sockets.exp
sockets.obj : error LNK2019: unresolved external symbol _inet_aton referenced 
in function _php_set_inet_addr
J:\php-sdk\php5.3-201203051430\Release_TS\php_sockets.dll : fatal error 
LNK1120: 1 unresolved externals




------------------------------------------------------------------------



-- 
Edit this bug report at https://bugs.php.net/bug.php?id=61290&edit=1

Reply via email to