Thread Inline::ASM
(14 answers)
Opened by tonewheel at 2012-05-12 13:26 2012-05-12T12:34:13 topeg Da scheint beim Ausfuehren dieses stueckchen Codes (von der Inline::ASM Seite): Code (perl): (dl
)
1 2 3 4 5 6 use Inline C => <<END; void foo(pTHX_ int a) { printf("This perl interpreter is defined: %p\n", aTHX); return Perl_newSViv(aTHX_ a); }; END schon was schief zu laufen: inline_pl_588e.xs: In function 'foo': inline_pl_588e.xs:6:9: warning: missing terminating " character inline_pl_588e.xs:6:2: error: missing terminating " character inline_pl_588e.xs:7:1: warning: missing terminating " character inline_pl_588e.xs:7:1: error: missing terminating " character inline_pl_588e.xs:8:2: error: expected expression before 'return' inline_pl_588e.xs:9:1: error: expected ';' before '}' token make: *** [inline_pl_588e.o] Error 1 A problem was encountered while attempting to compile and install your Inline C code. The command that failed was: make > out.make 2>&1 Last edited: 2012-05-12 17:52:47 +0200 (CEST) |