undefined reference to `PyUnicodeUCS4_FromString'

Hi - I’m getting error:

BL_ArmatureObject.cpp:(.text._ZN13KX_GameObject7py_reprEv[KX_GameObject::py_repr()]+0x15): undefined reference to `PyUnicodeUCS4_FromString'

while building Blender on Ubuntu 10.04, with Python 3.2

my build flags are:

Can anyone tell me how to fix this issue?

this is strange you get this when building, check if you have 2+ different python versions. possibly you use headers from one and libs from another.

Whats happening is the headers think you are using one kind of unicode, but the libraries you link with are built with another,

Also possible you have broken python installation. :S, I never saw this.