Problems with loading python.so
by Vinay Sajip
I've just checked out the project from source and tried building on Ubuntu (using gcc 4.6.1-9ubuntu2). Everything compiles and links OK, but when I try to load python.so, it fails because a symbol is undefined: "cfun". I see that cfun is declared in plugin/include/function.h:
extern GTY(()) struct function * cfun;
but I don't know where it's meant to be defined. I presume it's meant to be part of gcc, and from the docs, any gcc 4.6 should work; can any one shed any light on this?
Thanks,
Vinay Sajip
12 years, 7 months