Try it like this:
use Inline C;
greet();
__END__
__C__
void greet() {
printf("Hello, world\n");
}
Cheers.
On Tue, Aug 27, 2002 at 11:12:53AM -0700, Yimeng Dou wrote:
> I have this very simple inline C code, but somehow
> it doesn't work.
>
> I receive "INIT failed--call queue aborted." when I run it.
>
> Here is the code, please help. Thanks!
>
> use Inline C;
> __END__
> __C__
> void greet() {
> printf("Hello, world\n");
> }
> greet;
>
>
> -------------------------------------------------
> Yimeng Dou
> [EMAIL PROTECTED]
> Department of Information and Computer Science
> University of California, Irvine