| [Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] |
Hi all,
I'm having trouble using gnu-crypto-2.0.1 with version 3.4.2 of gcj.
Here's the commands I'm using to build gnu-crypto:
export CC=/usr/local/gcc-3.4.2/bin/gcc
export GCJ=/usr/local/gcc-3.4.2/bin/gcj
${GNU_CRYPTO_SRC}/gcj/init.sh
./configure --prefix=/usr/local/gnu-crypto-2.0.1
make
make install
Here's my java code (Test.java):
import gnu.crypto.mode.ModeFactory;
public class Test
{
public static void main(String[] args)
{
try
{
IMode mode = ModeFactory.getInstance("CFB", "AES", 16);
}
catch (Exception x)
{
x.printStackTrace();
}
}
}
Here's the script I'm using to build the code:
#!/bin/bash
GCJ=/usr/local/gcc-3.4.2/bin/gcj GC201=/usr/local/gnu-crypto-2.0.1
Here's the command I'm using to run the code:
LD_LIBRARY_PATH=/usr/local/gcc-3.4.2/lib ./test
Here's the stack trace that gets printed:
Thanks for your time,
Chris.
_______________________________________________ gnu-crypto-discuss mailing list gnu-crypto-discuss@xxxxxxx http://lists.gnu.org/mailman/listinfo/gnu-crypto-discuss
[Home] [Gnu Classpath] [Linux Kernel] [Linux Cryptography] [Fedora] [Fedora Directory] [Red Hat Development] [Red Hat 9 Bible] [Fedora Bible] [Red Hat 9] [Network Security Reading]
![]() |