Did you include the header file that defines plGerError()?