> > Mine shows no symbols too, but does not show the problem. I'm running
> > php-4.0.4pl1-6mdk, and my wild gues is that with php-4.0.5 they changed
> > the symbol to sapi_add_header_ex
>
>Yep, that's it. I wish they could keep the &*^%@#)@+# build environment
>stable for more than a ^&%@#)(* week. Jeez. How the heck are we going
>to detect this? We can't link a test program to php4.so like we do with
>regular libraries, since all the apache symbols will be missing.
>
>Try the attached patch. Hope that this header file existed before they
>made this change.

I will try it at morning (now it is 1.20 am here), but I wonder where these 
functions have been before, as SAPI.h didn't have to get #include-ed until 
now.

I have php4 3:4.0.5.6rc3-3 (debian sid), and in the headers:

fery@linuxserver:/usr/include/php4$ grep sapi_add `find . -type f`
./main/SAPI.h:SAPI_API int sapi_add_header_ex(char *header_line, uint 
header_line_len, zend_bool duplicate, zend_bool replace);
./main/SAPI.h:#define sapi_add_header(header_line, header_line_len, 
duplicate) \
./main/SAPI.h:  sapi_add_header_ex((header_line), (header_line_len), 
(duplicate), 1)

Now if I check from a Mandrake php-devel-4.0.4pl1-6mdk:

/usr/include/php/main/SAPI.h:SAPI_API int sapi_add_header_ex(char 
*header_line, uint header_line_len, zend_bool duplicate, zend_bool replace);
/usr/include/php/main/SAPI.h:#define sapi_add_header(header_line, 
header_line_len, duplicate) \
/usr/include/php/main/SAPI.h:   sapi_add_header_ex((header_line), 
(header_line_len), (duplicate), 1)
/usr/include/php/main/SAPI.h:SAPI_API int sapi_add_post_entry(char 
*content_type

I cannot get an older version now...

Crc

PS: It is really embarrassing that a sub-sub-version change makes php 
incompatible with the previous version... :-[
_________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to