Here I am again. I have been investigating a bit and I have done some tests.
I just list them for the records:
1. Build PHP as CGI. The build breaks in the same point. At least we can now
leave Apache out of the game.
2. I get hold to the 'zend_ptr_stack_push' function for the sake of
simplicity. I find it in the ./Zend directory. It is defined in
zend_ptr_stack.h and implemented in zend_ptr_stack.c. This file seems to be
compiled correctly and the function is in there (nm zend_ptr_stack.o gives
me something).
3. I look into libZend.a in ./zend/.libs, and 'nm' says that the function is
in there.
And I think I'm getting close... some of these functions are defined as
'inline' and called from outside the files where are implementes. This does
not work with this compiler... I tried removing the 'inline' clause in one
of them and the corresponding error dissapears.
I will try (tomorrow) to remove the inlines and see if it gets compiled...
Take care,
Christian
> -----Mensaje original-----
> De: Roman Hochuli [mailto:[EMAIL PROTECTED]]
> Enviado el: miércoles 10 de enero de 2001 11:16
> Para: Pomar Berry, Christian
> Asunto: AW: [PHP-INST] Compiling PHP 4.0.4 on Irix 6.5
>
>
> Dear Christian
>
> > Anyway, I think that we could help the guys from PHP trying to
> > make this thing work with the native compiler
>
> I think this would be an intresting challange... :)
>
> > (which, in turn --sorry GNU
> > blokes-- is much better than any other when it gets to make
> fast code).
>
> Exactly the same as I think.
>
> > What I have to find out is where the hell are those
> functions defined and
> > why the proper library is not being seen by the linker when
> the apache
> > module is linked.
> >
> > Does anybody know where the functions
> > _array_init,
> > zend_ptr_stack_push,
> > var_reset,
> > add_get_index_string,
> > add_get_index_long,
> > etc.
> >
> > are defined, --and compiled--? Maybe you could do that just
> ldd'ing the
> > libraries and executables.
>
> Maybe a simple grep can help at this point. But I think we
> should move this discussion to the php-dev-list. Do you want
> to repost your message there...? There should be the guys who
> know the answers to these questions.
>
> > Take care
>
> Thanks, you too.
>
> Greetings
> Roman
>
> --
> Roman [EMAIL PROTECTED]/+41(0)15003595
> GCS/CC d+ s:+ a-- C++++ UL++++/I++++ P+ L++++
> E--- W+++ N++ w--- O M- V PS+++ Y+ PGP t+++
> 5++ X+++ R* tv+ b+ D+ G e h!(*) !r y-- UF++++
>
>
>
***************************************************************************
DISCLAIMER: Este mensaje contiene información propietaria
de la cual parte o toda puede contener información confidencial
o protegida legalmente. Esta exclusivamente destinado al
usuario de destino.
Si, por un error de envio o transmisión, ha recibido este mensaje
y usted no es el destinatario del mismo, por favor, notifique
de este hecho al remitente.
Si no es el destinatario final de este mensaje no debe usar,
informar, distribuir, imprimir, copiar o difundir este mensaje
bajo ningún medio.
---------
DISCLAIMER: This e-mail contains propietary information some
or all of which may be legally privileged. It is for the intended
recipient only. If an addressing or transmission error has
misdirected this e-mail, please notify the author by replying to
this e-mail. If you are not the intended recipient you must not use,
disclose, distribute, copy, print or relay on this e-mail.
***************************************************************************
--
PHP Install Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]