mimeng
inline调so文件报错了,高手看看
Subroutine pmc_compile redefined at /usr/lib/perl5/site_perl/5.8//Inline/Module.
pm line 9.
Subroutine find_module_path redefined at /usr/lib/perl5/site_perl/5.8//Inline/Mo
dule.pm line 40.
[b]Had problems bootstrapping Inline module 'test_pl_5d2c'
Can't find 'boot_test_pl_5d2c' symbol in/inlinecase/_Inline
/lib/auto/test_pl_5d2c/test_pl_5d2c.dll
at /usr/lib/perl5/site_perl/5.8/Inline.pm line 500[/b]
at ./test.pl line 0
INIT failed--call queue aborted.
程序:
use Inline C => Config => MYEXTLIB => /inlinecase/mylib.so';
use Inline C;
print (add(1,2));
__DATA__
__C__
int add(int x,int y)
{
hello(1);
return x+y;
}