编译WU FTPD出现"undefined reference to crypt"错误解决方法
来源:互联网 发布:企业家精神 知乎 编辑:程序博客网 时间:2024/06/05 04:07
在编译Wu FTPd-2,6,2时候出现错误 undefined reference to crypt
解决方法:
定位到相应的makefile:/wu-ftpd-2.6.2/util/privatepw/makefile, 找到这一行:privatepw: privatepw.c ../../src/COPYRIGHT.c vers.c
$(CC) $(CFLAGS) -L../../support $(LIBS) -o $@ privatepw.c ../../src/COPYRIGHT.c vers.c
$(CC) $(CFLAGS) -L../../support $(LIBS) -o $@ privatepw.c ../../src/COPYRIGHT.c vers.c
在privatepw.c后面加-lcrypt。
就可以了
应该是Wu FTPD这个版本的bug
0 0
- 编译WU FTPD出现"undefined reference to crypt"错误解决方法
- 移植wu-ftpd编译错误的解决方法
- 编译3.10内核 出现错误 “undefined reference to...." 解决方法
- 出现undefined reference to `forkpty' 错误解决方法
- NDK编译出现undefined reference to错误
- PHP 5.3.10 编译安装时出现 undefined reference to `libiconv' 错误的解决方法
- 编译出现"undefined reference to `GTK_WIDGET_REALIZED',`GTK_WIDGET_VISIBLE' "相关错误的解决方法
- PHP 编译安装时出现 undefined reference to `libiconv' 错误的解决方法
- 编译tslib1.4出现错误undefined reference to rpl_malloc错误
- gcc编译出现undefined reference to 'pthread_create'的解决方法
- 编译静态expect现undefined reference to `openpty' 错误解决方法
- 编译错误undefined reference to `dlsym' 的解决方法
- 编译错误undefined reference to `dlopen' 'dlsym' 'dlclose'的解决方法
- TORNADO下编译出现undefined reference to `itoa'错误
- 编译出现这种错误 undefined reference to '__gxx_personality_v0'
- 交叉编译中出现的 'Undefined reference to __aeabi_read_tp' 错误
- 编译什么时候出现Undefined reference to 的错误
- linux编译出现undefined reference to `pow‘的错误
- Linux系统下USB摄像头驱动开发
- 一些好的工具
- 程序员必读系列
- 关于VS中区分debug与release,32位与64位编译的宏定义
- 详解大端模式和小端模式
- 编译WU FTPD出现"undefined reference to crypt"错误解决方法
- 小波分析(二)
- JS.json对象转化
- Spring 事务配置
- flex sprite圆角矩形发光体的使用
- Android中自定义View和自定义动画
- 自定义AsyncResult
- Tomcat SSL配置及Tomcat CA证书安装
- 华为