1.3.12 + mod_perl+mod_ssl+hpux10.20 problem

1.3.12 + mod_perl+mod_ssl+hpux10.20 problem

Post by pfoste » Sun, 18 Jun 2000 04:00:00



The subject pretty much says my problem.
I have built mod_pel + mod_ssl and got those
compiled finally, now I am running the make
for apache after having configured it to include
both modules above. The error I am running into is

(on make)
/usr/ccs/bin/ld: Unsatisfied symbols:
   __umoddi3 (code)
   __udivdi3 (code)

here's the whole segment:

              -o httpd buildmark.o modules.o  modules/ssl/libssl.a
modules/perl/libperl.a  modules/standard/libstandard.a  main/libmain.a
./os/unix/libos.a  ap/libap.a regex/libregex.a lib/expat-lite/libexpat.a
-lssl -lcrypto -Wl,-E -Wl,-B,deferred   -L/usr/local/lib
/usr/local/lib/perl5/5.00502/PA-RISC1.1/auto/DynaLoader/DynaLoader.a
-L/usr/local/lib/perl5/5.00502/PA-RISC1.1/CORE -lperl -lnsl_s -lndbm -ldb
-ldld -lm -lc -lndir -lcrypt
/usr/ccs/bin/ld: Unsatisfied symbols:
   __umoddi3 (code)
   __udivdi3 (code)
*** Error exit code 1

I checked in the bug reports and saw some discussion of making the
EXTRA_LIBS line in my configure file have -lm in it also.

So, I opened up the src/Configure and found the segment that seemed to refer
to this..
        *-hp-hpux10.*|*-hp-hpux11.*)
            case $CC in
                */gcc|gcc ) CFLAGS_SHLIB="-fpic" ;;
                */cc|cc   ) CFLAGS_SHLIB="+z" ;;
            esac
            LDFLAGS_SHLIB="-lmb"
            LDFLAGS_MOD_SHLIB=$LDFLAGS_SHLIB
            LDFLAGS_SHLIB_EXPORT="-Wl,-E -Wl,-B,deferred -Wl,+s"
            SHLIB_SUFFIX_NAME=sl
            ;;

(if you'll notice, I modified the LDFLAGS_SHLIB line as I couldn't find
any line here that was just EXTRA_LIBS. I bet this is a pretty simple thing that
I am making too complicated, but if someone could clarify this for me, that would
be great.

thanks.

-phil.
--------------------------------------------------------------------------
Free your inner penguin