Error while building 2.5rc1 pythoncore_pgo on VC8
Hi All, I tried building python 2.5c1 using VC8. Getting the following errors while building pythoncore_pgo: Creating library pythoncore_pgo/python25.lib and object pythoncore_pgo/python25.exp config.obj : error LNK2001: unresolved external symbol _init_types .\pythoncore_pgo/python25.dll : fatal error LNK1120: 1 unresolved externals I checked pythoncore_pgo.vcproj file, it alreadu contains: RelativePath="..\Modules\_typesmodule.c" Can anyone give me some clue to solve this issue. Thanks & Regards, Mugunth http://mugunth.blogspot.com http://thamizha.com http://tamilblogs.com
Muguntharaj Subramanian wrote:
Hi All, I tried building python 2.5c1 using VC8.
Getting the following errors while building pythoncore_pgo:
Creating library pythoncore_pgo/python25.lib and object pythoncore_pgo/python25.exp config.obj : error LNK2001: unresolved external symbol _init_types .\pythoncore_pgo/python25.dll : fatal error LNK1120: 1 unresolved externals
I checked pythoncore_pgo.vcproj file, it alreadu contains:
RelativePath="..\Modules\_typesmodule.c"
Can anyone give me some clue to solve this issue.
googling for error messages is always a good idea: http://thread.gmane.org/gmane.comp.python.devel/83341 (see the last post in that thread for what I believe is a workaround) </F>
I checked pythoncore_pgo.vcproj file, it alreadu contains:
RelativePath="..\Modules\_typesmodule.c"
Can anyone give me some clue to solve this issue.
googling for error messages is always a good idea:
http://thread.gmane.org/gmane.comp.python.devel/83341
(see the last post in that thread for what I believe is a workaround)
</F>
Yes, I have already done a bit of searching before posting that message. I have seen that previous post. That error mentioned in that post was in "pythoncore" module. My error is while compiling "pythoncore_pgo" module. And the workaround solution mentioned there is already there in the pythoncore_pgo.vcproj file. Thats why i mentioned RelativePath="..\Modules\
_typesmodule.c" is already there.
I am still getting the same error. I am not able to find the cause yet. Any clue regarding this. Thanks & Regards, Mugunth http://mugunth.blogspot.com http://thamizha.com http://tamilblogs.com
Muguntharaj Subramanian wrote:
That error mentioned in that post was in "pythoncore" module. My error is while compiling "pythoncore_pgo" module.
iirc, that's a partially experimental alternative build for playing with performance guided optimizations. are you sure you need that module ? </F>
Fredrik Lundh wrote:
That error mentioned in that post was in "pythoncore" module. My error is while compiling "pythoncore_pgo" module.
iirc, that's a partially experimental alternative build for playing with performance guided optimizations. are you sure you need that module ?
Oh yes, it's a 30% improvement in pystone, for free. -- Giovanni Bajo
participants (3)
-
Fredrik Lundh
-
Giovanni Bajo
-
Muguntharaj Subramanian