gpg: fatal: idea encryption (0) failed

Jean-Francois Malouin Jean-Francois.Malouin@bic.mni.mcgill.ca
Thu, 23 Nov 2000 13:44:24 -0500


* Jean-Francois Malouin (Jean-Francois.Malouin@bic.mni.mcgill.ca) [20001123 13:25] thus spake:

> * Werner Koch (wk@gnupg.org) [20001123 11:02] thus spake:
> > On Thu, 23 Nov 2000, Jean-Francois Malouin wrote:
> >
> > > gpg: fatal: idea encryption (0) failed
> >
> > The selftest of the idea module failed. Probaly a 64bit integer
> > problem.
>
> I'm not sure if I understand but anyways gnupg was compiled on
> irix-5.3 (which only have mips-32bit abi):
>
> ~> cc -c idea.o
> ~> file idea
> idea: ELF 32-bit MSB dynamic lib MIPS - version 1
> ~> ld -elf -shared -o idea -all idea.o
> ~> file .gnupg/idea
> .gnupg/idea: ELF 32-bit MSB dynamic lib MIPS - version 1
Follow-up on me...I should have been more resilient! I reconfigured gnupg with the following flags: --disable-nls --with-included-gettext \ --enable-static-rnd=egd --disable-asm and used gcc version egcs-2.91.66 (egcs-1.1.2 release) rather than the irix native C compiler. After I compiled the rsa and idea modules using: gcc -Wall -O2 -shared -fPIC -o rsa rsa.c gcc -Wall -O2 -shared -fPIC -o idea idea.c and lo and behold it now works! Can someone shed some light on what is going on here? Thanks jf -- "You are born naked, wet and hungry. Then it gets worse" -Woto -- Archive is at http://lists.gnupg.org - Unsubscribe by sending mail with a subject of "unsubscribe" to gnupg-users-request@gnupg.org