Re: Bug #1214: Compilation aborted when wddx_a.c is compiled
| From: | Rasmus Lerdorf | Date: | Thu, 01 Jan 1970 00:00:00 +0000 |
| Subject: | Re: Bug #1214: Compilation aborted when wddx_a.c is compiled | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-4545@lists.php.net to get a copy of this message | ||
> From: lars.santschi@swisslife.ch
> Operating system: AIX 4.21
> PHP version: 3.0.7
> PHP Bug Type: Compile Failure
> Bug description: Compilation aborted when wddx_a.c is compiled
>
> The compilation of php 3.07 stops when the wddx_a.c file is reached with the error message
> below.
>
>
> --------------------------------------------------------------------------------------------------------------
> In file included from functions/wddx_a.c:37:
> functions/DList.h:66: parse error before `100'
> functions/DList.h:66: warning: no semicolon at end of struct or union
> functions/DList.h:67: warning: data definition has no type or storage class
> functions/DList.h:105: parse error before `*'
> functions/DList.h:105: warning: data definition has no type or storage class
> functions/DList.h:106: parse error before `*'
> functions/DList.h:106: parse error before `)'
> functions/DList.h:107: parse error before `*'
> functions/DList.h:108: parse error before `*'
> functions/DList.h:109: parse error before `*'
> functions/DList.h:110: parse error before `*'
> functions/DList.h:113: parse error before `*'
> functions/DList.h:113: parse error before `)'
> make: The error code from the last command is 1.
>
> ---------------------------------------------------------------------------------------------------------------
> We use the following do-conf script for configuration
>
> ./configure --with-apache=/home/zisadm/src/apache_1.3.4 --with-gd=/usr/local
> --with-oracle=/home/oracle/product/7.3.2.2 --with-
> pdflib=/home/zue/src/pdflib-0.6 --with-fdftk=/home/zisadm/src --with-zlib=/usr/local
> --with-config-file-path=/opt/www/etc/php3
> --enable-debug=no --enable-track-vars=yes
Hrm.. Must be some sort of symbol clash between header files. Could you
try the following fix:
Edit the functions/wddx_a.c file and move the '#if HAVE_LIBEXPAT' line up
such that the first couple of lines end up looking like this:
#include "php.h"
#if HAVE_LIBEXPAT
#include "internal_functions.h"
#include "php3_string.h"
#include "php3_list.h"
#include "php3_wddx_a.h"
#include "DList.h"
and let me know if that fixes things. And if it does, it would be helpful
if you could scan the various header files in your Oracle, PDF, FDF and
zlib header file and see if any of them define a macro named
'DLST_BUCKET'.
-Rasmus
--
PHP Development Mailing List http://www.php.net/
To unsubscribe send an empty message to php-dev-unsubscribe@lists.php.net
For help: php-dev-help@lists.php.net