免费注册 查看新帖 |

Chinaunix

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

solaris下编辑proftpd1.2.6错误,帮忙看看 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2003-06-25 09:29 |只看该作者 |倒序浏览
错误信息如下:
# 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 10:46 |只看该作者
提示: 作者被禁止或删除 内容自动屏蔽

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

solaris下编辑proftpd1.2.6错误,帮忙看看

哦~~谢谢楼上提醒!!

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

solaris下编辑proftpd1.2.6错误,帮忙看看

ar 一般在/usr/ccs/bin

在路径里加上就可以了.

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

solaris下编辑proftpd1.2.6错误,帮忙看看

ar问题解决了,但是下面这个错误呢?

# 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
6 [报告]
发表于 2003-06-25 16:09 |只看该作者

solaris下编辑proftpd1.2.6错误,帮忙看看

我可不可以up一下我的帖子啊?

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

solaris下编辑proftpd1.2.6错误,帮忙看看

汗~~搞错了,此贴子作废
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

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

清除 Cookies - ChinaUnix - Archiver - WAP - TOP