On Thu, May 29, 2008 at 12:53 PM, Rajnikant <[EMAIL PROTECTED]> wrote: > Hello everyone, > > I have a static library main.a and I want to call one function of this > library from Perl code. > 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'. > Do you have any guess why its happening? > > If required tell me, I'll post source code for same. snip
It is very difficult to debug code you can't see, so yes, post the smallest example you can of code that doesn't work. Include code to create a similar c library as well. Remember, keep it to the barest minimum of code that demonstrates your problem. We don't want to debug other problems you may be having just to figure out this one. -- Chas. Owens wonkden.net The most important skill a programmer can have is the ability to read. -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] http://learn.perl.org/