详细!交叉编译时 note: the mangling of 'va_list' has changed in GCC 4.4解决办法
2014-12-12 23:10
417 查看
为什么要在标题前面加了详细两个字,就是为了吸引看文章的你还有写文章的我这种小白,我是从坑里面爬出来了。
废话少说....
问题就是这样子了,至于解决办法,在网上搜索了很久,大多数以一段英文作为解决办法,...
I think that the warning is accurate; the mangling of va_list has indeed
changed on ARM in GCC 4.4 in order to conform to the ARM ABI specifications.
There is an option to turn off warnings about PSABI issues; -Wno-psabi. I
think that option (if not some stronger option) should be used.
还找到了这句话的出处,nnd的老外https://gcc.gnu.org/bugzilla/show_bug.cgi?id=42748
看了半天终于弄懂了是怎么回事,可是你倒是跟我说-Wno-psabi是什么怎么用啊。
后来想了半天,前面不是说这是个option吗,那就在编译的时候加个选项嘛,所以...
:#arm-linux-g++ -Wno-psabi hello.c -o hello `pkg-config --cflags --libs opencv`
解决了不再出现警告了。
废话少说....
问题就是这样子了,至于解决办法,在网上搜索了很久,大多数以一段英文作为解决办法,...
I think that the warning is accurate; the mangling of va_list has indeed
changed on ARM in GCC 4.4 in order to conform to the ARM ABI specifications.
There is an option to turn off warnings about PSABI issues; -Wno-psabi. I
think that option (if not some stronger option) should be used.
还找到了这句话的出处,nnd的老外https://gcc.gnu.org/bugzilla/show_bug.cgi?id=42748
看了半天终于弄懂了是怎么回事,可是你倒是跟我说-Wno-psabi是什么怎么用啊。
后来想了半天,前面不是说这是个option吗,那就在编译的时候加个选项嘛,所以...
:#arm-linux-g++ -Wno-psabi hello.c -o hello `pkg-config --cflags --libs opencv`
解决了不再出现警告了。
相关文章推荐
- arm环境下编译出现下面警告的解决办法 note: the mangling of 'va_list' has changed in GCC 4.4
- 解决NDK *** note: the mangling of 'va_list' has changed in GCC 4.4
- NDK note: the mangling of 'va_list' has changed in GCC 4.4
- ndk-build中出现警告mangling of 'va_list' has changed in GCC 4.4
- NDK note: the mangling of 'va_list' has changed in GCC 4.4
- NDK note: the mangling of 'va_list' has changed in GCC 4.4
- note: the mangling of 'va_list' has changed in GCC
- ndk-build中出现警告mangling of 'va_list' has changed in GCC 4.4
- Note: This element has no attached source and Javadoc could not be found in the attached Javadoc解决办法
- mipsel-openwrt-linux-gcc交叉编译时找不到库文件的解决办法
- 编译内核时遇到“dpkg-gencontrol: error: package not in control info”的解决办法
- bak 5. 编译libmad 出现error impossible constraint in “asm”时的解决办法.
- 编译qte-4.6.3交叉编译库的时候提示确实zlib.h的解决办法
- This function has none of DETERMINISTIC, NO SQL, or READS SQL DATA in its de 错误解决办法
- ssh远程登录出现:RSA host key for *.*.*.* has changed...的解决办法
- GCC编译“Value too large for defined data type”错误解决办法
- 利用arm-elf-gcc编译boa的问题及解决办法
- 两个C++编译错误及解决办法--does not name a type和field `XX' has incomplete type
- lib_clapack.a(dlasyf.o): could not read symbols: File in wrong format---- 交叉编译opencv2.0遇到的错误解决
- 两个C++编译错误及解决办法--does not name a type和field `XX' has incomplete type