interrogate_module aborts.

While going through the overly complicated and way too manual build system for Panda I encountered the following problem:

interrogate_module -oc Opt3-Linux/libpandaexpress_module.cxx -module "pandaexpress" -library "libpandaexpress" -python-native   ../../src/downloader/Opt3-Linux/ ../../src/express/Opt3-Linux/
make[1]: *** [Opt3-Linux/libpandaexpress_module.cxx] Aborted
make[1]: Leaving directory `/usr/local/src/panda3d-1.3.2/panda/metalibs/pandaexpress'
make: *** [pandaexpress] Error 2

The error is that interrogate_module says “Aborted” and exits with code 134 which disrupts the build.

Why is this and how do I fix it?

That actually appears to be a crash in interrogate. Perhaps interrogate was not compiled correctly, or perhaps you inadvertently have the DLL’s (or .so’s) from the public version of Panda on your path, and they’re getting picked up instead of the ones you just built?