On May 30, 2:53 am, [EMAIL PROTECTED] (Rajnikant) wrote: . . > I have configured Inline params link (LIBS,INC etc) and my perl script > compiles fine. > > But when I call library function from perl script, it says 'Undefined > subroutine func_name'.
In addition to what Chas recommended, it's a good idea to always include the following at the beginning of your Inline::C scripts: use Inline C => Config => BUILD_NOISY => 1; Then (and only then) will you get to see helpful output (that Inline, by default, conceals) as a script *successfully* builds. This helpful output includes things like warnings (both at the 'perl Makefile.PL' stage, and during the compilation phase). You'll probably get to see that "helpful output" anyway, if the script fails to compile - but you won't see any of it if the script compiles (even if it subsequently suffers a runtime failure). If you add the BUILD_NOISY configuration call to your existing script, you will still need to do something to make that script recompile - either rename the script, or make a change to the whitespace in the C code. Cheers, Rob -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] http://learn.perl.org/