Error: invalid operands (*UND* and *UND* sections) for `*‘
参考链接:
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 `*‘相关推荐
- [Error] invalid operands of types ‘float‘ and ‘float‘ to binary ‘operator%‘
是因为求余运算符%要求左边的数是整数,但是把一个 float 类型的数放在%左边进行运算,就会报以上 错误 .所以要么转型(int)a,但是必须是a本身是整数的情况或者说符合题目要求只需要整型部分,不 ...
- error: invalid operands to binary % (have ‘double‘ and ‘int‘)取模mod %
此处出现错误: 因为%不可以用于浮点型(double,float类型),只能用于整型(int类型) 可以强制类型转换,将浮点型强制转换为整型,解决此问题 double b = (int) floor( ...
- OTS parsing error: invalid version tag woff和ttf文件被Filter拦截
从服务器下载的字体文件放在本地,执行无法展示iconfont,浏览器控制台报出 Failed to decode downloaded font: http://127.0.0.1:8080/mhr/ ...
- ruby环境sass编译中文出现Syntax error: Invalid GBK character错误解决方法
sass文件编译时候使用ruby环境,无论是界面化的koala工具还是命令行模式的都无法通过,真是令人烦恼. 容易出现中文注释时候无法编译通过,或者出现乱码,找了几天的解决方法终于解决了. 这个问题的 ...
- cuda error invalid argument
用pytorch训练时报的错 在loss.backward时报错 估计应该是loss出现了异常值. 网上其他答案: 问题: RuntimeError: CUDA error: invalid conf ...
- runtime error: invalid memory address or nil pointer dereference
runtime error: invalid memory address or nil pointer dereference 解决方法: tcallback((unsigned char*)pac ...
- Package CJK Error: Invalid character code. 问题解决方法--xelatex和pdflatex编译的转换
Package CJK Error: Invalid character code. 问题解决方法--xelatex和pdflatex编译的转换 解决方法:添加格式说明信息 将下面语句: \docum ...
- 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 ...
- 成功解决./nvidia-installer: invalid option: ‐‐no‐opengl‐files ERROR: Invalid commandline, please run `
成功解决./nvidia-installer: invalid option: "‐‐no‐opengl‐files" ERROR: Invalid commandline, pl ...
- c++中结构体套结构体用 = {0}初始化编译报错解决办法(用memset或者={})(error: invalid conversion)
我这有个结构体: VENC_CHN_ATTR_S venc_chn_attr; /* the attribute of the venc chnl*/ typedef struct rkVENC_CH ...
最新文章
- python使用matplotlib可视化、为可视化图像添加标题(title)、自定义标题的字体格式、字体大小、字体颜色等
- NPM 3 Beta为Windows用户带来利好消息
- 浅谈 Python 的 with 语句
- 学习笔记(七)——jQuery(一)
- VTK:直纹面过滤器用法实战
- 解决办法在安装完Nginx后服务启动失败
- HDU1002 大数相加
- HDU 1964 Pipes
- 来自 Spring Cloud 官方的消息,Spring Cloud Alibaba 即将毕业
- 排列组合思维导图_图形推理 思维导图 百度文库
- 中国手机市场调查报告
- 「周末观赛指南」国足生死战 NBA将演“大结局”?
- 如何为macOS High Sierra创建可启动的USB安装程序
- 2019强网杯upload
- 沪深股票的复权计算(复权因子的应用)
- 工作展望简短_简短的工作计划
- [因果推断] 什么是因果推断(一)
- python瀑布图怎么做_用Matplotlib模拟原始瀑布图
- NVME NSSR (Nvme Sub System Reset)
- Win7系统,Windows功能显示不全的解决方法