Hi!,
The missing information are:

System = SunOS
Release = 5.6
KernelID = Generic_105181-19
Machine = sun4u
Compiler = gcc for sparc-sun-solaris2.6

I have successfully installed OpenSSL and it is while compiling the code
where I am making use of the SSL lib that I am getting problem. Lutz as do I
think we cannot use the name of functions  which are part of the standard
library and in this case we have the same.Correct me if I am wrong.
I am not sure if the code will behave properly for I have commented out the
declaration of crypt() in the des.h file.I am bracing myself up for some run
time error!!

Thanks & regds,
-Fateh



-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Lutz Jaenicke
Sent: Thursday, January 04, 2001 10:58 AM
To: [EMAIL PROTECTED]
Subject: Re: overloaded functions..commenting out doesn't works!!


On Thu, Jan 04, 2001 at 10:30:49AM -0800, Fateh Kausar wrote:
> I am so thankful to you.It finally worked, but could you please tell me
why
> my code was building fine when I was not using OpenSSL.
> Thanks and regards.
> -Fateh
>
> P.S. But the problem with des.h stays for I am forcing the OpenSSL lib to
> use a different signature of the crypt function by defining
> HEADER_DES_LOCL_H. Not doing so makes the compiler to complain saying
>
> "/usr/include/unistd.h", line 169: Error: Only one of a set of overloaded
> functions can be "C" or "Pascal".

I have just re-checked your other messages. I probably don't have enough
information available.
- What kind of system are you using?
- What compiler are you using?
- You are trying to _use_ the openssl library rather than installing the
  library?
If you have a look into the "des.h" header file (version of openssl 0.9.6),
you will find the following construct at line 192:
#if !defined(PERL5) && !defined(__FreeBSD__) && !defined(NeXT)
char *crypt(const char *buf,const char *salt);
#endif
For me it seems, that when compiling PERL5 or when working on the FreeBSD or
Next platform, there is a problem with crypt(). Maybe we have to take care
of another platform??

Best regards,
        Lutz
--
Lutz Jaenicke                             [EMAIL PROTECTED]
BTU Cottbus               http://www.aet.TU-Cottbus.DE/personen/jaenicke/
Lehrstuhl Allgemeine Elektrotechnik                  Tel. +49 355 69-4129
Universitaetsplatz 3-4, D-03044 Cottbus              Fax. +49 355 69-4153
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    [EMAIL PROTECTED]
Automated List Manager                           [EMAIL PROTECTED]

______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    [EMAIL PROTECTED]
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to