参考链接:
https://www.cnblogs.com/wangjq19920210/p/11347916.html

https://bbs.huaweicloud.com/forum/thread-23178-1-1.html


arm上编译PhantomJS报错:

g++ -c -include .pch/Qt5Gui -pipe -O3 -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -std=c++0x -fno-exceptions -Wall -W -D_REENTRANT -DQT_NO_MTDEV -DQT_NO_LIBUDEV -DQT_NO_EVDEV -DQT_NO_TSLIB -DQT_NO_LIBINPUT -DQT_NO_GRAPHICSVIEW -DQT_NO_GRAPHICSEFFECT -DQT_NO_STYLESHEET -DQT_NO_STYLE_CDE -DQT_NO_STYLE_CLEANLOOKS -DQT_NO_STYLE_MOTIF -DQT_NO_STYLE_PLASTIQUE -DQT_NO_PRINTPREVIEWDIALOG -DQT_NO_USING_NAMESPACE -DQT_BUILD_GUI_LIB -DQT_BUILDING_QT -DQT_NO_CAST_TO_ASCII -DQT_ASCII_CAST_WARNINGS -DQT_MOC_COMPAT -DQT_USE_QSTRINGBUILDER -DQT_DEPRECATED_WARNINGS -DQT_DISABLE_DEPRECATED_BEFORE=0x050000 -DQT_USE_BUNDLED_LIBPNG -DPNG_ARM_NEON_OPT=0 -DQT_ENABLE_HARFBUZZ_NG -DQT_NO_EXCEPTIONS -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -DQT_NO_DEBUG -DQT_CORE_LIB -I. -I../../include -I../../include/QtGui -I../../include/QtGui/5.5.1 -I../../include/QtGui/5.5.1/QtGui -I../3rdparty/libpng -I../3rdparty/zlib -I../3rdparty/libjpeg -I../3rdparty/harfbuzz-ng/include -I../3rdparty/zlib -I../../include/QtCore/5.5.1 -I../../include/QtCore/5.5.1/QtCore -I../../include/QtCore -I.moc -I../../mkspecs/linux-g++ -o .obj/qgridlayoutengine.o util/qgridlayoutengine.cpp
{standard input}: Assembler messages:
{standard input}:7254: Warning: missing operand; zero assumed
{standard input}:8854: Warning: missing operand; zero assumed
{standard input}:7254: Error: invalid operands (*UND* and *UND* sections) for `*'
{standard input}:8854: Error: invalid operands (*UND* and *UND* sections) for `*'
make[2]: *** [.obj/qgridlayoutengine.o] Error 1
make[2]: Leaving directory `/builddir/build/BUILD/phantomjs-2.1.1/src/qt/qtbase/src/gui'
make[1]: *** [sub-gui-make_first] Error 2
make[1]: Leaving directory `/builddir/build/BUILD/phantomjs-2.1.1/src/qt/qtbase/src'
make: *** [sub-src-make_first] Error 2ERROR: Failed to build PhantomJS! Building Qt Base failed.
错误:/var/tmp/rpm-tmp.HAawGC (%build) 退出状态不好

解决方法:

sed  -i 's/-O3/-O2/g' src/qt/qtbase/mkspecs/common/gcc-base.conf

然后就可以编译通过了。

