- 招聘 : Java研发
- 论坛徽章:
- 0
|
我在solaris 7(Sparc)下编译Apache 2.0.50
gcc版本是3.0.3,以root执行以下命令(configure的输出略,没有警告也没有错误):
- #./configure --prefix=/usr/local/apache-2 --enable-so --with-mpm=worke
- ......
- # make
- Making all in srclib
- Making all in apr
- Making all in strings
- /bin/ksh /root/httpd-2.0.50/srclib/apr/libtool --silent --mode=compile gcc -g -O2 -pthreads -DHAVE_CONFIG_H -DSOLARIS2=7 -D_POSIX_PTHREAD_SEMANTICS -D_REENTRANT -I../include -I../include/arch/unix -c apr_snprintf.c && touch apr_snprintf.lo
- /usr/ccs/bin/as: "/var/tmp/ccHXF4Y6.s", line 4517: error: unknown opcode ".subsection"
- /usr/ccs/bin/as: "/var/tmp/ccHXF4Y6.s", line 4517: error: statement syntax
- /usr/ccs/bin/as: "/var/tmp/ccHXF4Y6.s", line 4641: error: unknown opcode ".previous"
- /usr/ccs/bin/as: "/var/tmp/ccHXF4Y6.s", line 4641: error: statement syntax
- *** Error code 1
- make: Fatal error: Command failed for target `apr_snprintf.lo'
- Current working directory /root/httpd-2.0.50/srclib/apr/strings
- *** Error code 1
- make: Fatal error: Command failed for target `all-recursive'
- Current working directory /root/httpd-2.0.50/srclib/apr/strings
- *** Error code 1
- make: Fatal error: Command failed for target `all-recursive'
- Current working directory /root/httpd-2.0.50/srclib/apr
- *** Error code 1
- make: Fatal error: Command failed for target `all-recursive'
- Current working directory /root/httpd-2.0.50/srclib
- *** Error code 1
- make: Fatal error: Command failed for target `all-recursive'
复制代码
以为需要apr包,尝试编译apr-1.0.0,出现类似的错误,不知何故,请教与各位。
非常感谢! |
|