that compile log looks like it can't find the most basic C headers - which is very odd...
linux_ppc should work if you compile it on that system - kinda obvious but PPC and Intel x86 are incompatible. that's why pd seems to be recommending to use more specific extensions than .pd_linux in future
about pd extended, it should just work if you copy the right compiled bits in the right places - as for inclusion, i'm inclined to wait until pdlua-1.0 (ie, full support for Pd's "everything apart from DSP" stuff, no more API changes for users to have to deal with if they upgrade, proper manual, etc)...