Unresolved symbol: __moddi3 (code) from libgncmod-engine.sl.0

Derek Atkins warlord at MIT.EDU
Mon Feb 17 11:31:33 CST 2003


Hi,

"Gansser, Martin" <MGansser at rand.de> 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
       warlord at MIT.EDU                        PGP key available


More information about the gnucash-devel mailing list