[prev in list] [next in list] [prev in thread] [next in thread] 

List:       openssl-dev
Subject:    [openssl.org #725] compile error on SunOS 4.1.4
From:       "Lutz Jaenicke via RT" <rt () openssl ! org>
Date:       2003-11-21 12:49:48
[Download RAW message or body]


[openssl-bugreport1003@oldach.net - Mon Oct  6 17:05:28 2003]:

> Hi,
> 
> while upgrading to 0.9.7c on my old SunOS 4.1.4 box I am getting the
> following error:
> 
> | making all in test...
> | if [ "" = "hpux-shared" -o "" = "darwin-shared" ] ; then \
> |   gcc -o destest -I.. -I../include  -DOPENSSL_SYSNAME_SUNOS
> -DOPENSSL_NO_KRB5 -O3 -mv8 -Dssize_t=int destest.o  ../libcrypto.a  ;
> \
> | else \
> |   LD_LIBRARY_PATH=..:$LD_LIBRARY_PATH \
> |   gcc -o destest -I.. -I../include  -DOPENSSL_SYSNAME_SUNOS
> -DOPENSSL_NO_KRB5 -O3 -mv8 -Dssize_t=int destest.o  -L.. -lcrypto  ; \
> | fi
> | ld: Undefined symbol
> |    _memmove
> | collect2: ld returned 2 exit status
> | *** Error code 1
> | make: Fatal error: Command failed for target `destest'
> | Current working directory /home/hmo/src/openssl-0.9.7c/test
> | *** Error code 1
> | make: Fatal error: Command failed for target `sub_all'
> | Current working directory /home/hmo/src/openssl-0.9.7c
> | *** Error code 1
> | make: Fatal error: Command failed for target `top'
> 
> This error doesn't show up with 0.9.7b. The difference between both
> versions' test/destest.c ist minimal and not related to any memmove
> issue. Perhaps this is a configuration issue, or it may be related to
> the somewhat larger change in crypto/des/cfb_enc.c which introduced
> some
> new memmove() calls from 0.9.7b to 0.9.7c.

crypto/des_cfb_enc.c was not including e_os.h which is mapping memmove()
to bcopy() SunOS.
This was reported with ticket #715 and is already fixed in CVS.

Beste regards,
     Lutz

______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
Development Mailing List                       openssl-dev@openssl.org
Automated List Manager                           majordomo@openssl.org
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic