- 论坛徽章:
- 0
|
软件配置:solaris10
mysql-5.0.45
httpd-2.2.4.tar
gcc-3.4.6-sol10-sparc-local
gcc-3.3.2-sol10-sparc-local
我本来安装的是gcc-3.4.6
编译httpd时,./configure --enable-so
通过
make时报错,错误信息 Command failed for target `all-recursive'
后来我把gcc-3.4.6干掉了
装上gcc-3.32
apache make通过安装完成
但是安装mysql时configure通过,但是make 时又出错了
错误信息如下
我上网查了好久也没具体的解决办法,请各位老大帮我看看,到底是什么原因,谢谢
ld: fatal: relocations remain against allocatable but non-writable sections
collect2: ld returned 1 exit status
*** Error code 1
make: Fatal error: Command failed for target `libmysqlclient.la'
Current working directory /soft/mysql-5.0.45/libmysql
*** Error code 1
The following command caused the error:
failcom='exit 1'; \
for f in x $MAKEFLAGS; do \
case $f in \
*=* | --[!k]*);; \
*k*) failcom='fail=yes';; \
esac; \
done; \
dot_seen=no; \
target=`echo all-recursive | sed s/-recursive//`; \
list='. include Docs cmd-line-utils sql-common scripts pstack strings mysys dbug extra regex innobase myisam myisammrg heap vio sql libmysql client man tests netware sql-bench mysql-test support-files server-tools'; for subdir in $list; do \
echo "Making $target in $subdir"; \
if test "$subdir" = "."; then \
dot_seen=yes; \
local_target="$target-am"; \
else \
local_target="$target"; \
fi; \
(cd $subdir && make $local_target) \
|| eval $failcom; \
done; \
if test "$dot_seen" = "no"; then \
make "$target-am" || exit 1; \
fi; test -z "$fail"
make: Fatal error: Command failed for target `all-recursive'
Current working directory /soft/mysql-5.0.45
*** Error code 1
make: Fatal error: Command failed for target `all' |
|