Hi all, As i did not get any reply from you people i thought of replying myself as i figured out how to solve the problem for openssl cross vxworks compilation.
Basically in cygwin environment openssl does not understand symbolic links. Also all the header files it will look for in particular tonado installation folder. So lets say you want to build for MIPS platform. And your tonado installation is in C:\tornado then you have to create a folder called openssl inside C:\tornado\target\h\ Put all the header files of openssl in C:\tornadox.x\target\h\openssl After that you wont get any error like the following. n file included from cryptlib.h:65, from cryptlib.c:117: ../e_os.h:62: openssl/opensslconf.h: No such file or directory ../e_os.h:64: openssl/e_os2.h: No such file or directory In file included from cryptlib.c:117: cryptlib.h:72: openssl/crypto.h: No such file or directory Also add one more CFLAG in Configure or Makefile after you run Configure. -IC:/Tornadox.x/target/h Thanks, samrat saha On Thu, Mar 20, 2008 at 1:55 PM, samrat saha <[EMAIL PROTECTED]> wrote: > Hi all, > > I am fed up with openssl compilation. I have tried every possible > combination to compile openssl with vxworks-mipsle options. > > > > I am getting the following errors while compilation. > > > > In file included from cryptlib.h:65, > > from cryptlib.c:117: > > ../e_os.h:62: openssl/opensslconf.h: No such file or directory > > ../e_os.h:64: openssl/e_os2.h: No such file or directory > > In file included from cryptlib.c:117: > > cryptlib.h:72: openssl/crypto.h: No such file or directory > > cryptlib.h:73: openssl/buffer.h: No such file or directory > > cryptlib.h:74: openssl/bio.h: No such file or directory > > cryptlib.h:75: openssl/err.h: No such file or directory > > cryptlib.h:76: openssl/opensslconf.h: No such file or directory > > cryptlib.c:118: openssl/safestack.h: No such file or directory > > cryptlib.c:170: #error "Inconsistency between crypto.h and cryptlib.c" > > ccmips.exe: file path prefix > `D:T212MIPST212MIPS/host/x86-win32/lib/gcc-lib/' never used > > make[1]: *** [cryptlib.o] Error 1 > > make[1]: Leaving directory `/tmp/openssl/crypto' > > make: *** [build_crypto] Error 1 > > > > > > Here are the the config file strings I used and everything failed till > now. > > Option 1: > > "vxworks-mipsle","ccmips:-B\$(WIND_BASE)/host/\$(WIND_HOST_TYPE)/lib/gcc-lib/ > -DB_ENDIAN -EB -Wl,-EB -mips2 -mno-branch-likely -G 0 -fno-builtin > -msoft-float -DCPU=MIPS32 -DMIPSEL -DNO_STRINGS_H -I\$(WIND_BASE)/target/h > -I\$(WIND_BASE)/host/x86-win32/i386-pc-mingw32/sys-include > -I\$(WIND_BASE)/target/h:::VXWORKS:-r::${no_asm}::::::ranlibmips:", > > > > Option 2: > > > > I copied openssl from /usr/include to the mips directory > > > > > > "vxworks-mipsle","ccmips:-B\$(WIND_BASE)/host/\$(WIND_HOST_TYPE)/lib/gcc-lib/ > -DB_ENDIAN -EB -Wl,-EB -mips2 -mno-branch-likely -G 0 -fno-builtin > -msoft-float -DCPU=MIPS32 -DMIPSEL -DNO_STRINGS_H -I\$(WIND_BASE)/target/h > -I\$(WIND_BASE)/host/x86-win32/i386-pc-mingw32/sys-include > -I\$(WIND_BASE)/target/h > -I\$(WIND_BASE)/host/x86-win32/openssl/:::VXWORKS:-r::${no_asm}::::::ranlibmips:", > > > > > > Please please help me quick help appreciated. > > > > > > Thanks in advance J > > samrat > > > > >