ext/gd/libgd/.libs/gdkanji.o: In function `do_convert’:
/root/php-5.2.12/ext/gd/libgd/gdkanji.c:350: undefined reference to `libiconv_open’
/root/php-5.2.12/ext/gd/libgd/gdkanji.c:365: undefined reference to `libiconv’
/root/php-5.2.12/ext/gd/libgd/gdkanji.c:381: undefined reference to `libiconv_close’
ext/iconv/.libs/iconv.o: In function `_php_iconv_strlen’:
/root/php-5.2.12/ext/iconv/iconv.c:603: undefined reference to `libiconv_open’
/root/php-5.2.12/ext/iconv/iconv.c:626: undefined reference to `libiconv’
/root/php-5.2.12/ext/iconv/iconv.c:660: undefined reference to `libiconv_close’
ext/iconv/.libs/iconv.o: In function `php_iconv_string’:
/root/php-5.2.12/ext/iconv/iconv.c:441: undefined reference to `libiconv_open’
/root/php-5.2.12/ext/iconv/iconv.c:453: undefined reference to `libiconv’
/root/php-5.2.12/ext/iconv/iconv.c:467: undefined reference to `libiconv’
/root/php-5.2.12/ext/iconv/iconv.c:478: undefined reference to `libiconv_close’
ext/iconv/.libs/iconv.o: In function `_php_iconv_strpos’:
/root/php-5.2.12/ext/iconv/iconv.c:851: undefined reference to `libiconv_open’
/root/php-5.2.12/ext/iconv/iconv.c:879: undefined reference to `libiconv’
/root/php-5.2.12/ext/iconv/iconv.c:993: undefined reference to `libiconv_close’
ext/iconv/.libs/iconv.o: In function `_php_iconv_appendl’:
/root/php-5.2.12/ext/iconv/iconv.c:348: undefined reference to `libiconv’
/root/php-5.2.12/ext/iconv/iconv.c:385: undefined reference to `libiconv’
ext/iconv/.libs/iconv.o: In function `_php_iconv_substr’:
/root/php-5.2.12/ext/iconv/iconv.c:723: undefined reference to `libiconv_open’
/root/php-5.2.12/ext/iconv/iconv.c:747: undefined reference to `libiconv’
/root/php-5.2.12/ext/iconv/iconv.c:802: undefined reference to `libiconv_close’
/root/php-5.2.12/ext/iconv/iconv.c:806: undefined reference to `libiconv_close’
/root/php-5.2.12/ext/iconv/iconv.c:755: undefined reference to `libiconv_open’
ext/iconv/.libs/iconv.o: In function `_php_iconv_mime_decode’:
/root/php-5.2.12/ext/iconv/iconv.c:1354: undefined reference to `libiconv_open’
/root/php-5.2.12/ext/iconv/iconv.c:1465: undefined reference to `libiconv_close’
/root/php-5.2.12/ext/iconv/iconv.c:1468: undefined reference to `libiconv_open’
/root/php-5.2.12/ext/iconv/iconv.c:1823: undefined reference to `libiconv_close’
/root/php-5.2.12/ext/iconv/iconv.c:1826: undefined reference to `libiconv_close’
ext/iconv/.libs/iconv.o: In function `php_iconv_stream_filter_dtor’:
/root/php-5.2.12/ext/iconv/iconv.c:2465: undefined reference to `libiconv_close’
ext/iconv/.libs/iconv.o: In function `_php_iconv_mime_encode’:
/root/php-5.2.12/ext/iconv/iconv.c:1043: undefined reference to `libiconv_open’
/root/php-5.2.12/ext/iconv/iconv.c:1057: undefined reference to `libiconv_open’
/root/php-5.2.12/ext/iconv/iconv.c:1316: undefined reference to `libiconv_close’
/root/php-5.2.12/ext/iconv/iconv.c:1319: undefined reference to `libiconv_close’
/root/php-5.2.12/ext/iconv/iconv.c:1176: undefined reference to `libiconv’
/root/php-5.2.12/ext/iconv/iconv.c:1128: undefined reference to `libiconv’
/root/php-5.2.12/ext/iconv/iconv.c:1160: undefined reference to `libiconv’
/root/php-5.2.12/ext/iconv/iconv.c:1319: undefined reference to `libiconv_close’
/root/php-5.2.12/ext/iconv/iconv.c:1228: undefined reference to `libiconv’
/root/php-5.2.12/ext/iconv/iconv.c:1259: undefined reference to `libiconv’
/root/php-5.2.12/ext/iconv/iconv.c:1303: undefined reference to `libiconv’
ext/iconv/.libs/iconv.o: In function `php_iconv_stream_filter_append_bucket’:
/root/php-5.2.12/ext/iconv/iconv.c:2615: undefined reference to `libiconv’
/root/php-5.2.12/ext/iconv/iconv.c:2615: undefined reference to `libiconv’
ext/iconv/.libs/iconv.o:/root/php-5.2.12/ext/iconv/iconv.c:2537: more undefined references to `libiconv’ follow
ext/iconv/.libs/iconv.o: In function `php_iconv_stream_filter_ctor’:
/root/php-5.2.12/ext/iconv/iconv.c:2491: undefined reference to `libiconv_open’
ext/xmlrpc/libxmlrpc/.libs/encodings.o: In function `convert’:
/root/php-5.2.12/ext/xmlrpc/libxmlrpc/encodings.c:73: undefined reference to `libiconv_open’
/root/php-5.2.12/ext/xmlrpc/libxmlrpc/encodings.c:81: undefined reference to `libiconv’
/root/php-5.2.12/ext/xmlrpc/libxmlrpc/encodings.c:101: undefined reference to `libiconv_close’
collect2: ld returned 1 exit status
make: *** [sapi/cli/php] ?.. 1
处理方法:
./configure …………
vi Makefile
找到下面这行:
EXTRA_LIBS = -lcrypt ...
在最后添加-liconv
- nios ii 13 主程序的函数可以用Open Declaration 查看,但是编译的时候却说 undefined reference to 。。。这是为什么?
在做12864 ip 核试验时,写了三个文件第一个是时序文件QC12864.v第二个是QC12864.H这个文件主要包括声明和宏定义,第三个文件是QC12864.c这个文件包含函数的定义.详细的请看 ...
- 由于link顺序错误导致的undefined reference
其实我之前就遇到过这个问题,也强调过,GNU-G++在link阶段是依赖输入的.o或者.a文件的顺序的.如果顺序错误会导致undefined reference错误 见这篇随笔:http://www. ...
- ubuntu下调试ffmpeg程序出现undefined reference to pthread_once ,undefined reference to uncompress错误
Ubuntu(版本16.04)下默认配置编译Ffmpeg(版本4.1.3configure 添加选项--enable-threads),将编译好的ffmpeg库添加到程序 中进行编译出现undefin ...
- Linux Ubuntu运行线程程序出现undefined reference to ‘pthread_create’和undefined reference to ‘pthread_join’错误。
Linux Ubuntu运行线程程序出现undefined reference to ‘pthread_create’和undefined reference to ‘pthread_join’错误. ...
- 安装sphinx报错(undefined reference to `libiconv_open' 、undefined reference to `libiconv'、undefined reference to `libiconv_close'、make[1]: *** No rule to make target `all'. Stop. 、make: *** [all-recursive
(为知笔记copy过来格式有变,希望对遇到此问题的童鞋有帮助) 具体错误: Thank you for choosing Sphinx! [root@vm-vagrant csft-4.1]# mak ...
- sphinx :undefined reference to `libiconv' 报错解决办法
sphinx :undefined reference to `libiconv' 报错解决办法 2013-11-30 21:45:39 安装sphinx时不停报错...郁闷在make时报错,错误 ...
- Android APP使用NDK编译后的ffmpeg库出现undefined reference to 'posix_memalign'错误
在android程序中使用NDK编译后的ffmpeg库的时候出现了如下错误: jni/libs/libavutil.a(mem.o): in function av_malloc:libavutil/ ...
- Windows编译OpenCV4Android解决undefined reference to std错误
注意OpenCV 4.0.1 解决了这个问题请直接下载OpenCV 4.0.1 但是OpenCV 4.0.1作为模块导入Android Studio会有找不到R.styleable的问题 OpenCV ...
- Qt - 错误总结 - 在自定义类头文件中添加Q_OBJECT 编译时报错(undefined reference to ‘vtable for xxThread)
错误提示:在添加的QThread子类头文件添加Q_OBJECT时,编译程序,出现"undefined reference to 'vtable for xxThread'"错误提示 ...
随机推荐
- 基于AFN的多张图片上传
不废话,直接上代码 NSString *urlString = [NSString stringWithFormat:@"http://192.168.1.166:8080/Discipli ...
- CentOs + Nginx + php-fpm + MySql 依赖库安装
依赖库和开发工具 yum -y install gcc gcc-c++ autoconf libjpeg libjpeg-devel libpng libpng-devel freetype free ...
- sqlmap基础使用
测试许多款 sql注入工具 最终还是发现 sqlmap 最为强悍 谁用谁知道!赶紧抛弃掉手上一大堆 sql 注入工具吧 : )测试环境:ubuntu 10.10 & windows 7(x64 ...
- 5、sha1加密的一个坑
OC语言写的sha1加密算法,在网上随手可以搜索到(如下便是),但是我不得不说有一些人不责任,没有提醒大家导入必要的系统头文件,从而导致错误 + (NSString *) sha1:(NSString ...
- jQuery的9中构造函数
// 接受一个字符串,其中包含了用于匹配元素集合的 CSS 选择器 jQuery([selector,[context]]) // 传入单个 DOM jQuery(element) // 传入 DOM ...
- 2015 QQ最新登录算法
首先还是取得验证码,抓包可得:http://check.ptlogin2.qq.com/check?regmaster=&pt_tea=1&uin=2630366651&app ...
- Sql Server尝试读取或写入受保护的内存。这通常指示其他内存已损坏
今日遇到这样一个问题,用vs2010调试C#代码时,只要代码一运行到跟数据库关联的地方时,编译器就报错误,给的提示如:调试器已附加,要继续需要分离什么的,咋一看还以为是vs中调试器设置的问题,可后来仔 ...
- CSS 选择器之基本选择器 属性选择器 伪类选择器
CSS 选择器 常见的选择器列表图 CSS选择器笔记 基本选择器 通配符选择器(*) 元素选择器(E) 类选择器(.className) 所有浏览器都支持类选择器,但多类选择器(.classNa ...
- Unity 5 Game Optimization
2. Scripting Strategies 2.1 Cache Component references (缓存组件引用) 使用 Rigidbody rigidbody = GetComponen ...
- s14 第5天 时间模块 随机模块 String模块 shutil模块(文件操作) 文件压缩(zipfile和tarfile)shelve模块 XML模块 ConfigParser配置文件操作模块 hashlib散列模块 Subprocess模块(调用shell) logging模块 正则表达式模块 r字符串和转译
时间模块 time datatime time.clock(2.7) time.process_time(3.3) 测量处理器运算时间,不包括sleep时间 time.altzone 返回与UTC时间 ...