Hi,
 
I am building openSSL version 0.9.7c on a 64-bit RedHat linux platform.
 
Here are the details of my system - 
 
bash-3.00$ uname -a
Linux saumya.foobar.com 2.6.9-5.ELsmp #1 SMP Wed Jan 5 19:29:47 EST 2005
x86_64 x86_64 x86_64 GNU/Linux
 
bash-3.00$ gcc -v
Reading specs from /usr/lib/gcc/x86_64-redhat-linux/3.4.3/specs
Configured with: ../configure --prefix=/usr --mandir=/usr/share/man
--infodir=/usr/share/info --enable-shared --enable-threads=posix
--disable-checking --with-system-zlib --enable-__cxa_atexit
--disable-libunwind-exceptions --enable-languages=c,c++,objc,java,f77
--enable-java-awt=gtk --host=x86_64-redhat-linux Thread model: posix gcc
version 3.4.3 20041212 (Red Hat 3.4.3-9.EL4)
 
I am doing the following steps for the build - 
 
1. ./config
2. make
 
I get a native 64-bit linux build, but I am getting the following
warnings. Is there a way to get around these warnings? 
 
mem_clr.c: In function `OPENSSL_cleanse':
mem_clr.c:71: warning: cast from pointer to integer of different size
ar: creating ../libcrypto.a
bn_div.c: In function `BN_div':
bn_div.c:311: warning: unused variable `ql'
bn_div.c:311: warning: unused variable `qh'
asm/x86_64-gcc.c: In function `bn_mul_comba8':
asm/x86_64-gcc.c:321: warning: unused variable `bl'
asm/x86_64-gcc.c:321: warning: unused variable `bh'
asm/x86_64-gcc.c: In function `bn_mul_comba4':
asm/x86_64-gcc.c:426: warning: unused variable `bl'
asm/x86_64-gcc.c:426: warning: unused variable `bh'
asm/x86_64-gcc.c: In function `bn_sqr_comba8':
asm/x86_64-gcc.c:467: warning: unused variable `bl'
asm/x86_64-gcc.c:467: warning: unused variable `bh'
asm/x86_64-gcc.c: In function `bn_sqr_comba4':
asm/x86_64-gcc.c:544: warning: unused variable `bl'
asm/x86_64-gcc.c:544: warning: unused variable `bh'
asm/x86_64-gcc.c: In function `bn_add_words':
asm/x86_64-gcc.c:154: warning: 'ret' might be used uninitialized in this
function
asm/x86_64-gcc.c:154: warning: 'i' might be used uninitialized in this
function
asm/x86_64-gcc.c: In function `bn_sub_words':
asm/x86_64-gcc.c:177: warning: 'ret' might be used uninitialized in this
function
asm/x86_64-gcc.c:177: warning: 'i' might be used uninitialized in this
function
ar: creating ../libssl.a
ssltest.c: In function `app_verify_callback':
ssltest.c:1504: warning: cast from pointer to integer of different size
ssltest.c:1504: warning: cast from pointer to integer of different size
 
 
Thanks,
Saumya

Reply via email to