Hi,

"Gansser, Martin" <[EMAIL PROTECTED]> writes:

> Hi,
> 
> I compiled now gnucash-1.8.1 successfully on hpux 11.00, but the start fails with 
>the following
> error message:
> 
> prounix_root:/opt/gnucash/bin # ./gnucash 
> /usr/lib/dld.sl: Unresolved symbol: __moddi3 (code)  from 
>/opt/gnucash/lib/gnucash/libgncmod-engine.sl.0 
> IOT Abfrage (Hauptspeicherauszug ausgegeben) 
> 
> any suggestion

Yep.  That's an internal gcc compiler symbol.  It means you either need
to use GCC to link or you need to link against the proper libgcc.

You should do the following from the top-level build directory:

        make clean
        rm libtool
        rm config.cache
        env LD=gcc ./configure ...
        make
        make install

The problem is that you need to use gcc to link, not the native ld.
This change will rebuild libtool and use gcc as the linker, so it should
solve your problem.

I don't know why our configure script doesn't look for this on certain
platforms.  However I need to do this on Solaris, too, so it's not
just you.  I'll see if I can figure out how to fix this from gnucash-2
(unlikely I'll figure it out for a future 1.8 release).

> thanks Martin

-derek

-- 
       Derek Atkins, SB '93 MIT EE, SM '95 MIT Media Laboratory
       Member, MIT Student Information Processing Board  (SIPB)
       URL: http://web.mit.edu/warlord/    PP-ASEL-IA     N1NWH
       [EMAIL PROTECTED]                        PGP key available
_______________________________________________
gnucash-devel mailing list
[EMAIL PROTECTED]
http://www.gnucash.org/cgi-bin/mailman/listinfo/gnucash-devel

Reply via email to