Error: invalid operands (*UND* and *UND* sections) for `*‘相关推荐

  1. [Error] invalid operands of types ‘float‘ and ‘float‘ to binary ‘operator%‘

    是因为求余运算符%要求左边的数是整数,但是把一个 float 类型的数放在%左边进行运算,就会报以上 错误 .所以要么转型(int)a,但是必须是a本身是整数的情况或者说符合题目要求只需要整型部分,不 ...

  2. error: invalid operands to binary % (have ‘double‘ and ‘int‘)取模mod %

    此处出现错误: 因为%不可以用于浮点型(double,float类型),只能用于整型(int类型) 可以强制类型转换,将浮点型强制转换为整型,解决此问题 double b = (int) floor( ...

  3. OTS parsing error: invalid version tag woff和ttf文件被Filter拦截

    从服务器下载的字体文件放在本地,执行无法展示iconfont,浏览器控制台报出 Failed to decode downloaded font: http://127.0.0.1:8080/mhr/ ...

  4. ruby环境sass编译中文出现Syntax error: Invalid GBK character错误解决方法

    sass文件编译时候使用ruby环境,无论是界面化的koala工具还是命令行模式的都无法通过,真是令人烦恼. 容易出现中文注释时候无法编译通过,或者出现乱码,找了几天的解决方法终于解决了. 这个问题的 ...

  5. cuda error invalid argument

    用pytorch训练时报的错 在loss.backward时报错 估计应该是loss出现了异常值. 网上其他答案: 问题: RuntimeError: CUDA error: invalid conf ...

  6. runtime error: invalid memory address or nil pointer dereference

    runtime error: invalid memory address or nil pointer dereference 解决方法: tcallback((unsigned char*)pac ...

  7. Package CJK Error: Invalid character code. 问题解决方法--xelatex和pdflatex编译的转换

    Package CJK Error: Invalid character code. 问题解决方法--xelatex和pdflatex编译的转换 解决方法:添加格式说明信息 将下面语句: \docum ...

  8. Java:Linux上java -jar xxx.jar命令执行jar包时出现Error: Invalid or corrupt jarfile xxx.jar解决方案...

    背景: 从ftp上上传jar包到linux上,之后在linux上通过ftp命令下载jar包文件,开始执行Java-jar,一直提示错误:Error: Invalid or corrupt jarfil ...

  9. 成功解决./nvidia-installer: invalid option: ‐‐no‐opengl‐files ERROR: Invalid commandline, please run `

    成功解决./nvidia-installer: invalid option: "‐‐no‐opengl‐files" ERROR: Invalid commandline, pl ...

  10. c++中结构体套结构体用 = {0}初始化编译报错解决办法(用memset或者={})(error: invalid conversion)

    我这有个结构体: VENC_CHN_ATTR_S venc_chn_attr; /* the attribute of the venc chnl*/ typedef struct rkVENC_CH ...

最新文章

  1. python使用matplotlib可视化、为可视化图像添加标题(title)、自定义标题的字体格式、字体大小、字体颜色等
  2. NPM 3 Beta为Windows用户带来利好消息
  3. 浅谈 Python 的 with 语句
  4. 学习笔记(七)——jQuery(一)
  5. VTK:直纹面过滤器用法实战
  6. 解决办法在安装完Nginx后服务启动失败
  7. HDU1002 大数相加
  8. HDU 1964 Pipes
  9. 来自 Spring Cloud 官方的消息,Spring Cloud Alibaba 即将毕业
  10. 排列组合思维导图_图形推理 思维导图 百度文库
  11. 中国手机市场调查报告
  12. 「周末观赛指南」国足生死战 NBA将演“大结局”?
  13. 如何为macOS High Sierra创建可启动的USB安装程序
  14. 2019强网杯upload
  15. 沪深股票的复权计算(复权因子的应用)
  16. 工作展望简短_简短的工作计划
  17. [因果推断] 什么是因果推断(一)
  18. python瀑布图怎么做_用Matplotlib模拟原始瀑布图
  19. NVME NSSR (Nvme Sub System Reset)
  20. Win7系统,Windows功能显示不全的解决方法

热门文章

  1. 一键登录163邮箱方法
  2. 对讲机扫盲的基本常识
  3. macbook边缘磕碰如何修复
  4. 如何让VR全景创业之路走得轻松?
  5. java创新创业比赛项目教程_基于JavaWeb的计算机创新创业平台的功能设计与实现...
  6. Html+Css 3D旋转立方体
  7. 华为小程序怎么弄出来_华为手机添加桌面小程序 华为手机小程序怎么弄出来...
  8. 关于JFreeChart中BarChart柱体宽度设置的问题纪要
  9. Python爬虫QQ空间好友说说
  10. 记一次西安thoughtworks的面试经历