If the undefined symbols are anything like: builtin_va_arg_incr, you're probably linking an application built using gcc against a libpvm built using another compiler, or the other way round. If you build any part of a program using gcc, you probably have to link it using gcc.
If you're missing other symbols, from PVM or XDR or socket functions, see also §4.1.6.