libtool: link: gcc -shared -fPIC -DPIC .libs/libmicrohttpd_la-connection.o .libs/libmicrohttpd_la-reason_phrase.o .libs/libmicrohttpd_la-daemon.o .libs/libmicrohttpd_la-internal.o .libs/libmicrohttpd_la-memorypool.o .libs/libmicrohttpd_la-mhd_mono_clock.o .libs/libmicrohttpd_la-sysfdsetsize.o .libs/libmicrohttpd_la-mhd_str.o .libs/libmicrohttpd_la-mhd_send.o .libs/libmicrohttpd_la-mhd_sockets.o .libs/libmicrohttpd_la-mhd_itc.o .libs/libmicrohttpd_la-mhd_compat.o .libs/libmicrohttpd_la-response.o .libs/libmicrohttpd_la-mhd_threads.o .libs/libmicrohttpd_la-postprocessor.o .libs/libmicrohttpd_la-digestauth.o .libs/libmicrohttpd_la-md5.o .libs/libmicrohttpd_la-sha256.o .libs/libmicrohttpd_la-basicauth.o .libs/libmicrohttpd_la-base64.o -lpthread -pthread -pthread -Wl,-soname -Wl,libmicrohttpd.so.12 -o .libs/libmicrohttpd.so.12.58.0
/usr/bin/ld: .libs/libmicrohttpd_la-connection.o: Relocations in generic ELF (EM: 40)
/usr/bin/ld: .lib
Relocations in generic ELF (EM: 40)
最新推荐文章于 2022-11-28 10:01:27 发布
在使用libtool和gcc进行链接时遇到错误:Relocations in generic ELF (EM: 40)。这通常是因为交叉编译时前后工具链不一致造成的。检查配置时指定的cc编译器是否正确,确保在编译过程中使用了相同的工具链。
摘要由CSDN通过智能技术生成