美文网首页
ubuntu 18.04编译fsl-release-bsp错误记

ubuntu 18.04编译fsl-release-bsp错误记

作者: 小桥流水啦啦啦 | 来源:发表于2020-03-15 20:57 被阅读0次
1、ERROR: linux-imx-4.1.15-r0 do_fetch: Function failed: Fetcher failure for URL: 'git://git.freescale.com/imx/linux-imx.git;protocol=git;branch=imx_4.1.15_2.0.0_ga'. Unable to fetch URL from any source.
解决方法:

修改build/conf/local.conf,在最后添加:

LICENSE_FLAGS_WHITELIST = "commercial"
2、root@2f45521e73cd:/home/fsl-release-bsp/build-x11# cat /home/fsl-release-bsp/build-x11/tmp/work/x86_64-linux/libtool-native/2.4.6-r0/temp/log.do_configure.36757

DEBUG: Executing python function sysroot_cleansstate
DEBUG: Python function sysroot_cleansstate finished
DEBUG: Executing shell function autotools_preconfigure
DEBUG: Shell function autotools_preconfigure finished
DEBUG: Executing python function autotools_copy_aclocals
DEBUG: SITE files ['endian-little', 'common-linux', 'common-glibc', 'bit-64', 'x86_64-linux', 'common']
DEBUG: Python function autotools_copy_aclocals finished
DEBUG: Executing shell function do_configure
Unescaped left brace in regex is illegal here in regex; marked by <-- HERE in m/${ <-- HERE ([^ \t=:+{}]+)}/ at /home/fsl-release-bsp/build-x11/tmp/sysroots/x86_64-linux/usr/bin/automake line 3939.
Unescaped left brace in regex is illegal here in regex; marked by <-- HERE in m/${ <-- HERE ([^ \t=:+{}]+)}/ at /home/fsl-release-bsp/build-x11/tmp/sysroots/x86_64-linux/usr/bin/automake line 3939.
WARNING: exit code 255 from a shell command.
ERROR: Function failed: do_configure (log file is located at /home/fsl-release-bsp/build-x11/tmp/work/x86_64-linux/libtool-native/2.4.6-r0/temp/log.do_configure.36757)

解决方法:

修改tmp/work/x86_64-linux/automake-native/1.15-r0/sysroot-destdir/home/fsl-release-
bsp/build-x11/tmp/sysroots/x86_64-linux/usr/bin/automake

        # substitute_ac_subst_variables ($TEXT)
        # -------------------------------------
        # Replace any occurrence of ${FOO} in $TEXT by @FOO@ if FOO is an AC_SUBST
        # variable.
        sub substitute_ac_subst_variables
        {
          my ($text) = @_;
          # $text =~ s/\${([^ \t=:+{}]+)}/substitute_ac_subst_variables_worker ($1)/ge;
          $text =~ s/\$[{]([^ \t=:+{}]+)}/substitute_ac_subst_variables_worker ($1)/ge;
          return $text;
        }

相关文章

网友评论

      本文标题:ubuntu 18.04编译fsl-release-bsp错误记

      本文链接:https://www.haomeiwen.com/subject/mmvbehtx.html