linux gcc编译undefined reference to `stricmp'问题
来源:互联网 发布:ps3真高达无双淘宝 编辑:程序博客网 时间:2024/05/16 10:31
最近gcc编译遇到这样的问题: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
1 0
- linux gcc编译undefined reference to `stricmp'问题
- 解决gcc 编译时报错"undefined reference to 'main'" 问题
- gcc编译出现 undefined reference to 的问题
- gcc编译出现undefined reference to 的问题
- linux下gcc/g++编译遇到问题 undefined reference to clock gettime
- gcc 编译错误:"undefined reference to 'sqrt'
- gcc编译出现”undefined reference to `pcap_parse’”
- gcc undefined reference to
- ----linux--内核编译的问题:undefined reference to `printascii'
- linux内核编译问题——undefined reference to `error'
- linux c++ 编译undefined reference to
- linux编译,解决类似于undefined reference to `*'
- gcc undefined reference to '__stack_chk_fail'【操作系统开发编译中遇到的问题】
- 用gcc编译.cpp文件可能出现"undefined reference to `__gxx_personality_v0'"问题的解决
- 用gcc编译.cpp文件可能出现"undefined reference to `__gxx_personality_v0'"问题的解决
- 用gcc编译.cpp文件可能出现"undefined reference to `__gxx_personality_v0'"问题
- Linux gcc编译提示:undefined reference to `sqrtf' collect2: error: ld returned 1 exit status
- Linux下clang/gcc使用pthread.h编译出错undefined reference to `pthread_create'
- Toolbar
- HTTP与TCP/IP的区别
- [javase]遍历Map的三种方式
- 表格UITableViewCell定制和使用
- ftpget 和ftpput命令 tftp 上传下载文件
- linux gcc编译undefined reference to `stricmp'问题
- 端口的概念
- 【代码笔记】iOS-伸缩式动画
- 2016.05.24工作内容
- (已解决scientificlinux 与windows7的双系统问题)在linux下修复/添加windows启动/引导项
- 文件硬链接和软链
- 153. Find Minimum in Rotated Sorted Array
- 一键生成 ios 和安卓各尺寸截屏、图标
- 动态规划详解