Subject: | Does not compile in make test or make install sections |
Here is the output when trying to compile the package
I have tried this on Solaris 7 running perl 5.001 and on windows using cygwin, perl version 5.6.1 and 5.0.
Anyone have any ideas?? I have applied the patches and workarounds and nothing works. I want to use SCP and SSH in a script I am writing.
Cheers
Todd.
bash-2.03# perl Makefile.PL POLLUTE=1 PREFIX=/export/home/todd/ssh_perl
Writing Makefile for Crypt::IDEA
bash-2.03# make test
gcc -c -fno-strict-aliasing -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DPERL_POLLUTE -O -DVERSION=\"1.01\" -DXS_VERSION=\"1.01\" -fPIC -I/usr/local/lib/perl5/5.6.1/sun4-solaris/CORE IDEA.c
In file included from IDEA.xs:10:
idea.h:5: parse error before "idea_cblock"
idea.h:5: warning: data definition has no type or storage class
idea.h:6: parse error before "idea_user_key"
idea.h:6: warning: data definition has no type or storage class
idea.h:7: parse error before "idea_ks"
idea.h:7: warning: data definition has no type or storage class
idea.h:9: parse error before "in"
idea.h:10: parse error before "key"
idea.h:11: parse error before "userKey"
IDEA.xs: In function `XS_Crypt__IDEA_expand_key':
IDEA.xs:20: parse error before "ks"
IDEA.xs:26: `u_int16_t' undeclared (first use in this function)
IDEA.xs:26: (Each undeclared identifier is reported only once
IDEA.xs:26: for each function it appears in.)
IDEA.xs:26: parse error before ')' token
IDEA.xs:28: `ks' undeclared (first use in this function)
IDEA.xs: In function `XS_Crypt__IDEA_invert_key':
IDEA.xs:37: `u_int16_t' undeclared (first use in this function)
IDEA.xs:37: parse error before "iks"
IDEA.xs:43: parse error before ')' token
IDEA.xs:45: `iks' undeclared (first use in this function)
IDEA.xs: In function `XS_Crypt__IDEA_crypt':
IDEA.xs:73: `u_int16_t' undeclared (first use in this function)
IDEA.xs:73: parse error before ')' token
make: *** [IDEA.o] Error 1
bash-2.03# make install
gcc -c -fno-strict-aliasing -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DPERL_POLLUTE -O -DVERSION=\"1.01\" -DXS_VERSION=\"1.01\" -fPIC -I/usr/local/lib/perl5/5.6.1/sun4-solaris/CORE IDEA.c
In file included from IDEA.xs:10:
idea.h:5: parse error before "idea_cblock"
idea.h:5: warning: data definition has no type or storage class
idea.h:6: parse error before "idea_user_key"
idea.h:6: warning: data definition has no type or storage class
idea.h:7: parse error before "idea_ks"
idea.h:7: warning: data definition has no type or storage class
idea.h:9: parse error before "in"
idea.h:10: parse error before "key"
idea.h:11: parse error before "userKey"
IDEA.xs: In function `XS_Crypt__IDEA_expand_key':
IDEA.xs:20: parse error before "ks"
IDEA.xs:26: `u_int16_t' undeclared (first use in this function)
IDEA.xs:26: (Each undeclared identifier is reported only once
IDEA.xs:26: for each function it appears in.)
IDEA.xs:26: parse error before ')' token
IDEA.xs:28: `ks' undeclared (first use in this function)
IDEA.xs: In function `XS_Crypt__IDEA_invert_key':
IDEA.xs:37: `u_int16_t' undeclared (first use in this function)
IDEA.xs:37: parse error before "iks"
IDEA.xs:43: parse error before ')' token
IDEA.xs:45: `iks' undeclared (first use in this function)
IDEA.xs: In function `XS_Crypt__IDEA_crypt':
IDEA.xs:73: `u_int16_t' undeclared (first use in this function)
IDEA.xs:73: parse error before ')' token
make: *** [IDEA.o] Error 1