hi all,I am porting openssl 0.9.7b to vxworks 5.4 now. here is what I have do: 1.install active perl one my win2000 PC. 2.install cygwin 3.run ./configure no-asm no-threads --openssldir=d:\\openssl-0.9.7b vxworks-ppc405 to generate the Makefile.ssl
but when I run make,error below occurs: bash-2.02$ make making all in crypto... ( echo "#ifndef MK1MF_BUILD"; \ echo ' /* auto-generated by crypto/Makefile.ssl for crypto/cversion.c */'; \ echo ' #define CFLAGS "ccppc -DOPENSSL_SYSNAME_VXWORKS -DOPENSSL_NO_KRB5 -DOPEN SSL_NO_ASM -g -msoft-float -mlongcall -DCPU=PPC405 -ID:\tms/target/h"'; \ echo ' #define PLATFORM "vxworks-ppc405"'; \ echo " #define DATE \"`LC_ALL=C LC_TIME=C date`\""; \ echo '#endif' ) >buildinf.h ccppc -I. -I.. -I../include -DOPENSSL_SYSNAME_VXWORKS -DOPENSSL_NO_KRB5 -DOPENSS L_NO_ASM -g -msoft-float -mlongcall -DCPU=PPC405 -ID:\tms/target/h -c cryptlib .c -o cryptlib.o cryptlib.c:59: stdio.h: No such file or directory cryptlib.c:60: string.h: No such file or directory In file included from cryptlib.c:61: in fact,stdio.h&string.h r all in d:\tms\target\h,I find when I change -I$(WIND_BASE)/target/h in Makefile.ssl to -I$(WIND_BASE)\target\h\,the error stdio.h: No such file or directory disappear,but new error occurs as below: bash-2.02$ make making all in crypto... ( echo "#ifndef MK1MF_BUILD"; \ echo ' /* auto-generated by crypto/Makefile.ssl for crypto/cversion.c */'; \ echo ' #define CFLAGS "ccppc -DOPENSSL_SYSNAME_VXWORKS -DOPENSSL_NO_KRB5 -DOPEN SSL_NO_ASM -g -msoft-float -mlongcall -DCPU=PPC405 -ID:\tms\target\h DEPFLAG= "' ; \ echo ' #define PLATFORM "vxworks-ppc405"'; \ echo " #define DATE \"`LC_ALL=C LC_TIME=C date`\""; \ echo '#endif' ) >buildinf.h ccppc -I. -I.. -I../include -DOPENSSL_SYSNAME_VXWORKS -DOPENSSL_NO_KRB5 -DOPENSS L_NO_ASM -g -msoft-float -mlongcall -DCPU=PPC405 -ID:\tms\target\h DEPFLAG= - c cryptlib.c -o cryptlib.o ccppc: cannot specify -o with -c and multiple compilations make[1]: *** [cryptlib.o] Error 1 make: *** [sub_all] Error 1 so I think I should change file Configure to make it generate the correct Makefile.ssl, I find line 560 "vxworks-ppc405","ccppc:-g -msoft-float -mlongcall -DCPU=PPC405 -I\$(WIND_BASE)/target/h:::VXWORKS:-r:::::" in Configure server the function,but when I change "/" to "\\",it generates "\\" instead of "\", maybe is merely a perl(or sh) problem,but I can't solve it yet. so,could anyone give me any advice?thx -- ______________________________________________ http://www.linuxmail.org/ Now with e-mail forwarding for only US$5.95/yr Powered by Outblaze ______________________________________________________________________ OpenSSL Project http://www.openssl.org User Support Mailing List [EMAIL PROTECTED] Automated List Manager [EMAIL PROTECTED]