Re: Compiling PHP as module on Itanium

From: Erik Devriendt (Erik.Devriendt_at_siemens.com)
Date: 06/29/04


Date: Tue, 29 Jun 2004 15:11:23 +0200

Thanks for the suggestion.
But now libtool protests that I want to link a static libray (libgcc.a) when
creating a shared object file libphp4.sl.
I had to create a libgcc.sl myself from the objects in libgcc.a to make
libtool work.

"Mart Rentmeester" <martr@wn5.nospamplease.nl> wrote in message
news:cbprjq$iff$1@wnnews.sci.kun.nl...
> "Erik Devriendt" <Erik.Devriendt@siemens.be> writes:
>
>
> >I managed to create the libphp4.sl but Apache doen't want to load
> >it as module.
> >It says:
> >[...] Unsatified code symbol '__udivsi3' in load module [...]
> >and this for several symbols:
> > __udivdi3, __udivsi3, __divsi3, __moddi3, __modsi3, __umoddi3
>
> >Could it be that this is caused by Apache (probably) being compiled
> >with the HPUX CC and my module being compiled with GCC ?
>
>
>
> Yes - try building php again running .configure with
> the option --enable-libgcc
>
>
> Mart