ID:               47992
 Updated by:       [email protected]
 Reported By:      valderama at gmail dot com
-Status:           Assigned
+Status:           Bogus
 Bug Type:         MySQL related
 Operating System: Mac OS X Tiger
 PHP Version:      5.3CVS-2009-04-18 (snap)
 Assigned To:      mysql
 New Comment:

Lets only have one report on this, moved to bug #47353


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

[2009-04-19 19:46:19] [email protected]

AIX suffers from the same problem:
http://bugs.php.net/bug.php?id=47535

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

[2009-04-18 22:33:50] valderama at gmail dot com

Same problem in last snapshot from 2009 04 18 at 18:30.
Constant error. I must define the constant at hand.

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

[2009-04-16 19:32:42] [email protected]

Please try using this CVS snapshot:

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

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



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

[2009-04-16 17:34:17] valderama at gmail dot com

Description:
------------
In PHP 5.3.0RC1 there is a compile bug:

/Users/valdo/php-5.3.0RC1/ext/mysqlnd/mysqlnd_ps_codec.c:82: error: 
'MYSQLND_LLU_SPEC' undeclared (first use in this function)

A temporary workaround was to define MYSQLND_LLU_SPEC and 
MYSQLND_LL_SPEC at hand in mysqlnd_portability.h, but this obviously 
needs to be corrected properly.


Reproduce code:
---------------
/configure' '--prefix=/usr/local' '--mandir=/usr/share/man'
'--infodir=/usr/share/info' '--with-apxs' '--with-ldap=/usr'
'--with-kerberos=/usr' '--enable-cli' '--with-zlib-dir=/usr'
'--enable-exif' '--enable-ftp' '--with-mysqli=mysqlnd'
'--with-pdo-mysql=mysqlnd' '--with-mysql=mysqlnd' '--enable-mbstring'
'--enable-mbregex' '--enable-sockets' '--with-config-file-path=/etc'
'--sysconfdir=/private/etc' '--with-mysql-sock=/var/mysql/mysql.sock'
'--enable-soap' '--with-gd' '--with-png-dir=/sw' '--with-jpeg-dir=/sw'

with darwin, 
gcc --version
powerpc-apple-darwin8-gcc-4.0.1 (GCC) 4.0.1 (Apple Computer, Inc. build
5370)
Copyright (C) 2005 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is
NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR
PURPOSE.


Expected result:
----------------
should compile without failure

Actual result:
--------------
/Users/valdo/php-5.3.0RC1/ext/mysqlnd/mysqlnd_ps_codec.c:82: error: 
'MYSQLND_LLU_SPEC' undeclared (first use in this function)
/Users/valdo/php-5.3.0RC1/ext/mysqlnd/mysqlnd_ps_codec.c:82: error: 
(Each undeclared identifier is reported only once
/Users/valdo/php-5.3.0RC1/ext/mysqlnd/mysqlnd_ps_codec.c:82: error: for

each function it appears in.)
/Users/valdo/php-5.3.0RC1/ext/mysqlnd/mysqlnd_ps_codec.c:111: error: 
'MYSQLND_LL_SPEC' undeclared (first use in this function)


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


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

Reply via email to