Hi Aaraon,
 
Thanks for your inputs. I have followed your comments which resolved problem in the libssl.a and now i am getting problems in libcrypto. Please find the details below and kindly give inputs on this.
 
 
ucdata.c:411: warning: assignment discards qualifiers from pointer target type

ar: creating liblunicode.a

/usr/lib64/gcc/x86_64-suse-linux/4.1.0/../../../../x86_64-suse-linux/bin/ld: /usr/local/ssl/lib/libcrypto.a(x86_64cpuid.o): relocation R_X86_64_PC32 against `OPENSSL_cpuid_setup' can not be used when making a shared object; recompile with -fPIC

/usr/lib64/gcc/x86_64-suse-linux/4.1.0/../../../../x86_64-suse-linux/bin/ld: final link failed: Bad value

collect2: ld returned 1 exit status

make[2]: *** [libldap.la] Error 1

make[1]: *** [all-common] Error 1

make: *** [all-common] Error 1

base64.o base64.c

regards,
dinesh