首页 > 其他 > 详细

error: undefined reference to '__dso_handle'解决方案

时间:2020-05-10 09:47:09      阅读:311      评论:0      收藏:0      [点我收藏+]

home/NDK/android-ndk-r9/sources/cxx-stl/gnu-libstdc++/4.7/libs/armeabi-v7a/libsupc++.a(eh_globals.o):eh_globals.cc:function _GLOBAL__sub_I_eh_globals.cc: error: undefined reference to ‘__dso_handle‘

 

解决办法:

在main.c前面加上一条:

extern "C"{ void * __dso_handle = 0 ;}


 
原文链接:https://blog.csdn.net/u014652390/java/article/details/50638845

error: undefined reference to '__dso_handle'解决方案

原文:https://www.cnblogs.com/hshy/p/12861771.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!