ID:               27680
 Updated by:       [EMAIL PROTECTED]
 Reported By:      jwm at horde dot net
-Status:           Open
+Status:           Closed
 Bug Type:         mbstring related
 Operating System: Solaris 8
 PHP Version:      5CVS-2004-04-07
 Assigned To:      moriyoshi
 New Comment:

Closing then.


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

[2004-04-08 22:54:27] jwm at horde dot net

The build completes successfully. Thanks!

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

[2004-04-08 20:00:45] [EMAIL PROTECTED]

Please try using this CVS snapshot:

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



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

[2004-04-07 11:09:58] [EMAIL PROTECTED]

Funnily enough it compile fine on Linux..and yet that macro is never
defined anywhere. Assigning to the person who last touched this file in
question..



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

[2004-03-24 16:38:48] jwm at horde dot net

Description:
------------
Some of the macros in the mbstring extension are 

conditionally defined depending on the value of 

SIZEOF_SHORT, but which doesn't seem to be defined 

anywhere. This causes the build to fail with undefined 

symbols:



Undefined           first referenced

 symbol                 in file

SERIALIZE_SHORT                     ext/mbstring/

oniguruma/regcomp.lo

GET_SHORT_INC                       ext/mbstring/

oniguruma/regexec.lo

ld: fatal: Symbol referencing errors. No output written 

to sapi/cli/php



ext/mbstring/oniguruma/config.h.in has potential 

definitions for SIZEOF_SHORT, but ext/mbstring/

oniguruma/config.h contains only:



#include "php_config.h"



Relevant code from ext/mbstring/oniguruma/regint.h:



#if SIZEOF_SHORT == 2

#define GET_SHORT_INC(i,p) GET_2BYTE_INT_INC(short,i,p)

#define SERIALIZE_SHORT(i,p)   SERIALIZE_2BYTE_INT(i,p)

#elif SIZEOF_SHORT == 4

#define GET_SHORT_INC(i,p) GET_4BYTE_INT_INC(short,i,p)

#define SERIALIZE_SHORT(i,p)   SERIALIZE_4BYTE_INT(i,p)

#elif SIZEOF_SHORT == 8

#define GET_SHORT_INC(i,p) GET_8BYTE_INT_INC(short,i,p)

#define SERIALIZE_SHORT(i,p)   SERIALIZE_8BYTE_INT(i,p)

#endif



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


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

Reply via email to