Error when trying to compile the python wrapper with mingw32 at winXP

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi all,
i'm getting problems to compile the python wrapper from
pjsip-apps/src/python at a winXP box.
I've installed:
- Python2.6.5 (from ActiveState)
- gcc (vs 3.4.5), make from MinGW project
- bash, less and other tools MSys (thanks god for this project, cmd from
windows is ugly!)

I downloaded pjproject1.6 and pjproject1.0.3 at c:/compile, thenk extracted
the sources.
Then ./configure; make dep; make ... both projects are compiled correctly,
without any error. Then
i go to pjsip-apps/src/python to compile the python wrapper ...
$ python ./setup.py build --compiler=mingw32
It generates the object code fine and without errors (_pjsua.o). Then, in
the 'linking phase' gcc
try to link some libraries (pjmedia, wsock32, pjlib-util, python libs, etc
...) to generate _pjsua.pyd,
and in this steps gcc fails with this error:
build\temp.win32-2.6\Release\_pjsua.o:_pjsua.c:<.text+0x....>: 'undefined
reference to '_imp__Py_NoneStruct'

What am i missing?, i dont have experience using windows as developer and
can't understand
those <.text+0x....> (I dont know if they are line numbers or what ...) so
it's hard for me to debugg this
problem.
Any help is appreciated, and thanks for your time,
Emiliano.

-- 
"Chuck Norris doesn't need a debugger, he just stares down the bug until the
code confesses."
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/attachments/20100726/8c615472/attachment.html>


[Index of Archives]     [Asterisk Users]     [Asterisk App Development]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [Linux API]
  Powered by Linux