高手请看下

高手请看下

代码:
#!/usr/bin/perl -w
use Inline C => Config => MYEXTLIB => '/home/wyg/perl/callc/inlinecase/mylib.so';
use Inline C => << "C_CODE ";
extern void hello();
void myfunc(int a, int b)
{
  hello();
}
C_CODE
print myfunc(5, 9),"\n ";



#include <stdio.h>
#include "mylib.h"
extern void hello()
{
        printf("Success call from perl to c libray!\n");
        return;
}

执行如下错误:
Can't find 'boot_test1_pl_ed80' symbol in /home/wyg/perl/callc/inlinecase/_Inlin
e/lib/auto/test1_pl_ed80/test1_pl_ed80.dll
at /usr/lib/perl5/site_perl/5.8/Inline.pm line 500


at ./test1.pl line 9
BEGIN failed--compilation aborted at ./test1.pl line 9.
你的程序没问题。
你是什么平台呀?Cygwin?
那你有没有安装 gcc 或者 VC 呀?