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
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.
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
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:
On Jul 25, 8:35 pm, [EMAIL PROTECTED] (Rajnikant)
wrote:
> Hello All,
>
> I'm trying to call C routine from Perl using XS but some how my 'make test'
> is failing. Following are the steps I did :
>
> file: hypotenuse.h
> double hypotenuse(double x, double y); /* Func Declaration */
> file: hy
Hello All,
I'm trying to call C routine from Perl using XS but some how my 'make test'
is failing. Following are the steps I did :
file: hypotenuse.h
double hypotenuse(double x, double y); /* Func Declaration */
file: hypotenuse.c
/* Func Definition */
double hypotenuse(double