Re: Inline C
- From: chas.owens@xxxxxxxxx (Chas. Owens)
- Date: Thu, 29 May 2008 13:40:40 -0400
On Thu, May 29, 2008 at 12:53 PM, Rajnikant
<rajnikant_jachak@xxxxxxxxxxxxxxxx> wrote:
Hello everyone,snip
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.
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.
.
- References:
- Inline C
- From: Rajnikant
- Inline C
- Prev by Date: Inline C
- Next by Date: DBI Integrated Security
- Previous by thread: Inline C
- Next by thread: Re: Inline C
- Index(es):
Relevant Pages
|