SSL socket in 2.0

thaiwey at my-deja.com thaiwey at my-deja.com
Wed Dec 6 17:30:45 CET 2000


hi,

i have been trying to compile the socket module with SSL support on my
nt without much success. i was using the pcbuild.dsw in MSVC 6.0. can
anyone advice me as to how i can set the necessary flags in the project
options/settings to turn on SSL.

i have already compiled openssl-0.9.6 for my machine. i have also added
"USE_SSL" in the preprocessor definitions, paths to openssl in the
include directories, library path to openssl, and "libeay32.lib
ssleay32.lib" to the Object\library modules section. when compiling, i
keep getting the following errors:

Compiling...
socketmodule.c
G:\Python-2.0\Modules\socketmodule.c(2112) : error C2099: initializer
is not a constant
G:\Python-2.0\Modules\socketmodule.c(2114) : warning C4047:
'initializing' : 'int ' differs in levels of indirection from 'char [4]'
G:\Python-2.0\Modules\socketmodule.c(2115) : warning C4047:
'initializing' : 'char *' differs in levels of indirection from
'unsigned int '
G:\Python-2.0\Modules\socketmodule.c(2118) : warning C4047:
'initializing' : 'int ' differs in levels of indirection from 'void
(__cdecl *)(struct _object *)'
G:\Python-2.0\Modules\socketmodule.c(2120) : warning C4047:
'initializing' : 'int (__cdecl *)(struct _object *,struct _iobuf *,int
)' differs in levels of indirection from 'struct _object *(__cdecl *)
(struct _object *,char *)'
Error executing cl.exe.

thanks.

tw


Sent via Deja.com http://www.deja.com/
Before you buy.



More information about the Python-list mailing list