I have a C++ app that I'm developing with wxGTK 2.9.0 on Ubuntu 9.10. The app also uses the Python 3.1 api. The source files compile just fine but when it comes to linking, I get errors saying that xxx has already been defined, where xxx is a member function in the classes. There are many of these errors. The only libraries I'm linking with are libpython3.1.a and the wxGTK libs. The code compiles fine on Windows. Any ideas? Is there a known issue linking wxGTK with Python?