hello, iam trying to build mod_wsgi for python 3.2 / apache2 on
windows from source code and it gets
an exception:

-------------------------------------------------------------------------------------------------------------------------------
   Creating library mod_wsgi.lib and object mod_wsgi.exp
mod_wsgi.obj : error LNK2019: unresolved external symbol
_PyCObject_FromVoidPtr
referenced in function _Adapter_environ
mod_wsgi.so : fatal error LNK1120: 1 unresolved externals
-------------------------------------------------------------------------------------------------------------------------------

i already modified the source paths for python32 instead of python31,
from Microsoft Visual Studio 9.0 to Microsoft Visual Studio 10.0 and
from Microsoft SDKs\Windows\v6.0A to Microsoft SDKs\Windows\v7.0A

is thier something wrong i did or is their anything else to do ?
apache is installed with header

the full modified source code is :


-------------------------------------------------------------------------------------------------------------------------------

CPPFLAGS = \
 /DWIN32 \
 /DNDEBUG \
 /I"c:\Program Files\Microsoft Visual Studio 10.0\VC\include" \
 /I"c:\Program Files\Microsoft SDKs\Windows\v7.0A\Include" \
 /I"c:\Program Files\Apache Software Foundation\Apache2.2\include" \
 /I"c:\Python32\include"

CFLAGS = \
 /MD \
 /GF \
 /Gy \
 /O2 \
 /Wall \
 /Zc:wchar_t \
 /Zc:forScope

LDFLAGS = \
 /link \
 "/LIBPATH:c:\Program Files\Microsoft Visual Studio 10.0\VC\lib" \
 "/LIBPATH:c:\Program Files\Microsoft SDKs\Windows\v7.0A\Lib" \
 "/LIBPATH:c:\Program Files\Apache Software Foundation\Apache2.2\lib"
\
 "/LIBPATH:c:\Python32\libs" \
 /OPT:REF \
 /OPT:ICF=2 \
 /RELEASE \
 /SUBSYSTEM:WINDOWS

LDLIBS = \
 python32.lib \
 libhttpd.lib \
 libapr-1.lib \
 libaprutil-1.lib

mod_wsgi.so : mod_wsgi.c
        cl $(CPPFLAGS) $(CFLAGS) $? /LD $(LDFLAGS) $(LDLIBS) /OUT:$@
        mt -manifest [email protected] -outputresource:$@;2

clean :
        del *.obj *.so *.so.manifest *.lib *.exp



-- 
You received this message because you are subscribed to the Google Groups 
"modwsgi" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/modwsgi?hl=en.

Reply via email to