On Sat, 15 Mar 2008, James Keenan wrote:

> config/auto/crypto.pm was committed to trunk on March 14 by fperrad.

[ lots of irrelevant successful items trimmed ]

> /usr/bin/gcc-3.3 -c -o sha256.o [lots of flags] sha256.c
> ./sha256.pmc: In function `Parrot_SHA256_clone':
> ./sha256.pmc:77: error: `SHA256_CTX' undeclared (first use in this function)
> ./sha256.pmc:77: error: (Each undeclared identifier is reported only once
> ./sha256.pmc:77: error: for each function it appears in.)

[ many more similar messages omitted ]

Ah, I think this one is easy:  If I recall correctly, the SHA256_CTX
stuff was added in openssl version 0.9.8; I'll bet your system has 0.9.7.

Two reasonable fixes:

1.  (Easy)  Change the test program that Configure.pl runs to use
SHA256_CTX.  That way, the test program will actually test what parrot
will be using.

2.  (Hard)  Have parts of the "crypto" support conditionally included,
depending on whether or not the user has that specific functionality
available.

-- 
    Andy Dougherty              [EMAIL PROTECTED]

Reply via email to