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