OpenBSD提升编译器错误

时间:2013-05-23 09:02:57

标签: boost boost-bjam

我正在尝试从ports分支构建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')

有什么想法吗?

1 个答案:

答案 0 :(得分:1)

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

svn ticket Ticket #8352: