I've followed these instructions:

"Assuming a default installation (C:\OpenSSL), go to 'C:\OpenSSL\lib\MinGW'
and copy all of the files to your MinGW 'lib' directory.

Next, copy everything in the 'C:\OpenSSL\include' directory to your MinGW
'include' directory."

I've called the bn.h, with:

#include <openssl/bn.h>

and I've got the following errors:

C:\MinGW\bin>gcc fatorialBIG.c -o fatorialBIG.exe
C:\DOCUME~1\RUIMIG~1\DEFINI~1\Temp\cc7A3ZJd.o:fatorialBIG.c:(.text+0xf):
undefin
ed reference to `BN_new'
C:\DOCUME~1\RUIMIG~1\DEFINI~1\Temp\cc7A3ZJd.o:fatorialBIG.c:(.text+0x4c):
undefi
ned reference to `BN_dec2bn'
C:\DOCUME~1\RUIMIG~1\DEFINI~1\Temp\cc7A3ZJd.o:fatorialBIG.c:(.text+0x6a):
undefi
ned reference to `BN_mul_word'
C:\DOCUME~1\RUIMIG~1\DEFINI~1\Temp\cc7A3ZJd.o:fatorialBIG.c:(.text+0x84):
undefi
ned reference to `BN_bn2dec'
collect2: ld returned 1 exit status

Any ideas?

Regards,

Rui Fernandes

Reply via email to