|
按照ACE的安装说明,下载ACE-5.5.5.tar 按照文档进行安装
执行make的时候出现下面的错误,
Making all in .
/bin/bash ../libtool --tag=CXX --mode=link g++ -W -Wall -Wpointer-arith -g -O2 -pipe -o Sendfile_Test Sendfile_Test-Main.o Sendfile_Test-Sendfile_Test.o libTest_Output.la ../ace/libACE.la -lrt -lgen -lnsl -lsocket
g++ -W -Wall -Wpointer-arith -g -O2 -pipe -o .libs/Sendfile_Test Sendfile_Test-Main.o Sendfile_Test-Sendfile_Test.o ./.libs/libTest_Output.a -L/usr/sfw/lib -lgcc_s -lm ../ace/.libs/libACE.so /usr/sfw/lib/libstdc++.so -lrt -lgen -lnsl -lsocket -Wl,-R -Wl,/usr/local/lib -Wl,-R -Wl,/usr/sfw/lib
ld: warning: file /usr/sfw/lib/libstdc++.so: attempted multiple inclusion of file
Undefined first referenced
symbol in file
sendfile Sendfile_Test-Sendfile_Test.o
ld: fatal: Symbol referencing errors. No output written to .libs/Sendfile_Test
collect2: ld returned 1 exit status
*** Error code 1
make: Fatal error: Command failed for target `Sendfile_Test'
Current working directory /bisgl11/bisgl/ACE/ACE_wrappers/build/tests
*** 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='. SSL'; 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 /bisgl11/bisgl/ACE/ACE_wrappers/build/tests
*** Error code 1
make: Fatal error: Command failed for target `all'
Current working directory /bisgl11/bisgl/ACE/ACE_wrappers/build/tests
*** 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='ace ACEXML ASNMP apps bin netsvcs examples performance-tests tests protocols websvcs Kokyu'; 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'
请教各位前辈如何解决这个问题呀。:'(
[ 本帖最后由 seesunny 于 2009-9-13 11:32 编辑 ] |
|