Re: Problem compiling s_client and s_server

2001-04-30 Thread robert


- Original Message -
From: agray [EMAIL PROTECTED]
To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
Sent: Monday, April 16, 2001 4:01 PM
Subject: Re: Problem compiling s_client and s_server


 Best bet:  You are linking against the incorrect c-runtime - use /MD
 (multithreaded dll)
 Menu: Project...Settings...c/C++ tabCategory: Code GenerationUse
 Runtime Library --- Multi-Threaded DLL

 Didn't you have to build apps.c as well for a standalone s_client.exe?

 You can also grab the developer studio workspace and all of the project
 files off of my homepage - the s_client (and all of the standalone apps)
 project has all of the correct settings (from compiler options to
 library resolution) applied.  http://www.iconsinc.com/~agray/ossldev/

 Andrew

 Marcus Carey wrote:
 
  Lutz
 
  I am using MS VC++ 6.0 on Windows 2000 to build the examples.
  app_rand.c
  s_cb.c
  s_client.c
  s_socket.c
 
  ssleay32.lib
  libeay32.lib
  rsaglue.lib
 
  The program compiled after adding app_rand.c to the build but I am
getting a
  s_client.exe - Application Error:  Memory could not be written when I
run
  the application.
 
  Marcus
 __
 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]



Re: Problem compiling s_client and s_server

2001-04-16 Thread Marcus Carey

Lutz

I am using MS VC++ 6.0 on Windows 2000 to build the examples.
app_rand.c
s_cb.c
s_client.c
s_socket.c

ssleay32.lib
libeay32.lib
rsaglue.lib

The program compiled after adding app_rand.c to the build but I am getting a
s_client.exe - Application Error:  Memory could not be written when I run
the application.

Marcus


- Original Message -
From: "Lutz Jaenicke" [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Monday, April 16, 2001 12:18 PM
Subject: Re: Problem compiling s_client and s_server


 On Mon, Apr 16, 2001 at 10:58:39AM -0700, Marcus Carey wrote:
  I am trying to compile the s_client and s_server applications in the
openssl apps directory.
 
  I am getting an unresolved external symbol _app_RAND_load_file error
compiling the s_client example.  Does anyone know which file contains the
function prototype for the app_RAND_load_file function?

 The prototype is in apps/apps.h and the function itself can be found in
 apps/app_rand.c. The function should therefore be found by linking in
 apps/app_rand.o.

 I don't know why it shouldn't be found, so without additional information
 about platform compiler etc it will be difficult to help you. Please check
 out, whether app_rand.o is linked in an whether there are special message
 during the compile of app_rand.c.

 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]



Re: Problem compiling s_client and s_server

2001-04-16 Thread agray

Best bet:  You are linking against the incorrect c-runtime - use /MD
(multithreaded dll)
Menu: Project...Settings...c/C++ tabCategory: Code GenerationUse
Runtime Library --- Multi-Threaded DLL

Didn't you have to build apps.c as well for a standalone s_client.exe?

You can also grab the developer studio workspace and all of the project
files off of my homepage - the s_client (and all of the standalone apps)
project has all of the correct settings (from compiler options to
library resolution) applied.  http://www.iconsinc.com/~agray/ossldev/

Andrew

Marcus Carey wrote:
 
 Lutz
 
 I am using MS VC++ 6.0 on Windows 2000 to build the examples.
 app_rand.c
 s_cb.c
 s_client.c
 s_socket.c
 
 ssleay32.lib
 libeay32.lib
 rsaglue.lib 
 
 The program compiled after adding app_rand.c to the build but I am getting a
 s_client.exe - Application Error:  Memory could not be written when I run
 the application.
 
 Marcus
__
OpenSSL Project http://www.openssl.org
User Support Mailing List[EMAIL PROTECTED]
Automated List Manager   [EMAIL PROTECTED]