Chinaunix
标题:
请教一个Solaris 7下编译错误的问题
[打印本页]
作者:
frankiehuang
时间:
2004-09-13 13:01
标题:
请教一个Solaris 7下编译错误的问题
我在Solaris 7(Sparc)下编译apr-1.0.0,configure的时候是正常的,没有任何错误信息,但是make的时候就出现如下错误:
# make
/bin/ksh /root/apr-1.0.0/libtool --silent --mode=compile gcc -g -O2 -pthreads -DHAVE_CONFIG_H -DSOLARIS2=7 -D_POSIX_PTHREAD_SEMANTICS -D_REENTRANT -D_LARGEFILE64_SOURCE -I./include -I/root/apr-1.0.0/include/arch/unix -I./include/arch/unix -I/root/apr-1.0.0/include -o strings/apr_snprintf.lo -c strings/apr_snprintf.c && touch strings/apr_snprintf.lo
/usr/ccs/bin/as: "/var/tmp/cc0fiGN0.s", line 4523: error: unknown opcode ".subsection"
/usr/ccs/bin/as: "/var/tmp/cc0fiGN0.s", line 4523: error: statement syntax
/usr/ccs/bin/as: "/var/tmp/cc0fiGN0.s", line 4647: error: unknown opcode ".previous"
/usr/ccs/bin/as: "/var/tmp/cc0fiGN0.s", line 4647: error: statement syntax
*** Error code 1
make: Fatal error: Command failed for target `strings/apr_snprintf.lo'
Current working directory /root/apr-1.0.0
*** Error code 1
make: Fatal error: Command failed for target `all-recursive'
复制代码
我尝试编译其他的软件如Apache,也出现类似的错误,是否我的环境有问题?还是缺乏某些软件支持?
感谢指教!
欢迎光临 Chinaunix (http://bbs.chinaunix.net/)
Powered by Discuz! X3.2