Compile problems with AIX 4.3.3, PHP4.0.4pl1 and xlc5

From: Date: Thu, 19 Jul 2001 16:08:34 +0000
Subject: Compile problems with AIX 4.3.3, PHP4.0.4pl1 and xlc5
Groups: php.install 
Request: Send a blank email to php-install+get-3625@lists.php.net to get a copy of this message
Did anyone ever compile the following configuration: I tried to compile PHP4 under AIX 4.3.3 using xlC version 5 doing this: configue --with-mysql --with-apache=/usr/local/include make Configure runs without a problem. During make, the following error occurs: "/opt/pub/php-4.0.4pl1/ext/standard/fsock.h", line 82.60: 1506-046 (S) Syntax error. "main.c", line 1181.17: 1506-068 (W) Operation between types "unsigned char*" and "int" is not allowed. make: 1254-004 The error code from the last command is 1. Line 82 of fsock.h shows the following: PHPAPI int connect_nonb(int sockfd, struct sockaddr *addr, socklen_t addrlen, struct timeval *timeout); I suppose, there is anything wrong with the compatibility of some header-files or data types. Any ideas? Thanks a lot, Klaus

« previous php.install (#3625) next »