Perl: anyone managed to compile Crypt-IDEA on Solaris-9 ?

From: Rob De Langhe (rob.de.langhe@twistfare.be)
Date: Sat Nov 20 2004 - 03:22:19 EST


Hi,

I am trying to compile the Net::SSH::Perl (1.25) module on Solaris-9,
which requires (among many others ... sigh!) the module "Crypt::IDEA".
When I compile that one (using GCC version 3.2.3), I get the following
errors :

(/tmp/Crypt-IDEA-1.02)# make
gcc -B/usr/ccs/bin/ -c -fno-strict-aliasing -pipe -I/usr/local/include
-I/opt/gnu/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O
-DVERSION=\"1.02\" -DXS_VERSION=\"1.02\" -fPIC
"-I/usr/local/lib/perl5/5.8.5/sun4-solaris/CORE" IDEA.c
In file included from IDEA.xs:10:
idea.h:5: syntax error before "idea_cblock"
idea.h:5: warning: data definition has no type or storage class
idea.h:6: syntax error before "idea_user_key"
idea.h:6: warning: data definition has no type or storage class
idea.h:7: syntax error before "idea_ks"
idea.h:7: warning: data definition has no type or storage class
idea.h:9: syntax error before "in"
idea.h:10: syntax error before "key"
idea.h:11: syntax error before "userKey"
IDEA.xs: In function `XS_Crypt__IDEA_expand_key':
IDEA.xs:24: syntax error before "ks"
IDEA.xs:30: `u_int16_t' undeclared (first use in this function)
IDEA.xs:30: (Each undeclared identifier is reported only once
IDEA.xs:30: for each function it appears in.)
IDEA.xs:30: syntax error before ')' token
IDEA.xs:32: `ks' undeclared (first use in this function)
IDEA.xs: In function `XS_Crypt__IDEA_invert_key':
IDEA.xs:41: `u_int16_t' undeclared (first use in this function)
IDEA.xs:41: syntax error before "iks"
IDEA.xs:47: syntax error before ')' token
IDEA.xs:49: `iks' undeclared (first use in this function)
IDEA.xs: In function `XS_Crypt__IDEA_crypt':
IDEA.xs:77: `u_int16_t' undeclared (first use in this function)
IDEA.xs:77: syntax error before ')' token
make: *** [IDEA.o] Error 1

Anyone has suggestions where to look for hints/tips ?

TIA

Rob
_______________________________________________
sunmanagers mailing list
sunmanagers@sunmanagers.org
http://www.sunmanagers.org/mailman/listinfo/sunmanagers



This archive was generated by hypermail 2.1.7 : Wed Apr 09 2008 - 23:29:44 EDT