问题陈述::Apache 2.4.35-make失败,并显示错误“失败,符号引用错误。未将输出写入.libs / httpd” :以下详细错误:
OPERATING SYSTEM: Oracle Solaris 10 9/10 s10s_u9wos_14a SPARC
Copyright (c) 2010, Oracle and/or its affiliates. All rights reserved.
Assembled 11 August 2010
--------------------------------------------------
/libapr-1.la -luuid -lsendfile -lrt -lsocket -lnsl -lpthread
Undefined first referenced
symbol in file
pcre_compile2 server/.libs/libmain.a(util_pcre.o)
pcre_free server/.libs/libmain.a(util_pcre.o)
pcre_exec server/.libs/libmain.a(util_pcre.o)
pcre_fullinfo server/.libs/libmain.a(util_pcre.o)
ld: fatal: Symbol referencing errors. No output written to .libs/httpd
*** Error code 1
make: Fatal error: Command failed for target `httpd'
Current working directory /opt/apache24_source/httpd-2.4.35
*** Error code 1
The following command caused the error:
otarget=`echo all-recursive|sed s/-recursive//`; \
list=' srclib os server modules support'; \
for i in $list; do \
if test -d "$i"; then \
target="$otarget"; \
echo "Making $target in $i"; \
if test "$i" = "."; then \
made_local=yes; \
target="local-$target"; \
fi; \
(cd $i && make $target) || exit 1; \
fi; \
done; \
if test "$otarget" = "all" && test -z 'httpd shared-build '; then \
made_local=yes; \
fi; \
if test "$made_local" != "yes"; then \
make "local-$otarget" || exit 1; \
fi
make: Fatal error: Command failed for target `all-recursive'
-----------------------------------------------------------------------