I have a hstandard header file of a standard product <cryptoki.h>. now i want to use the utility h2xs to create a XS module to use the C program files. but when executing it is giving errors :
manoj@manoj-Vostro-230:~/Desktop/example/crypto$ h2xs -n genseckey -A
+-O -x -F '-I ../' cryptoki.h
Defaulting to backwards compatibility with perl 5.10.1
If you intend this module to be compatible with earlier perl versions,
+ please
specify a minimum perl version with the -b option.
Writing genseckey/ppport.h
Scanning typemaps...
Scanning /usr/share/perl/5.10/ExtUtils/typemap
Scanning cryptoki.h for functions...
panic: multiple types without intervening comma in
CK_RV(* CK_NOTIFY)(
CK_SESSION_HANDLE hSession,
CK_NOTIFICATION event,
CK_VOID_PTR pApplication
)
whited-out as
CK_RV(* CK_NOTIFY)(
+ )