[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

cross compiling openssl.



Dear All,

	I downloaded the latest openssl source codes, and
	there is no cris configuration, so I used 

CC= cris-gcc 

CFLAG= -mlinux -isystem 
/home/tytang/docs/axis/devboard_lx/target/cris-axis-linux-gnu/include 
-L/home/tytang/docs/axis/devboard_lx/target/cris-axis-linux-gnu/lib -s 
-L/home/tytang/docs/axis/devboard_lx/target/cris-axis-linux-gnu/lib 
-DOPENSSL_NO_KRB5 -DOPENSSL_NO_ASM -O3 

	I can't finish the compilation and got the following error: 
In
file included from
/usr/local/cris/lib/gcc-lib/cris/2.96/linux/include/time.h:28,
                 from kssl.c:72:
/usr/local/cris/lib/gcc-lib/cris/2.96/linux/include/features.h:168:46: '
-OPEN_SOURCECE_TENDED_H)CTION ' not allowed in operand of #if
/usr/local/cris/lib/gcc-lib/cris/2.96/linux/include/features.h:193:21: '
-OPEN_SOURCE' not allowed in operand of #if make[1]: *** [kssl.o] Error 1

	Any suggestions?


Regards,
Eric