Bill Park
asked on
OpenSSL Make error
I am getting the following error when running make while trying to cross-compile OpenSSL:
make[1]: mips-linuxar: Command not found
Makefile:652: recipe for target 'libcrypto.a' failed
make[1]: *** [libcrypto.a] Error 127
make[1]: Leaving directory '/home/dev/openwrt/package /openssl-1 .1.0f'
Makefile:128: recipe for target 'all' failed
make: *** [all] Error 2
From the Makefile:
PLATFORM=linux-generic32
OPTIONS=--cross-compile-pr efix=mips- linux no-asan no-crypto-mdebug no-crypto-mdebug-backtrace no-ec_nistp_64_gcc_128 no-egd no-fuzz-afl no-fuzz-libfuzzer no-heartbeats no-md2 no-msan no-rc5 no-sctp no-ssl-trace no-ssl3 no-ssl3-method no-ubsan no-unit-test no-weak-ssl-ciphers no-zlib no-zlib-dynamic
CONFIGURE_ARGS=("linux-gen eric32", "--cross-compile-prefix=mi ps-linux")
ARFLAGS=
AR=$(CROSS_COMPILE)ar $(ARFLAGS) r
Line 652
$(AR) $@ $?
I am new to this. Please tell me how I can make this question more useful.
Thank you.
Makefile
Configure
make[1]: mips-linuxar: Command not found
Makefile:652: recipe for target 'libcrypto.a' failed
make[1]: *** [libcrypto.a] Error 127
make[1]: Leaving directory '/home/dev/openwrt/package
Makefile:128: recipe for target 'all' failed
make: *** [all] Error 2
From the Makefile:
PLATFORM=linux-generic32
OPTIONS=--cross-compile-pr
CONFIGURE_ARGS=("linux-gen
ARFLAGS=
AR=$(CROSS_COMPILE)ar $(ARFLAGS) r
Line 652
$(AR) $@ $?
I am new to this. Please tell me how I can make this question more useful.
Thank you.
Makefile
Configure
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Possibly mips-linuxar is a wrong spelling. Of course you want the mips-linux version of the ar command but what is the gcc compiler called? If it is other than mips-linuxgcc then this could be your problem.
ASKER
Most reasonable suggestion.
ASKER
Most reasonable suggestion.
ASKER
If nothing else pops up here, I anticipate awarding you the points in a few days.
Thank you.