Hello,
> 
>   Thanks for your reply.
>   I think the libssl.a and libcrypto.a should be ok. Maybe myAPI.a had
> failed to link libssl.a and libcrypto.a into itself? 
>   Later I try another way: when I make myUI, I link to not only
> myAPI.a, but also libssl.a and libcrypto.a all. It seems that the
> openssl api can be found.
>   Now, my question is: Can I link a lib(.a) into another lib(.a)?
No, static archive library is container of objects files with some
additional data (like symbol index). You may think of this library
like of tar archive. But you may extract some object files from one
library (with ar xv ...) and add this objects to other library
(with ar rv ...).

Best regards,
-- 
Marek Marcola <[EMAIL PROTECTED]>

______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    openssl-users@openssl.org
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to