NDK 提示"undefined reference to xxx“的解决办法
在Android.mk文件的
LOCAL_SRC_FILES后面加入包含该类或函数的文件,用\隔开,\后换行继续添加
例如
LOCAL_SRC_FILES := NDKTest.cpp\
bncore.c\
bn_error.c\
bn_fast_mp_invmod.c\
bn_fast_mp_montgomery_reduce.c\
bn_fast_s_mp_mul_digs.c\
bn_fast_s_mp_mul_high_digs.c\
bn_fast_s_mp_sqr.c\
bn_mp_2expt.c\
bn_mp_abs.c\
bn_mp_add.c\
bn_mp_addmod.c\
bn_mp_add_d.c\
bn_mp_and.c\
bn_mp_clamp.c\
bn_mp_clear.c\
bn_mp_clear_multi.c\
bn_mp_cmp.c\
bn_mp_cmp_d.c\
bn_mp_cmp_mag.c\
bn_mp_cnt_lsb.c\
bn_mp_copy.c\
bn_mp_count_bits.c\
bn_mp_div.c\
bn_mp_div_2.c\
bn_mp_div_2d.c\
bn_mp_div_3.c\
bn_mp_div_d.c\
bn_mp_dr_is_modulus.c\
bn_mp_dr_reduce.c\
bn_mp_dr_setup.c\
bn_mp_exch.c\
bn_mp_exptmod.c\
bn_mp_exptmod_fast.c\
bn_mp_expt_d.c\
bn_mp_exteuclid.c\
bn_mp_fread.c\
bn_mp_fwrite.c\
bn_mp_gcd.c\
bn_mp_get_int.c\
bn_mp_grow.c\
bn_mp_init.c\
bn_mp_init_copy.c\
bn_mp_init_multi.c\
bn_mp_init_set.c\
bn_mp_init_set_int.c\
bn_mp_init_size.c\
bn_mp_invmod.c\
bn_mp_invmod_slow.c\
bn_mp_is_square.c\
bn_mp_jacobi.c\
bn_mp_karatsuba_mul.c\
bn_mp_karatsuba_sqr.c\
bn_mp_lcm.c\
bn_mp_lshd.c\
bn_mp_mod.c\
bn_mp_mod_2d.c\
bn_mp_mod_d.c\
bn_mp_montgomery_calc_normalization.c\
bn_mp_montgomery_reduce.c\
bn_mp_montgomery_setup.c\
bn_mp_mul.c\
bn_mp_mulmod.c\
bn_mp_mul_2.c\
bn_mp_mul_2d.c\
bn_mp_mul_d.c\
bn_mp_neg.c\
bn_mp_n_root.c\
bn_mp_or.c\
bn_mp_prime_fermat.c\
bn_mp_prime_is_divisible.c\
bn_mp_prime_is_prime.c\
bn_mp_prime_miller_rabin.c\
bn_mp_prime_next_prime.c\
bn_mp_prime_rabin_miller_trials.c\
bn_mp_prime_random_ex.c\
bn_mp_radix_size.c\
bn_mp_radix_smap.c\
bn_mp_rand.c\
bn_mp_read_radix.c\
bn_mp_read_signed_bin.c\
bn_mp_read_unsigned_bin.c\
bn_mp_reduce.c\
bn_mp_reduce_2k.c\
bn_mp_reduce_2k_l.c\
bn_mp_reduce_2k_setup.c\
bn_mp_reduce_2k_setup_l.c\
bn_mp_reduce_is_2k.c\
bn_mp_reduce_is_2k_l.c\
bn_mp_reduce_setup.c\
bn_mp_rshd.c\
bn_mp_set.c\
bn_mp_set_int.c\
bn_mp_shrink.c\
bn_mp_signed_bin_size.c\
bn_mp_sqr.c\
bn_mp_sqrmod.c\
bn_mp_sqrt.c\
bn_mp_sub.c\
bn_mp_submod.c\
bn_mp_sub_d.c\
bn_mp_toom_mul.c\
bn_mp_toom_sqr.c\
bn_mp_toradix.c\
bn_mp_toradix_n.c\
bn_mp_to_signed_bin.c\
bn_mp_to_signed_bin_n.c\
bn_mp_to_unsigned_bin.c\
bn_mp_to_unsigned_bin_n.c\
bn_mp_unsigned_bin_size.c\
bn_mp_xor.c\
bn_mp_zero.c\
bn_prime_tab.c\
bn_reverse.c\
bn_s_mp_add.c\
bn_s_mp_exptmod.c\
bn_s_mp_mul_digs.c\
bn_s_mp_mul_high_digs.c\
bn_s_mp_sqr.c\
bn_s_mp_sub.c
NDK 提示"undefined reference to xxx“的解决办法的更多相关文章
- 编译QT时出现lib/libQtGui.so: undefined reference to `ts_read_raw'的解决办法
lib/libQtGui.so: undefined reference to `ts_read_raw' /lib/libQtGui.so: undefined reference to `ts_o ...
- Linux+CLion+树莓派远程编译时,Cmake编译出现undefined reference to 'dlopen'的解决办法
在Clion中链接讯飞的语音库并传至树莓派上编译时,出现如下错误. undefined reference to `dlopen' undefined reference to `dlclose' u ...
- Linux+CLion+树莓派远程编译时,Cmake编译出现undefined reference to 'pthread_create'的解决办法
在CLion中开发讯飞的linux语音库时编译出现以下问题: undefined reference to 'pthread_create' CLion的cmake配置:修改CMakeLists.tx ...
- linux 线程操作问题undefined reference to 'pthread_create'的解决办法(cmake)
问题原因: pthread 库不是 Linux 系统默认的库,连接时需要使用静态库 libpthread.a. 所以在使用pthread_create()创建线程时,需要链接该库. 1. 终端:问题解 ...
- cmake 出现undefined reference to xxx 解决办法
cmake没怎么用,主要觉得Clion很好用,但是默认clion使用的是cmake.再说一句clion是linux平台上很好用,个人强推. 当你使用clion的时候,如果使用了thread cstl等 ...
- undefined reference to XXX 问题原因
原文地址:http://blog.csdn.net/cserchen/article/details/5503556 Linux下编译程序时,经常会遇到“undefined reference to ...
- C++ template error: undefined reference to XXX
一般来说,写C++程序时推荐“类的声明和实现分离”,也就是说一个类的声明放在example.h文件中,而这个类的实现放在example.cpp文件中,这样方便管理,条理清晰. 但是如果类的声明用到了模 ...
- Linux下编译程序时,经常会遇到“undefined reference to XXX” 报错,
Linux下编译程序时,经常会遇到“undefined reference to XXX” 报错, 这里总结一些可能的原因和解决方案,给需要的朋友: 说道undefined reference err ...
- 问题:eclipse中线程编程编译报错,undefined reference to 'pthread_create'的解决方法(已解决)
问题描述: 在Ubuntu系统中,使用eclipse CDT集成开发环境编写pthread程序,编译时,pthread_create不通过,报错信息是: undefined reference to ...
随机推荐
- linux 压缩文件 及压缩选项详解
本文介绍linux下的压缩程序tar.gzip.gunzip.bzip2.bunzip2.compress.uncompress. zip. unzip.rar.unrar等程式,以及如何使用它们对. ...
- backbone collection add 事件回调参数
this.listenTo(this.collection, 'add', this.renderBook); renderBook: function (item) { var bookView = ...
- 命令行插入含有中文的sql文件,报错ERROR 1366 (HY000): Incorrect stringvalue:
--以下是插入语句: insert into sms_inbox values('123456','123456', 'cd', sysdate(), '今天天 气很好', 1, sysdate(), ...
- Surrounded Regions
Surrounded Regions Given a 2D board containing 'X' and 'O', capture all regions surrounded by 'X'. A ...
- iOS10 关于推送-b
最近在研究iOS10关于推送的新特性, 相比之前确实做了很大的改变,总结起来主要是以下几点: 推送内容更加丰富,由之前的alert 到现在的title, subtitle, body 推送统一由tri ...
- Javascript数据类型之Undefined和null
Javascrip中的数据类型分为原始数据类型(primitive type)和对象数据类型(object type). 原始数据类型 原始数据类型包括:数字.字符串.布尔值.null.undefin ...
- 微信ios版6.2更新 聊天记录迁移更快捷朋友圈可翻译
微信iPhone版昨日发布更新,版本号为微信 6.2 for iOS,主要特性有聊天记录迁移.发送图片更快捷.支持朋友圈翻译.手机充值可充流量查余额.可以通过展示二维码来收钱,和ytkah一起来瞧瞧吧 ...
- java poi导入EXCEL xls文件代码
/** * */ package com.bn.car.common.report.excel; import java.io.FileInputStream; import java.io.IOEx ...
- .NET中数据集的强类型化
我们知道,每一种程序设计语言都提供一定的类型检查,类型检查可以在编译时进行,也可以在运行时进行,分别称做静态类型检查和动态类型检查.由于静态类型的检查是在编译时进行,实现比较容易,能提高程序的运行效率 ...
- poj 3278 Catch That Cow (广搜,简单)
题目 以前做过,所以现在觉得很简单,需要剪枝,注意广搜的特性: 另外题目中,当人在牛的前方时,人只能后退. #define _CRT_SECURE_NO_WARNINGS //这是非一般的最短路,所以 ...