现在,情况是这样的: 我在linux pc (ubuntu20.04- ip: 192.168.1.191,mongodb安装了4.4.0,OpenSSL安装了1.1.1f)上激活了mongod服务器,并尝试连接到windows10 pc (2004年版本- ip: 192.168.1.193,mongodb安装4.4.0,OpenSSL安装1.1.1g)。经过一千次尝试后,我尝试了viceversa,在windows上安装mongodb服务器,并从<
我在Debian机器上,我想为我的Raspberry Pi 2交叉编译一个项目。我用rustup成功地完成了一个简单的hello世界,但不知道如何交叉编译锈蚀-openssl板条箱。我用arm-linux-gnueabihf-gcc编译了openssl,并将其安装在我的home/opensslArm目录中。我不知道我该做什么,我不是交叉编译方面的专家。有人成功这么做了吗?
编辑:我使用的是锈菌-openssl 0.7.11。
我在c代码中使用include:< openssl/md5.h >。当我用"gcc“编译器编译时,我没有任何错误,但当我用交叉编译器"arm-linux-gnueabi-gcc”编译它时,我有以下错误:
/usr/include/openssl/e_os2.h:56:33: fatal error: openssl/opensslconf.h: No such
试图从mac编译linux会引发此错误,我从brew安装了openssl和pkg-config。linker = "x86_64-linux-musl-gcc"error: failed to run custom build1\nerror: could not find system library
它成功地为我的X86 CPU编译了gcc encoder.c -lcrypto -o编码器(我已经安装了libssl-dev),但是当我想交叉编译它(使用arm-linux-gnueabihf-gcc)时,会发生以下错误: In file included from ./encoder.c:4:0:
/usr/include/ope