in reply to Re^6: Inline::C produces compilation errors
in thread Inline::C produces compilation errors

use Inline C => Config => LIBS => '-L/HASP/perltestP -llibhasp_linux.a';

I think that's wrong, unless the library is called something like libhasp_linux.a.a. Or is the linker smart enough to know that the '.a' should be dropped ? I would change it to:
use Inline C => Config => LIBS => '-L/HASP/perltestP -llibhasp_linux', BUILD_NOISY => 1;
and check the output for any messages that tell you that no library was found for -llibhasp_linux. When you build the C program do you provide an -llibhasp_linux.a argument on the command line (or is it simply -llibhasp_linux ) ? I would expect that whatever argument works on the command line should also work for the 'LIBS' config option.

Note: The BUILD_NOISY option means that you'll see any warnings that are emitted during the build process. Without it, relevant warnings often don't appear.

Cheers,
Rob