Re: Perl C, XS help

2008-12-01 Thread Rob Dixon
Dermot wrote: > 2008/12/1 Rob Dixon <[EMAIL PROTECTED]>: >> Dermot wrote: >>> store.c:13: error: expected '=', ',', ';', 'asm' or '__attribute__' > >> You probably have a poor C compiler. Try changing the declaration to >> >> PerlInterpreter *my_perl; >> >> As long as it is in main it should

Re: Perl C, XS help

2008-12-01 Thread Dermot
2008/12/1 Rob Dixon <[EMAIL PROTECTED]>: > Dermot wrote: >> >> store.c:13: error: expected '=', ',', ';', 'asm' or '__attribute__' > > You probably have a poor C compiler. Try changing the declaration to > > PerlInterpreter *my_perl; > > As long as it is in main it should make no difference.

Re: Perl C, XS help

2008-12-01 Thread Rob Dixon
Dermot wrote: > Hi, > > I am trying port an Custom Perl module from one server to another. The > module uses C/XS and was built in 2001/2. I got the source and did > `perl Makefile.PL; make`. There was an error in one .c file: > > ... > store.c:592: error: 'my_perl' undeclared (first use in this

Perl C, XS help

2008-12-01 Thread Dermot
Hi, I am trying port an Custom Perl module from one server to another. The module uses C/XS and was built in 2001/2. I got the source and did `perl Makefile.PL; make`. There was an error in one .c file: ... store.c:592: error: 'my_perl' undeclared (first use in this function) store.c:592: error: