免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 1774 | 回复: 6
打印 上一主题 下一主题

[FTP] proftpd1.2.6 编译错误 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2003-06-25 09:08 |只看该作者 |倒序浏览
错误信息如:
# make
echo \#define BUILD_STAMP \"`date`\" >; include/buildstamp.h
cd lib ; make lib
gcc  -DSOLARIS2_6 -DSOLARIS2 -I.. -I../include -O2 -Wall -c getopt.c
gcc  -DSOLARIS2_6 -DSOLARIS2 -I.. -I../include -O2 -Wall -c getopt1.c
gcc  -DSOLARIS2_6 -DSOLARIS2 -I.. -I../include -O2 -Wall -c pr_fnmatch.c
gcc  -DSOLARIS2_6 -DSOLARIS2 -I.. -I../include -O2 -Wall -c strsep.c
gcc  -DSOLARIS2_6 -DSOLARIS2 -I.. -I../include -O2 -Wall -c vsnprintf.c
gcc  -DSOLARIS2_6 -DSOLARIS2 -I.. -I../include -O2 -Wall -c glibc-glob.c
gcc  -DSOLARIS2_6 -DSOLARIS2 -I.. -I../include -O2 -Wall -c glibc-mkstemp.c
gcc  -DSOLARIS2_6 -DSOLARIS2 -I.. -I../include -O2 -Wall -c pwgrent.c
ar rc libsupp.a getopt.o getopt1.o pr_fnmatch.o strsep.o vsnprintf.o glibc-glob.o  glibc-mkstemp.o pwgrent.o
sh: ar: not found
*** Error code 1
make: Fatal error: Command failed for target `libsupp.a'
Current working directory /export/hcm/proftpd-1.2.6/lib
*** Error code 1
make: Fatal error: Command failed for target `lib'


第一次搞这玩意,不懂也,,请诸位不吝赐教,谢谢~~

论坛徽章:
0
2 [报告]
发表于 2003-06-25 13:13 |只看该作者

proftpd1.2.6 编译错误

sh: ar: not found
问题原来出在这里了

论坛徽章:
0
3 [报告]
发表于 2003-06-25 13:30 |只看该作者

proftpd1.2.6 编译错误

又报错了:(
# make
cd lib ; make lib
ar rc libsupp.a getopt.o getopt1.o pr_fnmatch.o strsep.o vsnprintf.o glibc-glob.o  glibc-mkstemp.o pwgrent.o
: libsupp.a
cd src ; make src
gcc  -DSOLARIS2_6 -DSOLARIS2 -I.. -I../include -O2 -Wall -c main.c
main.c: In function `find_binding':
main.c:220: warning: implicit declaration of function `inet_aton'
gcc  -DSOLARIS2_6 -DSOLARIS2 -I.. -I../include -O2 -Wall -c timers.c
gcc  -DSOLARIS2_6 -DSOLARIS2 -I.. -I../include -O2 -Wall -c sets.c
gcc  -DSOLARIS2_6 -DSOLARIS2 -I.. -I../include -O2 -Wall -c pool.c
gcc  -DSOLARIS2_6 -DSOLARIS2 -I.. -I../include -O2 -Wall -c regexp.c
gcc  -DSOLARIS2_6 -DSOLARIS2 -I.. -I../include -O2 -Wall -c dirtree.c
dirtree.c: In function `get_config_line':
dirtree.c:316: warning: subscript has type `char'
dirtree.c: In function `match_ip':
dirtree.c:1051: warning: implicit declaration of function `inet_aton'
gcc  -DSOLARIS2_6 -DSOLARIS2 -I.. -I../include -O2 -Wall -c support.c
gcc  -DSOLARIS2_6 -DSOLARIS2 -I.. -I../include -O2 -Wall -c inet.c
inet.c: In function `inet_validate':
inet.c:131: warning: subscript has type `char'
inet.c: In function `inet_getaddr':
inet.c:185: warning: implicit declaration of function `inet_aton'
inet.c: In function `inet_initialize_connection':
inet.c:405: warning: `hold_errno' might be used uninitialized in this function
gcc  -DSOLARIS2_6 -DSOLARIS2 -I.. -I../include -O2 -Wall -c log.c
log.c: In function `log_xfer':
log.c:124: warning: subscript has type `char'
log.c:124: warning: subscript has type `char'
log.c: In function `log_wtmp':
log.c:602: warning: unused variable `ut'
log.c:604: warning: unused variable `fd'
gcc  -DSOLARIS2_6 -DSOLARIS2 -I.. -I../include -O2 -Wall -c io.c
/usr/ccs/bin/as: "/var/tmp/ccNIu3SR.s", line 1069: error: unknown opcode ".subsection"
/usr/ccs/bin/as: "/var/tmp/ccNIu3SR.s", line 1069: error: statement syntax
/usr/ccs/bin/as: "/var/tmp/ccNIu3SR.s", line 1077: error: unknown opcode ".previous"
/usr/ccs/bin/as: "/var/tmp/ccNIu3SR.s", line 1077: error: statement syntax
*** Error code 1
make: Fatal error: Command failed for target `io.o'
Current working directory /export/hcm/proftpd-1.2.6/src
*** Error code 1
make: Fatal error: Command failed for target `src'


这个错误难道是要我改源文件吗?

论坛徽章:
0
4 [报告]
发表于 2003-06-25 14:45 |只看该作者

proftpd1.2.6 编译错误

wind DD快来呀,做不下去了     

论坛徽章:
1
荣誉版主
日期:2011-11-23 16:44:17
5 [报告]
发表于 2003-06-25 16:23 |只看该作者

proftpd1.2.6 编译错误

来了,不好意思,有点晚了
你在什么系统下呀!下载的感觉有点不对

论坛徽章:
0
6 [报告]
发表于 2003-06-25 16:33 |只看该作者

proftpd1.2.6 编译错误

solaris2.6 for sparc



5555555~~,好象犯错误了,可能是版本太高了:(

论坛徽章:
0
7 [报告]
发表于 2003-07-03 17:16 |只看该作者

proftpd1.2.6 编译错误

solaris对C/C++语法比linux严谨得很多,再linux成功安装在solaris不一定会安装成功,改源码是常有的事情....
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP