@yuzukitsuru 2.0也编不过,比较怀疑是服务器环境问题
K
kiwin 发布的最新帖子
-
f133 0.8 sdk代码编译报错
f133 0.8 sdk编译报错如下(请问是否和服务器环境有关):
编译环境:Ubuntu20.04make[4]: Entering directory '/homeb/xiaoyuan.cai/sdk/allwinner/tina/f133/out/f133-evb1/compile_dir/host/cmake-3.4.3/Bootstrap.cmk' g++ -I/homeb/xiaoyuan.cai/sdk/allwinner/tina/f133/out/f133-evb1/compile_dir/host/cmake-3.4.3/Bootstrap.cmk -I/homeb/xiaoyuan.cai/sdk/allwinner/tina/f133/out/f133-evb1/compile_dir/host/cmake-3.4.3/Source -I/homeb/xiaoyuan.cai/sdk/allwinner/tina/f133/out/f133-evb1/compile_dir/host/cmake-3.4.3/Bootstrap.cmk cmake.o cmakemain.o cmcmd.o cmCommandArgumentLexer.o cmCommandArgumentParser.o cmCommandArgumentParserHelper.o cmCommonTargetGenerator.o cmCPackPropertiesGenerator.o cmDefinitions.o cmDepends.o cmDependsC.o cmDocumentationFormatter.o cmPolicies.o cmProperty.o cmPropertyMap.o cmPropertyDefinition.o cmPropertyDefinitionMap.o cmMakeDepend.o cmMakefile.o cmExportFileGenerator.o cmExportInstallFileGenerator.o cmExportTryCompileFileGenerator.o cmExportSet.o cmExportSetMap.o cmExternalMakefileProjectGenerator.o cmGeneratorExpressionEvaluationFile.o cmGeneratedFileStream.o cmGeneratorTarget.o cmGeneratorExpressionContext.o cmGeneratorExpressionDAGChecker.o cmGeneratorExpressionEvaluator.o cmGeneratorExpressionLexer.o cmGeneratorExpressionNode.o cmGeneratorExpressionParser.o cmGeneratorExpression.o cmGlobalCommonGenerator.o cmGlobalGenerator.o cmInstallDirectoryGenerator.o cmLocalCommonGenerator.o cmLocalGenerator.o cmInstalledFile.o cmInstallGenerator.o cmInstallExportGenerator.o cmInstallFilesGenerator.o cmInstallScriptGenerator.o cmInstallTargetGenerator.o cmScriptGenerator.o cmSourceFile.o cmSourceFileLocation.o cmState.o cmSystemTools.o cmTestGenerator.o cmVersion.o cmFileTimeComparison.o cmGlobalUnixMakefileGenerator3.o cmLocalUnixMakefileGenerator3.o cmMakefileExecutableTargetGenerator.o cmMakefileLibraryTargetGenerator.o cmMakefileTargetGenerator.o cmMakefileUtilityTargetGenerator.o cmOutputConverter.o cmOSXBundleGenerator.o cmNewLineStyle.o cmBootstrapCommands1.o cmBootstrapCommands2.o cmCommandsForBootstrap.o cmTarget.o cmTest.o cmCustomCommand.o cmCustomCommandGenerator.o cmCacheManager.o cmListFileCache.o cmComputeLinkDepends.o cmComputeLinkInformation.o cmOrderDirectories.o cmComputeTargetDepends.o cmComputeComponentGraph.o cmExprLexer.o cmExprParser.o cmExprParserHelper.o cmListFileLexer.o Directory.o EncodingCXX.o FStream.o Glob.o RegularExpression.o SystemTools.o EncodingC.o ProcessUNIX.o String.o System.o Terminal.o -o cmake /usr/bin/ld: cmListFileLexer.o: relocation R_X86_64_32S against `.rodata' can not be used when making a PIE object; recompile with -fPIE /usr/bin/ld: ProcessUNIX.o: relocation R_X86_64_32 against `.rodata' can not be used when making a PIE object; recompile with -fPIE /usr/bin/ld: Terminal.o: relocation R_X86_64_32 against `.rodata' can not be used when making a PIE object; recompile with -fPIE collect2: error: ld returned 1 exit status make[4]: *** [Makefile:2: cmake] Error 1 make[4]: Leaving directory '/homeb/xiaoyuan.cai/sdk/allwinner/tina/f133/out/f133-evb1/compile_dir/host/cmake-3.4.3/Bootstrap.cmk' --------------------------------------------- Error when bootstrapping CMake: Problem while running make --------------------------------------------- Log of errors: /homeb/xiaoyuan.cai/sdk/allwinner/tina/f133/out/f133-evb1/compile_dir/host/cmake-3.4.3/Bootstrap.cmk/cmake_bootstrap.log --------------------------------------------- make[3]: *** [Makefile:29: /homeb/xiaoyuan.cai/sdk/allwinner/tina/f133/out/f133-evb1/compile_dir/host/cmake-3.4.3/.configured] Error 9 make[3]: Leaving directory '/homeb/xiaoyuan.cai/sdk/allwinner/tina/f133/tools/cmake' make[2]: *** [tools/Makefile:135: tools/cmake/compile] Error 2 make[2]: Leaving directory '/homeb/xiaoyuan.cai/sdk/allwinner/tina/f133' make[1]: *** [tools/Makefile:133: /homeb/xiaoyuan.cai/sdk/allwinner/tina/f133/out/f133-evb1/staging_dir/target/stamp/.tools_install_yyyynyyynyyyyyyynnnyyyyyyyyyyynnyyyyyyyynyyynyyyyy] Error 2 make[1]: Leaving directory '/homeb/xiaoyuan.cai/sdk/allwinner/tina/f133' make: *** [/homeb/xiaoyuan.cai/sdk/allwinner/tina/f133/build/toplevel.mk:306: world] Error 2 [2] Done $T/tools/build/buildserver --path $T 2> /dev/null 1>&2 [3]+ Done $T/tools/build/buildserver --path $T 2> /dev/null 1>&2 #### make failed to build some targets (05:34 (mm:ss)) ####