vBulletin Search Engine Optimization
| |||||||
| Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| ||||
| Hi, Did anyone succeed in compiling PHP 4.3.7 as DSO with GCC for the HP version of Apache on Itanium ? 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 ? Erik Devriendt |
| |||
| "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 |
| |||
| 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 |
| ||||
| "Erik Devriendt" <Erik.Devriendt@siemens.com> writes: >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. Ah yeah, you are right, that's not all there is to it. Making a shared libgcc.sl and linking to it works. An alternative is, after you have done your configure, but before you start make, to edit libtool and replace deplibs_check_method="file_magic (s[0-9] ..... etc. with deplibs_check_method="pass_all" Mart >"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 |