coolsnowwolf / lede

Lean's LEDE source
Other
29.65k stars 19.51k forks source link

5.15内核在线编译amule报错 #8961

Closed Cptmacmillan2022007 closed 2 years ago

Cptmacmillan2022007 commented 2 years ago

反馈bug/问题模板,提建议请删除

1.关于你要提交的问题

Q:是否搜索了issue (使用 "x" 选择)

2. 详细叙述

(1) 具体问题

A:

(2) 路由器型号和固件版本

A:x86_64

(3) 详细日志

A:

2022-02-28T05:29:10.4478386Z config.status: creating src/utils/plasmamule/Makefile 2022-02-28T05:29:10.4733081Z config.status: creating src/utils/wxCas/Makefile 2022-02-28T05:29:10.4940438Z config.status: creating src/utils/wxCas/docs/Makefile 2022-02-28T05:29:10.5125912Z config.status: creating src/utils/wxCas/src/Makefile 2022-02-28T05:29:10.5318070Z config.status: creating src/utils/xas/Makefile 2022-02-28T05:29:10.5522604Z config.status: creating src/utils/xas/autostart-xas 2022-02-28T05:29:10.5706654Z config.status: creating src/utils/xas/docs/Makefile 2022-02-28T05:29:10.5941828Z config.status: creating src/skins/Makefile 2022-02-28T05:29:10.6122528Z config.status: creating src/webserver/Makefile 2022-02-28T05:29:10.6310183Z config.status: creating src/webserver/src/Makefile 2022-02-28T05:29:10.6508247Z config.status: creating src/webserver/default/Makefile 2022-02-28T05:29:10.6708866Z config.status: creating unittests/Makefile 2022-02-28T05:29:10.6892396Z config.status: creating unittests/muleunit/Makefile 2022-02-28T05:29:10.7086349Z config.status: creating unittests/tests/Makefile 2022-02-28T05:29:10.7285452Z config.status: creating config.h 2022-02-28T05:29:10.7412603Z config.status: executing depfiles commands 2022-02-28T05:29:11.7961981Z config.status: executing po-directories commands 2022-02-28T05:29:11.8058399Z config.status: creating po/POTFILES 2022-02-28T05:29:11.8160414Z config.status: creating po/Makefile 2022-02-28T05:29:11.8218434Z config.status: executing denoiser commands 2022-02-28T05:29:12.2032840Z configure: WARNING: unrecognized options: --without-x 2022-02-28T05:29:12.2033077Z 2022-02-28T05:29:12.2033568Z 2022-02-28T05:29:12.2034294Z Configure script has finished system check. 2022-02-28T05:29:12.2034625Z 2022-02-28T05:29:12.2035049Z Configured aMule SVN for 'x86_64-openwrt-linux-gnu'. 2022-02-28T05:29:12.2035557Z 2022-02-28T05:29:12.2036764Z aMule enabled options: 2022-02-28T05:29:12.2037040Z 2022-02-28T05:29:12.2037211Z aMule Core 2022-02-28T05:29:12.2037590Z Prefix where aMule should be installed? /usr 2022-02-28T05:29:12.2038052Z Should aMule be compiled with i18n support? no 2022-02-28T05:29:12.2038594Z Should aMule be compiled in debug mode? no 2022-02-28T05:29:12.2039022Z Should aMule be compiled with profiling? no 2022-02-28T05:29:12.2039447Z Should aMule be compiled with optimizations? no 2022-02-28T05:29:12.2039874Z Should aMule be compiled with UPnP support? yes 2022-02-28T05:29:12.2040325Z Should aMule be compiled with IP2country support? no 2022-02-28T05:29:12.2040754Z Should aMule monolithic application be built? no 2022-02-28T05:29:12.2041300Z Should aMule daemon version be built? yes 2022-02-28T05:29:12.2041710Z Should aMule remote gui be built? no 2022-02-28T05:29:12.2041973Z 2022-02-28T05:29:12.2042159Z aMule TextClient 2022-02-28T05:29:12.2042548Z Should aMule Command Line Client be built? yes 2022-02-28T05:29:12.2042819Z 2022-02-28T05:29:12.2043000Z aMule WebServer 2022-02-28T05:29:12.2043376Z Should aMule WebServer be built? yes 2022-02-28T05:29:12.2043633Z 2022-02-28T05:29:12.2044115Z aMule ED2K Links Handler 2022-02-28T05:29:12.2044469Z Should aMule ED2K Links Handler be built? no 2022-02-28T05:29:12.2044667Z 2022-02-28T05:29:12.2045041Z aMuleLinkCreator 2022-02-28T05:29:12.2045369Z Should aMuleLinkCreator GUI version (alc) be built? no 2022-02-28T05:29:12.2045729Z Should aMuleLinkCreator for console (alcc) be built? no 2022-02-28T05:29:12.2045934Z 2022-02-28T05:29:12.2046041Z aMule Statistics 2022-02-28T05:29:12.2046325Z Should C aMule Statistics (CAS) be built? no 2022-02-28T05:29:12.2046658Z Should aMule GUI Statistics (wxCas) be built? no 2022-02-28T05:29:12.2046999Z Should xas XChat2 plugin be installed? no 2022-02-28T05:29:12.2047681Z Should plasmaMule plasma-applet be built? no 2022-02-28T05:29:12.2047900Z 2022-02-28T05:29:12.2048022Z General Libraries and Tools 2022-02-28T05:29:12.2048333Z Should ccache support be enabled? no 2022-02-28T05:29:12.2048634Z Libraries aMule will use to build: 2022-02-28T05:29:12.2048922Z wxWidgets 2.8.12 (base,shared) 2022-02-28T05:29:12.2049457Z crypto++ 8.5 (in /workdir/openwrt/staging_dir/target-x86_64_musl/usr) 2022-02-28T05:29:12.2050006Z libupnp 17.7.0 (in /workdir/openwrt/staging_dir/target-x86_64_musl/usr) 2022-02-28T05:29:12.2050332Z libpng 1.6.37 2022-02-28T05:29:12.2050605Z zlib 1.2.11 2022-02-28T05:29:12.2050758Z 2022-02-28T05:29:12.2062053Z 2022-02-28T05:29:12.2062209Z Warnings during configuration 2022-02-28T05:29:12.2062395Z 2022-02-28T05:29:12.2063010Z Cross-compilation detected, so exception handling cannot be tested. 2022-02-28T05:29:12.2063710Z Note that broken exception handling in your compiler may lead to unexpected 2022-02-28T05:29:12.2064057Z crashes. 2022-02-28T05:29:12.2080730Z 2022-02-28T05:29:12.2081229Z configure cannot check whether malloc() and realloc() are GNU libc 2022-02-28T05:29:12.2081903Z compatible. You have to be ABSOLUTELY sure that they are, otherwise run 2022-02-28T05:29:12.2082730Z configure with the --without-gnu-malloc switch. 2022-02-28T05:29:12.2707440Z touch /workdir/openwrt/build_dir/target-x86_64_musl/aMule-2.3.2/.configured_a17fb5ef857664f03cd0ce37cc5ea591 2022-02-28T05:29:12.2740904Z rm -f /workdir/openwrt/build_dir/target-x86_64_musl/aMule-2.3.2/.built 2022-02-28T05:29:12.2764773Z touch /workdir/openwrt/build_dir/target-x86_64_musl/aMule-2.3.2/.built_check 2022-02-28T05:29:12.2794220Z sed -i 's;^CRYPTOPP_LIBS.*;CRYPTOPP_LIBS \= "/workdir/openwrt/staging_dir/target-x86_64_musl/usr/lib/libcryptopp.a";g' /workdir/openwrt/build_dir/target-x86_64_musl/aMule-2.3.2/src/Makefile 2022-02-28T05:29:12.2834945Z make -C /workdir/openwrt/build_dir/target-x86_64_musl/aMule-2.3.2 HOSTCC="gcc" DESTDIR="/workdir/openwrt/build_dir/target-x86_64_musl/aMule-2.3.2/ipkg-install" all 2022-02-28T05:29:12.2875319Z make[4]: Entering directory '/workdir/openwrt/build_dir/target-x86_64_musl/aMule-2.3.2' 2022-02-28T05:29:12.3390239Z Compiling FileFunctions.cpp 2022-02-28T05:29:13.0838359Z Compiling Format.cpp 2022-02-28T05:29:13.6496177Z Compiling MD5Sum.cpp 2022-02-28T05:29:14.1277418Z Compiling MuleDebug.cpp 2022-02-28T05:29:14.5289908Z Compiling Path.cpp 2022-02-28T05:29:15.5163966Z Compiling strerror_r.c 2022-02-28T05:29:15.5402260Z Compiling StringFunctions.cpp 2022-02-28T05:29:16.0908429Z Compiling TextFile.cpp 2022-02-28T05:29:16.5943026Z Building libmulecommon.a 2022-02-28T05:29:16.5988617Z /workdir/openwrt/staging_dir/toolchain-x86_64_gcc-8.4.0_musl/lib/gcc/x86_64-openwrt-linux-musl/8.4.0/../../../../x86_64-openwrt-linux-musl/bin/ar: u' modifier ignored sinceD' is the default (see U') 2022-02-28T05:29:16.6412723Z Parsing 2 files 2022-02-28T05:29:16.6413312Z FileName: ECTagTypes 2022-02-28T05:29:16.6413999Z FileContent: EC tag types for use on the ec library. 2022-02-28T05:29:16.6414310Z Reading content section... 2022-02-28T05:29:16.6414559Z Datatype: Enum 2022-02-28T05:29:16.6415066Z Dataname: ECTagTypes 2022-02-28T05:29:16.6415919Z DataType: uint8 2022-02-28T05:29:16.6417069Z No more content sections 2022-02-28T05:29:16.6417354Z All info parsed 2022-02-28T05:29:16.6417571Z FileName: ECCodes 2022-02-28T05:29:16.6417852Z FileContent: EC codes and type definition. 2022-02-28T05:29:16.6418134Z Reading content section... 2022-02-28T05:29:16.6418379Z Datatype: TypeDef 2022-02-28T05:29:16.6418609Z Reading content section... 2022-02-28T05:29:16.6418853Z Datatype: Enum 2022-02-28T05:29:16.6419296Z Dataname: ProtocolVersion 2022-02-28T05:29:16.6419563Z DataType: uint16 2022-02-28T05:29:16.6419806Z Reading content section... 2022-02-28T05:29:16.6420237Z Datatype: Enum 2022-02-28T05:29:16.6420470Z Dataname: ECFlags 2022-02-28T05:29:16.6420696Z DataType: uint32 2022-02-28T05:29:16.6420936Z Reading content section... 2022-02-28T05:29:16.6421178Z Datatype: Enum 2022-02-28T05:29:16.6421393Z Dataname: ECOpCodes 2022-02-28T05:29:16.6421627Z DataType: uint8 2022-02-28T05:29:16.6422242Z Reading content section... 2022-02-28T05:29:16.6422981Z Datatype: Enum 2022-02-28T05:29:16.6423257Z Dataname: ECTagNames 2022-02-28T05:29:16.6423491Z DataType: uint16 2022-02-28T05:29:16.6423719Z Reading content section... 2022-02-28T05:29:16.6424337Z Datatype: Enum 2022-02-28T05:29:16.6424646Z Dataname: EC_DETAIL_LEVEL 2022-02-28T05:29:16.6424875Z DataType: uint8 2022-02-28T05:29:16.6425117Z Reading content section... 2022-02-28T05:29:16.6425354Z Datatype: Enum 2022-02-28T05:29:16.6425576Z Dataname: EC_SEARCH_TYPE 2022-02-28T05:29:16.6425815Z DataType: uint8 2022-02-28T05:29:16.6426057Z Reading content section... 2022-02-28T05:29:16.6426287Z Datatype: Enum 2022-02-28T05:29:16.6426546Z Dataname: EC_STATTREE_NODE_VALUE_TYPE 2022-02-28T05:29:16.6426803Z DataType: uint8 2022-02-28T05:29:16.6427041Z Reading content section... 2022-02-28T05:29:16.6427265Z Datatype: Enum 2022-02-28T05:29:16.6427491Z Dataname: EcPrefs 2022-02-28T05:29:16.6427719Z DataType: uint32 2022-02-28T05:29:16.6427942Z No more content sections 2022-02-28T05:29:16.6428182Z All info parsed 2022-02-28T05:29:16.7387296Z Generating ECVersion.h... created. 2022-02-28T05:29:16.7448917Z Compiling ECTag.cpp 2022-02-28T05:29:18.5442164Z Compiling ECPacket.cpp 2022-02-28T05:29:19.0891168Z Compiling ECSocket.cpp 2022-02-28T05:29:20.2673908Z Compiling ECMuleSocket.cpp 2022-02-28T05:29:20.9316190Z Compiling RemoteConnect.cpp 2022-02-28T05:29:21.9900631Z Compiling ECSpecialTags.cpp 2022-02-28T05:29:23.3110694Z Compiling ECUInt128.cpp 2022-02-28T05:29:24.2112958Z Building libec.a 2022-02-28T05:29:24.2156488Z /workdir/openwrt/staging_dir/toolchain-x86_64_gcc-8.4.0_musl/lib/gcc/x86_64-openwrt-linux-musl/8.4.0/../../../../x86_64-openwrt-linux-musl/bin/ar:u' modifier ignored since D' is the default (seeU') 2022-02-28T05:29:24.2633710Z Compiling LibSocket.cpp 2022-02-28T05:29:24.7991303Z Building libmulesocket.a 2022-02-28T05:29:24.8034339Z /workdir/openwrt/staging_dir/toolchain-x86_64_gcc-8.4.0_musl/lib/gcc/x86_64-openwrt-linux-musl/8.4.0/../../../../x86_64-openwrt-linux-musl/bin/ar: u' modifier ignored sinceD' is the default (see U') 2022-02-28T05:29:24.8094761Z Compiling AsyncDNS.cpp 2022-02-28T05:29:25.2597833Z Compiling CanceledFileList.cpp 2022-02-28T05:29:26.2432142Z Compiling DeadSourceList.cpp 2022-02-28T05:29:26.7834808Z Compiling FileArea.cpp 2022-02-28T05:29:27.5532935Z Compiling FileAutoClose.cpp 2022-02-28T05:29:28.3317725Z Compiling IPFilterScanner.cpp 2022-02-28T05:29:28.9781387Z Compiling Scanner.cpp 2022-02-28T05:29:29.6144790Z Compiling Parser.cpp 2022-02-28T05:29:30.5147703Z Compiling PlatformSpecific.cpp 2022-02-28T05:29:31.4276883Z Compiling RandomFunctions.cpp 2022-02-28T05:29:32.5563513Z Compiling RC4Encrypt.cpp 2022-02-28T05:29:33.3343186Z Compiling StateMachine.cpp 2022-02-28T05:29:33.7744504Z Compiling TerminationProcessAmuleweb.cpp 2022-02-28T05:29:34.1791767Z Compiling ThreadScheduler.cpp 2022-02-28T05:29:35.6766924Z Compiling UPnPBase.cpp 2022-02-28T05:29:38.8546606Z Compiling Entry.cpp 2022-02-28T05:29:40.2464842Z Compiling Indexed.cpp 2022-02-28T05:29:42.0740074Z Compiling SearchManager.cpp 2022-02-28T05:29:43.4945380Z Compiling RoutingBin.cpp 2022-02-28T05:29:44.8037475Z Building libmuleappcore.a 2022-02-28T05:29:44.8082396Z /workdir/openwrt/staging_dir/toolchain-x86_64_gcc-8.4.0_musl/lib/gcc/x86_64-openwrt-linux-musl/8.4.0/../../../../x86_64-openwrt-linux-musl/bin/ar:u' modifier ignored since D' is the default (seeU') 2022-02-28T05:29:44.8220104Z Compiling CFile.cpp 2022-02-28T05:29:45.8970670Z Compiling ClientCredits.cpp 2022-02-28T05:29:46.4072602Z Compiling DataToText.cpp 2022-02-28T05:29:46.7265202Z Compiling ED2KLink.cpp 2022-02-28T05:29:48.0528777Z Compiling Friend.cpp 2022-02-28T05:29:48.8895748Z Compiling GapList.cpp 2022-02-28T05:29:49.6461181Z Compiling MagnetURI.cpp 2022-02-28T05:29:50.0848598Z Compiling MemFile.cpp 2022-02-28T05:29:50.9437789Z Compiling NetworkFunctions.cpp 2022-02-28T05:29:51.3024832Z Compiling OtherFunctions.cpp 2022-02-28T05:29:53.8067180Z Compiling Packet.cpp 2022-02-28T05:29:54.6338328Z Compiling RLE.cpp 2022-02-28T05:29:55.6489492Z Compiling SafeFile.cpp 2022-02-28T05:29:56.8313019Z Compiling SHA.cpp 2022-02-28T05:29:57.2588548Z Compiling Tag.cpp 2022-02-28T05:29:58.3923664Z Compiling TerminationProcess.cpp 2022-02-28T05:29:58.8865367Z Compiling Timer.cpp 2022-02-28T05:29:59.3286103Z Compiling UInt128.cpp 2022-02-28T05:29:59.7986654Z Building libmuleappcommon.a 2022-02-28T05:29:59.8034209Z /workdir/openwrt/staging_dir/toolchain-x86_64_gcc-8.4.0_musl/lib/gcc/x86_64-openwrt-linux-musl/8.4.0/../../../../x86_64-openwrt-linux-musl/bin/ar: u' modifier ignored sinceD' is the default (see `U') 2022-02-28T05:29:59.8178775Z Compiling TextClient.cpp 2022-02-28T05:30:03.3233648Z Compiling DataToText.cpp 2022-02-28T05:30:03.6496275Z Compiling ExternalConnector.cpp 2022-02-28T05:30:05.7740637Z Compiling LoggerConsole.cpp 2022-02-28T05:30:06.3516956Z Compiling OtherFunctions.cpp 2022-02-28T05:30:08.8519219Z Compiling NetworkFunctions.cpp 2022-02-28T05:30:09.2301384Z Linking amulecmd 2022-02-28T05:30:09.3169380Z Compiling amuled.cpp 2022-02-28T05:30:10.9400505Z Compiling amule.cpp 2022-02-28T05:30:14.8867712Z Compiling BaseClient.cpp 2022-02-28T05:30:18.9517702Z Compiling ClientList.cpp 2022-02-28T05:30:21.9749518Z Compiling ClientCreditsList.cpp 2022-02-28T05:30:23.1926399Z ClientCreditsList.cpp: In member function 'void CClientCreditsList::InitalizeCrypting()': 2022-02-28T05:30:23.1928288Z ClientCreditsList.cpp:315:10: error: 'CryptoPP::RSASSA_PKCS1v15_SHA_Verifier' {aka 'class CryptoPP::PK_FinalTemplate<CryptoPP::TF_VerifierImpl<CryptoPP::TF_SignatureSchemeOptions<CryptoPP::TF_SS<CryptoPP::RSA, CryptoPP::PKCS1v15, CryptoPP::SHA1, int>, CryptoPP::RSA, CryptoPP::PKCS1v15_SignatureMessageEncodingMethod, CryptoPP::SHA1> > >'} has no member named 'DEREncode' 2022-02-28T05:30:23.1977293Z pubkey.DEREncode(asink); 2022-02-28T05:30:23.1977560Z ^~~~~ 2022-02-28T05:30:23.4832366Z make[7]: [Makefile:2620: amuled-ClientCreditsList.o] Error 1 2022-02-28T05:30:23.4840193Z make[6]: [Makefile:3411: all-recursive] Error 1 2022-02-28T05:30:23.4847965Z make[5]: [Makefile:588: all-recursive] Error 1 2022-02-28T05:30:23.4848587Z make[4]: Leaving directory '/workdir/openwrt/build_dir/target-x86_64_musl/aMule-2.3.2' 2022-02-28T05:30:23.4858955Z make[4]: [Makefile:495: all] Error 2 2022-02-28T05:30:23.4859697Z make[3]: Leaving directory '/workdir/openwrt/feeds/packages/net/amule' 2022-02-28T05:30:23.4860128Z time: package/feeds/packages/amule/compile#87.96#10.84#95.96 2022-02-28T05:30:23.4861146Z make[3]: [Makefile:114: /workdir/openwrt/build_dir/target-x86_64_musl/aMule-2.3.2/.built] Error 2 2022-02-28T05:30:23.4862924Z ERROR: package/feeds/packages/amule failed to build. 2022-02-28T05:30:23.4867871Z make[2]: [package/Makefile:116: package/feeds/packages/amule/compile] Error 1 2022-02-28T05:30:23.4878402Z make[2]: Leaving directory '/workdir/openwrt' 2022-02-28T05:30:23.4897662Z make[1]: [package/Makefile:110: /workdir/openwrt/staging_dir/target-x86_64_musl/stamp/.package_compile] Error 2 2022-02-28T05:30:23.4898593Z make[1]: Leaving directory '/workdir/openwrt' 2022-02-28T05:30:23.4902892Z make: [/workdir/openwrt/include/toplevel.mk:230: world] Error 2 2022-02-28T05:30:23.4945175Z ##[error]Process completed with exit code 2.

WYC-2020 commented 2 years ago

https://github.com/WYC-2020/packages/commit/03cad6353755b7354418a15f98a285537fad87df @Cptmacmillan2022007

WYC-2020 commented 2 years ago

自己多去各种库看,不要一遇到就来问嘛。别人早就修复了的

netlovehf commented 2 years ago

自己多去各种库看,不要一遇到就来问嘛。别人早就修复了的

git pull后编唐译还是同样错误,请问这是怎么回事,怎么解决?

WYC-2020 commented 2 years ago

什么错误,自己多检查,反正我没问题,最好直接用我那个luci和package仓库编译看,还有错误我才知道怎么修,其他杂交无能为力了,哈哈

coolsnowwolf commented 2 years ago

fixed