Hi,

When I build openssl source code with gcc 3.4.3 and glibc 2.2.5, I get
undefined symbol errors.
Some of those errors are as follows:



(cryptlib.o)(.text+0x18a): In function `OPENSSL_showfatal':
: undefined reference to `__vfprintf_chk'
(obj_dat.o)(.text+0xf01): In function `OBJ_obj2txt':
: undefined reference to `__stack_chk_fail'
(obj_dat.o)(.text+0x1082): In function `OBJ_create_objects':
: undefined reference to `__ctype_b_loc'
(obj_dat.o)(.text+0x118b): In function `OBJ_create_objects':
: undefined reference to `__stack_chk_fail'
(bn_print.o)(.text+0x393): In function `BN_hex2bn':
: undefined reference to `__ctype_b_loc'
(p5_crpt.o)(.text+0x272): In function `PKCS5_PBE_keyivgen':
: undefined reference to `__memcpy_chk'
(p5_crpt.o)(.text+0x2e3): In function `PKCS5_PBE_keyivgen':
: undefined reference to `__memcpy_chk'
(t_pkey.o)(.text+0xfc7): In function `ECPKParameters_print':
: undefined reference to `__memset_chk'
(t_pkey.o)(.text+0x1061): In function `ECPKParameters_print':
: undefined reference to `__memset_chk'
(x509_cmp.o)(.text+0x384): In function `X509_NAME_cmp':
: undefined reference to `__ctype_tolower_loc'
(x509_cmp.o)(.text+0x3ca): In function `X509_NAME_cmp':
: undefined reference to `__ctype_b_loc'
(pem_lib.o)(.text+0xf1): In function `PEM_def_callback':
: undefined reference to `__fprintf_chk'
(v3_alt.o)(.text+0x396): In function `i2v_GENERAL_NAME':
: undefined reference to `__strcat_chk'
(v3_alt.o)(.text+0x3b1): In function `i2v_GENERAL_NAME':
: undefined reference to `__strcat_chk'
(v3_alt.o)(.text+0x4af): In function `i2v_GENERAL_NAME':
: undefined reference to `__stack_chk_fail'
(v3_skey.o)(.text+0x271): In function `s2i_skey_id':
: undefined reference to `__stack_chk_fail'

Is there a workaround for getting these symbols resolved with gcc 3.4.3 and
glibc 2.2.5?

Thanks.





--
View this message in context: 
http://openssl.6102.n7.nabble.com/Linking-errors-while-building-openssl-1-0-1e-with-gcc-3-4-3-and-glibc-2-2-5-tp48313.html
Sent from the OpenSSL - User mailing list archive at Nabble.com.
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    openssl-users@openssl.org
Automated List Manager                           majord...@openssl.org

Reply via email to