[PHP-DEV] Bug #13611 Updated: Fix of #6756 breaks compiling on AIX

2001-12-07 Thread sniper

ID: 13611
Updated by: sniper
Reported By: [EMAIL PROTECTED]
Status: Closed
Bug Type: Compile Failure
Operating System: AIX 4.3.3 with C compiler 3.x
PHP Version: 4.0.6
New Comment:

Just to note that PHP 4.2.0 will also compile without -ma in CFLAGS.
You can test the latest CVS snapshot:

http://snaps.php.net/


Previous Comments:


[2001-11-29 10:41:21] [EMAIL PROTECTED]

4.1.0RC3 works -> closed.



[2001-11-29 10:38:43] [EMAIL PROTECTED]

Using my configure line reported earlier, PHP 4.1.0RC3 compiles without the reported 
bug.

(I'd like to see the #ifndef-#define-#endif construct nevertheless, it's the art of 
defensive programming :-) .)

But compilations succeeds only if you set

  CC='cc -ma' ; export CC

prior to running configure; otherwise make fails in the linkage step because alloca() 
is available only as a builtin function, not as a library function, on the given 
system/compiler environment. Perhaps it is possible to check the need for the -ma 
option during configuration?
(The only purpose of -ma on the given system ist to activate the builtin alloca().)




[2001-11-21 07:12:49] [EMAIL PROTECTED]

Can you try if this still happens with latest RC

http://www.php.net/~zeev/php-4.1.0RC3.tar.gz

If so, can you try replacing the line 

#define _XOPEN_SOURCE_EXTENDED

with

#ifndef _XOPEN_SOURCE_EXTENDED
#define _XOPEN_SOURCE_EXTENDED
#endif

and see if it works?

Feedback.



[2001-10-09 07:27:06] [EMAIL PROTECTED]

configure --enable-discard-path --enable-force-cgi-redirect --enable-memory-limit 
--enable-dbase --enable-ftp --enable-calendar --enable-wddx --enable-socket ; make

ext/sockets/sockets.c line 38 causes the system-defined
_XOPEN_SOURCE_EXTENDED to be redefined from a numeric value to an empty value. This 
later breaks compilation because the numeric value will be used in another system 
header file containing a statement

#if _XOPEN_SOURCE_EXTENDED==1









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


-- 
PHP Development Mailing List 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




[PHP-DEV] Bug #13611 Updated: Fix of #6756 breaks compiling on AIX

2001-11-29 Thread mfischer

ID: 13611
Updated by: mfischer
Reported By: [EMAIL PROTECTED]
Old Status: Open
Status: Closed
Bug Type: Compile Failure
Operating System: AIX 4.3.3 with C compiler 3.x
PHP Version: 4.0.6
New Comment:

4.1.0RC3 works -> closed.

Previous Comments:


[2001-11-29 10:38:43] [EMAIL PROTECTED]

Using my configure line reported earlier, PHP 4.1.0RC3 compiles without the reported 
bug.

(I'd like to see the #ifndef-#define-#endif construct nevertheless, it's the art of 
defensive programming :-) .)

But compilations succeeds only if you set

  CC='cc -ma' ; export CC

prior to running configure; otherwise make fails in the linkage step because alloca() 
is available only as a builtin function, not as a library function, on the given 
system/compiler environment. Perhaps it is possible to check the need for the -ma 
option during configuration?
(The only purpose of -ma on the given system ist to activate the builtin alloca().)




[2001-11-21 07:12:49] [EMAIL PROTECTED]

Can you try if this still happens with latest RC

http://www.php.net/~zeev/php-4.1.0RC3.tar.gz

If so, can you try replacing the line 

#define _XOPEN_SOURCE_EXTENDED

with

#ifndef _XOPEN_SOURCE_EXTENDED
#define _XOPEN_SOURCE_EXTENDED
#endif

and see if it works?

Feedback.



[2001-10-09 07:27:06] [EMAIL PROTECTED]

