- or download this
-rw-r--r-- 1 root root 1413 Nov 19 18:04 1
-rw-r--r-- 1 root root 867 Nov 19 18:30 ccc.pl
...
drwxr-xr-x 4 root root 4096 Oct 28 08:25 _Inline
-rwxr-xr-x 1 root root 599778 Oct 28 07:38 libhasp_linux.a <--- this
+ is the library it says it cannot find in out.Makefile_PL
-rwxr-xr-x 1 root root 412 Oct 28 07:38 readme.txt
- or download this
my $kk = kk();
print "perl kk=$kk\n";
...
return(0);
}
END_OF_C_CODE
- or download this
[root@FC4-Casinfo perltestP]# perl ccc.pl
/usr/bin/perl /usr/lib/perl5/5.8.6/ExtUtils/xsubpp -typemap /usr/lib/
+perl5/5.8.6/ExtUtils/typemap ccc_pl_ae85.xs > ccc_pl_ae85.xsc && mv
+ ccc_pl_ae85.xsc ccc_pl_ae85.c
...
at ccc.pl line 6
BEGIN failed--compilation aborted at ccc.pl line 33.
[root@FC4-Casinfo perltestP]#
- or download this
[root@FC4-Casinfo ccc_pl_ae85]# ls -l
total 56
...
-rw-r--r-- 1 root root 97 Nov 19 18:04 out.Makefile_PL
-rw-r--r-- 1 root root 0 Oct 28 14:22 pm_to_blib
[root@FC4-Casinfo ccc_pl_ae85]#
- or download this
[root@FC4-Casinfo ccc_pl_ae85]# cat out.make
/usr/bin/perl /usr/lib/perl5/5.8.6/ExtUtils/xsubpp -typemap /usr/lib/
+perl5/5.8.6/ExtUtils/typemap ccc_pl_ae85.xs > ccc_pl_ae85.xsc && mv
+ ccc_pl_ae85.xsc ccc_pl_ae85.c
...
ccc_pl_ae85.c:71: error: syntax error at end of input
make: *** [ccc_pl_ae85.o] Error 1
[root@FC4-Casinfo ccc_pl_ae85]#
- or download this
[root@FC4-Casinfo ccc_pl_ae85]# cat out.Makefile_PL
Note (probably harmless): No library found for -libhasp_linux.a
...
[root@FC4-Casinfo ccc_pl_ae85]#
(note that the library is sitting in the same place as the ccc.pl)
- or download this
[root@FC4-Casinfo ccc_pl_ae85]# cat ccc_pl_ae85.c
/*
...
newXS("main::kk", XS_main_kk, file);
XSRETURN_YES;
}
- or download this
[root@FC4-Casinfo ccc_pl_ae85]# cat ccc_pl_ae85.xs
#include "EXTERN.h"
...
int
kk ()
- or download this
[root@FC4-Casinfo ccc_pl_ae85]# cat INLINE.h
#define Inline_Stack_Vars dXSARGS
...
#define inline_stack_return(x) Inline_Stack_Return(x)
#define inline_stack_void Inline_Stack_Void
[root@FC4-Casinfo ccc_pl_ae85]#