Re: Compiling PHP as module on Itanium

From: Mart Rentmeester (martr_at_wn5.nospamplease.nl)
Date: 06/29/04

  • Next message: Johannes Raspe: "SOLVED: X-header-files 10.20"
    Date: Tue, 29 Jun 2004 13:53:43 +0000 (UTC)
    
    

    "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


  • Next message: Johannes Raspe: "SOLVED: X-header-files 10.20"