Hi,

On Oct. 30th 2000, Richard Levitte wrote:
mark> > cc -o openssl -DMONOLITH -I../include -O3 -DB_ENDIAN openssl.o
verify.o
mark> > asn1pars.o req.o dgst.o dh.o dhparam.o enc.o passwd.o gendh.o
errstr.o ca.o
mark> > pkcs7.o crl2p7.o crl.o rsa.o rsautl.o dsa.o dsaparam.o x509.o
genrsa.o
mark> > gendsa.o s_server.o s_client.o speed.o s_time.o apps.o s_cb.o
s_socket.o
mark> > app_rand.o version.o sess_id.o ciphers.o nseq.o pkcs12.o pkcs8.o
spkac.o
mark> > smime.o rand.o -L. -L.. -L../.. -L../../.. -L.. -lssl -L..
-lcrypto
mark> > /usr/bin/ld: Undefined symbols:
mark> > _ftime
mark> 
mark> This looks like it would be a fairly easy thing to fix - _ftime
missing.
mark> However, I'm not terribly familiar with MacOS X Server...
mark> 
mark> Help? Ideas?

richard>If you tell me a macro that identifies MacOSX, I might be able
to
richard>provide a fix.


I have a quick solution for this problem:

It comes from apps/speed.c
The #ifdefine-Block beginning in line 85 results in
a "#define TIMEB", although Mac-OS-X supports gettimeofday.

So you can simply #define USE_TOD, and that thing will
work.

My speed.c looks like this (beginning from line 85):

#define USE_TOD
/* #if defined(__freeBSD__)
# define USE_TOD
#elif !defined(MSDOS) && (!defined(VMS) || defined(__DECC))
# define TIMES
#endif
#if !defined(_UNICOS) && !defined(__OpenBSD__) && !defined(sgi) &&
!defined(__Fr
eeBSD__) && !(defined(__bsdi) || defined(__bsdi__)) && !defined(_AIX) &&
!define
d(MPE)
# define TIMEB
#endif
*/

To be on the safe side, I additionally commented out the whole original
block.

Hope this didn't come to late for you...

Stephan
_______________________________________________________________

   Stephan Bauer                        Inhaber/Director
   Bauer Internetprojects.de            Tel: +49 172 9795002
   Software-Design & Implementation     Fax: +49 9421 31471
_______________________________________________________________
                                                
   Web: http://www.internetprojects.de          
   E-Mail: [EMAIL PROTECTED]    
                                                
   http://www.ask-the-guru.com
   The Home of Mod_Redundancy -                 
   The Apache-Module for High Availability      
_______________________________________________________________
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    [EMAIL PROTECTED]
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to