1

我正在尝试从端口分支构建 boost 1.53,但出现以下错误

error: Duplicate name of actual target: <pstage/lib>libboost_system.a
error: previous virtual target { common%common.copy-libboost_system.a.STATIC_LIB { gcc%gcc.archive-libboost_system.a.STATIC_LIB { gcc%gcc.compile.c++-error_code.o.OBJ { error_code.cpp.CPP } } } }
error: created from ./stage-proper
error: another virtual target { common%common.copy-libboost_system.a.STATIC_LIB { gcc%gcc.archive-libboost_system.a.STATIC_LIB { gcc%gcc.compile.c++-error_code.o.OBJ { error_code.cpp.CPP } } } }
error: created from ./stage-proper
error: added properties: <threading>multi
error: removed properties: <threading>single
/usr/ports/pobj/boost-1.53.0/boost_1_53_0/tools/build/v2/build/virtual-target.jam:490: in actualize-no-scanner from module object(file-target)@4337
/usr/ports/pobj/boost-1.53.0/boost_1_53_0/tools/build/v2/build/virtual-target.jam:135: in object(file-target)@4337.actualize from module object(file-target)@4337
/usr/ports/pobj/boost-1.53.0/boost_1_53_0/tools/build/v2/build-system.jam:749: in load from module build-system
/usr/ports/pobj/boost-1.53.0/boost_1_53_0/tools/build/v2/kernel/modules.jam:283: in import from module modules
/usr/ports/pobj/boost-1.53.0/boost_1_53_0/tools/build/v2/kernel/bootstrap.jam:142: in boost-build from module
/usr/ports/pobj/boost-1.53.0/boost_1_53_0/boost-build.jam:17: in module scope from module

*** Error 1 in . (Makefile:91 'do-build': @cd /usr/ports/pobj/boost-1.53.0/boost_1_53_0 &&  ./bjam -sNO_BZIP2=1  -d+2 -q  -j 1  cflags='-O2 ...)
*** Error 1 in . (/usr/ports/infrastructure/mk/bsd.port.mk:2619 '/usr/ports/pobj/boost-1.53.0/.build_done')
*** Error 1 in /usr/ports/devel/boost (/usr/ports/infrastructure/mk/bsd.port.mk:2342 'all')

有任何想法吗 ?

4

1 回答 1

1

这个链接为我提供了一些我必须做的事情。我也经常有#include<stdint.h>并添加defined(__OpenBSD__)一些地方

svn 票票 #8352:

于 2013-05-23T12:51:09.847 回答