Yimeng Dou [27/08/02 11:12 -0700]:
> 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.

You have a syntax error in your C code. You put the 'greet;' line in the C
code, and you probably meant to put it in your Perl code:

> Here is the code, please help. Thanks!

Add lines starting with '+' and delete those with '-':

 use Inline C;
+greet;
 __END__
 __C__
 void greet() {
 printf("Hello, world\n");
 }
-greet;

Later,
Neil

Reply via email to