configure --enable-discard-path --enable-force-cgi-redirect --enable-memory-limit 
--enable-dbase --enable-ftp --enable-calendar --enable-wddx --enable-socket ; make

ext/sockets/sockets.c line 38 causes the system-defined
_XOPEN_SOURCE_EXTENDED to be redefined from a numeric value to an empty value. This 
later breaks compilation because the numeric value will be used in another system 
header file containing a statement

#if _XOPEN_SOURCE_EXTENDED==1









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


-- 
PHP Development Mailing List 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




[PHP-DEV] Bug #13611 Updated: Fix of #6756 breaks compiling on AIX

2001-11-29 Thread perske

ID: 13611
User updated by: [EMAIL PROTECTED]
Reported By: [EMAIL PROTECTED]
Old Status: Feedback
Status: Open
Old Bug Type: Sockets related
Bug Type: Compile Failure
Operating System: AIX 4.3.3 with C compiler 3.x
PHP Version: 4.0.6
New Comment:

Using my configure line reported earlier, PHP 4.1.0RC3 compiles without the reported 
bug.

(I'd like to see the #ifndef-#define-#endif construct nevertheless, it's the art of 
defensive programming :-) .)

But compilations succeeds only if you set

  CC='cc -ma' ; export CC

prior to running configure; otherwise make fails in the linkage step because alloca() 
is available only as a builtin function, not as a library function, on the given 
system/compiler environment. Perhaps it is possible to check the need for the -ma 
option during configuration?
(The only purpose of -ma on the given system ist to activate the builtin alloca().)


Previous Comments:


[2001-11-21 07:12:49] [EMAIL PROTECTED]

Can you try if this still happens with latest RC

http://www.php.net/~zeev/php-4.1.0RC3.tar.gz

If so, can you try replacing the line 

#define _XOPEN_SOURCE_EXTENDED

with

#ifndef _XOPEN_SOURCE_EXTENDED
#define _XOPEN_SOURCE_EXTENDED
#endif

and see if it works?

Feedback.



[2001-10-09 07:27:06] [EMAIL PROTECTED]

configure --enable-discard-path --enable-force-cgi-redirect --enable-memory-limit 
--enable-dbase --enable-ftp --enable-calendar --enable-wddx --enable-socket ; make

ext/sockets/sockets.c line 38 causes the system-defined
_XOPEN_SOURCE_EXTENDED to be redefined from a numeric value to an empty value. This 
later breaks compilation because the numeric value will be used in another system 
header file containing a statement

#if _XOPEN_SOURCE_EXTENDED==1









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


-- 
PHP Development Mailing List 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




[PHP-DEV] Bug #13611 Updated: Fix of #6756 breaks compiling on AIX

2001-11-21 Thread mfischer

ID: 13611
Updated by: mfischer
Reported By: [EMAIL PROTECTED]
Old Status: Open
Status: Feedback
Bug Type: Sockets related
Operating System: AIX 4.3.3 with C compiler 3.x
PHP Version: 4.0.6
New Comment:

Can you try if this still happens with latest RC

http://www.php.net/~zeev/php-4.1.0RC3.tar.gz

If so, can you try replacing the line 

#define _XOPEN_SOURCE_EXTENDED

with

#ifndef _XOPEN_SOURCE_EXTENDED
#define _XOPEN_SOURCE_EXTENDED
#endif

and see if it works?

Feedback.

Previous Comments:


[2001-10-09 07:27:06] [EMAIL PROTECTED]

configure --enable-discard-path --enable-force-cgi-redirect --enable-memory-limit 
--enable-dbase --enable-ftp --enable-calendar --enable-wddx --enable-socket ; make

ext/sockets/sockets.c line 38 causes the system-defined
_XOPEN_SOURCE_EXTENDED to be redefined from a numeric value to an empty value. This 
later breaks compilation because the numeric value will be used in another system 
header file containing a statement

#if _XOPEN_SOURCE_EXTENDED==1









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


-- 
PHP Development Mailing List 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]