请选择 进入手机版 | 继续访问电脑版
设为首页收藏本站

嵌入式天空

 找回密码
 我要注册

扫一扫,访问微社区

最近看过此主题的会员

查看: 237|回复: 0

ubuntu18.04编译buildroot的时候因为perl版本太新会出以下...

[复制链接]

3

主题

3

帖子

11

积分

新手上路

Rank: 1

积分
11
发表于 2019-6-27 08:40:39 | 显示全部楼层 |阅读模式
在用ubuntu18.04编译buildroot的时候因为perl版本太新会出以下问题
  1. m4/attributes.m4:87: CC_CHECK_LDFLAGS is expanded from...
  2. m4/attributes.m4:104: CC_NOUNDEFINED is expanded from...
  3. configure.ac:55: the top level
  4. configure.ac:55: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body
  5. ../../lib/autoconf/lang.m4:193: AC_LANG_CONFTEST is expanded from...
  6. ../../lib/autoconf/general.m4:2661: _AC_LINK_IFELSE is expanded from...
  7. ../../lib/autoconf/general.m4:2678: AC_LINK_IFELSE is expanded from...
  8. ../../lib/m4sugar/m4sh.m4:639: AS_IF is expanded from...
  9. ../../lib/autoconf/general.m4:2031: AC_CACHE_VAL is expanded from...
  10. ../../lib/autoconf/general.m4:2052: AC_CACHE_CHECK is expanded from...
  11. m4/attributes.m4:87: CC_CHECK_LDFLAGS is expanded from...
  12. m4/attributes.m4:104: CC_NOUNDEFINED is expanded from...
  13. configure.ac:55: the top level
  14. Unescaped left brace in regex is illegal here in regex; marked by <-- HERE in m/\${ <-- HERE ([^ \t=:+{}]+)}/ at /home/zkx/s5p6818sdk_lzy1/Linux/src/buildroot/output/host/usr/bin/automake line 3936.
  15. autoreconf: /home/zkx/s5p6818sdk_lzy1/Linux/src/buildroot/output/host/usr/bin/automake failed with exit status: 255
  16. package/pkg-generic.mk:146: recipe for target '/home/zkx/s5p6818sdk_lzy1/Linux/src/buildroot/output/build/alsa-lib-1.0.29/.stamp_configured' failed
  17. make: *** [/home/zkx/s5p6818sdk_lzy1/Linux/src/buildroot/output/build/alsa-lib-1.0.29/.stamp_configured] Error 1
复制代码
解决办法如下:            
一、下载Perl5.22
        
二、编译安装Perl5.22
    sudo mkdir /usr/local/perl_me
    tar -xvf perl-5.22.0.tar.gz
     cd perl-5.22.0
   ./Configure -des -Dprefix=/usr/local/perl_me -Dusethreads -Uversiononly
    make
    sudo make install
    cd /usr/bin
    sudo mv perl perl.old
    sudo ln -s /usr/local/perl_me/bin/perl /usr/bin/perl


回复

使用道具 举报

您需要登录后才可以回帖 登录 | 我要注册

本版积分规则

QQ|Archiver|手机版|小黑屋|EBMSKY Inc. ( 冀ICP备17022971号-1  

GMT+8, 2019-7-23 17:31 , Processed in 0.076011 second(s), 39 queries .

Powered by Discuz! X3.2

© 2014-2018 Comsenz Inc. 【嵌入式天空】设计

快速回复 返回顶部 返回列表