linux gcc编译undefined reference to `stricmp'问题
2016-05-24 09:00
399 查看
最近gcc编译遇到这样的问题:undefined reference to `stricmp'.
查了下,stricmp是Windows特有函数。
解决方法:
stricmp是Microsoft's compilers/libraries.linux下用
问题解决。
有兴趣不防看看/usr/include/string.h文件,没有stricmp声明。
参考:
http://stackoverflow.com/questions/5918697/undefined-reference-to-stricmp
查了下,stricmp是Windows特有函数。
解决方法:
stricmp是Microsoft's compilers/libraries.linux下用
strcasecmp代替。
问题解决。
有兴趣不防看看/usr/include/string.h文件,没有stricmp声明。
参考:
http://stackoverflow.com/questions/5918697/undefined-reference-to-stricmp
相关文章推荐
- linux wc命令
- linux tail命令的使用方法详解
- localdomain的linux域
- Linux 实验一 基础实践
- Linux 实验一 基础实践
- 每天一个Linux命令(26)chown命令
- linux 系统
- linux 学习笔记(三):open、creat、close 函数的使用,文件的创建、打开与关闭
- 基于柔性数组和类型转换以及sendmsg的消息组装方法
- Linux C++开发学习(一)
- Linux内核之进程和文件共享
- 安装centos7 按e编辑 修正无法发现/dev/root 问题
- AT91SAM9261EK Linux 3.10.12 yaffs2 移植成功
- Linux学习笔记一
- Linux学习笔记二
- centos7.2 ftp连接问题
- centos7 FIREWALLS取代iptables
- centos7安装php
- linuxc
- linux 批量删除