#49110 [Bgs]: redefinition of socklen_t

From: Date: Fri, 31 Jul 2009 15:37:41 +0000
Subject: #49110 [Bgs]: redefinition of socklen_t
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-140521@lists.php.net to get a copy of this message
 ID:               49110
 Updated by:       pajoye@php.net
 Reported By:      hendrik dot schmieder at jedox dot com
 Status:           Bogus
 Bug Type:         Compile Failure
 Operating System: win32 only
 PHP Version:      5.3.0
 New Comment:

You are still doing it wrong. This file must be generated at configure
time to be used correctly.


Previous Comments:
------------------------------------------------------------------------

[2009-07-31 14:29:34] hendrik dot schmieder at jedox dot com

OK,
found the problem.
It is a consequence of bug 49111.
Since the config.w32,h is missing in the main subdirectory of
the PHP 5.3.0 Source tree the compiler took the one from PHP 5.2.10.

Copying config.w32.h.in from win32\build as config.w32.h to main solved
the problem.

This step shouldn't be necessary.)

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

[2009-07-30 15:40:07] hendrik dot schmieder at jedox dot com

I'm not doing something wrong,
just replace the php 5.2.10 source tree by the one of PHP 5.3.0)

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

[2009-07-30 15:29:18] pajoye@php.net

You are doing something wrong, it is not redefined.


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

[2009-07-30 15:07:12] jani@php.net

Please try using this snapshot:

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

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



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

[2009-07-30 12:58:12] hendrik dot schmieder at jedox dot com

Description:
------------
Compiling a PHP extension under Windows with PHP 5.3.0 results in
'socklen_t' : redefinition; different basic types.

With PHP 5.2.10 this error doesn't occur.


Reproduce code:
---------------
<https://palo.svn.sourceforge.net/svnroot/palo/molap/client>

In directory libraries palo-libraries.sln and there Project PHPPalo.




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


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



Thread (8 messages)

« previous php.bugs (#140521) next »