I am trying to create a Shared Library and used the CW 8 Wizard to get the
stubs generated. Then I was modifying the stubs to compile in my code and
got the following link error:
Link Error: bn_lib.c: 'const_one$79' has illegal single segment 32-bit
reference to 'data_one$78'.
I think the code in question is below:
BIGNUM *BN_value_one()
{
static BN_ULONG data_one=1L;
static BIGNUM const_one={&data_one,1,1,0};
return(&const_one);
}
Anyone with any idea of what that link error means?
TIA.
Young.
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/tech/support/forums/