Boost failed updating 1 target

Looking at the jamfile it seems like the previously used create-library rule had all the handling for that while the new ac.check-library probably isn't even aware of these parameters.Reverting the changes to the Jam files allows using the custom zlib version again. I downloaded the latest version and I did the following: I am using windows7 64 bit and GCC 5.1. I opened command line, went to C:\boost\tools\build and ran the command: bootstrap gcc The output is: Bootstrapping the build engine execcmd.c: In function 'onintr': execcmd.c:120:5: warning: implicit declaration of function 'out_printf' [-Wimpli cit-function-declaration] out_printf( "...interrupted\n" ); ^ execnt.c: In function 'maxline': execnt.c:5: warning: type defaults to 'int' in declaration of 'result' [-Wi mplicit-int] static result; ^ make.c: In function 'make': make.c:1: warning: implicit declaration of function 'out_printf' [-Wimplici t-function-declaration] out_printf( "...found %d target%s...\n", counts-targets, ^ make.c: In function 'make0': make.c:7: warning: implicit declaration of function 'out_flush' [-Wimplicit -function-declaration] out_flush(); ^ modules/path.c: In function 'path_exists': modules/path.c:: warning: implicit declaration of function 'file_query' [-W implicit-function-declaration] return file_query( list_front( lol_get( frame-args, 0 ) ) ) ? To build, run: .\b2 --prefix=DIR install Then I ran: b2 --prefix=DIR toolset=gcc install According to the long output 322 targets have been updated. gcc.compile.c C:\boost-filesystem\boost\architecture\gcc-mingw-5.1.0\debug\arm .o libs\config\checks\architecture\arm.cpp:13:2: error: #error "Not ARM" #error "Not ARM" ^ "g " -ftemplate-depth-128 -O0 -fno-inline -Wall -g -c -o "C:\boost-fil esystem\boost\architecture\gcc-mingw-5.1.0\debug\arm.o" "libs\config\checks\arch itecture\arm.cpp" ...failed gcc.compile.c C:\boost-filesystem\boost\architecture\gcc-mingw-5.1.0 \debug\arm.o... In file included from ../boost/filesystem/path_traits.hpp:23:0, from ../boost/filesystem/path.hpp:25, from ../boost/filesystem/operations.hpp:25, from regression/src/compiler_status.cpp:29: ../boost/system/error_code.hpp: At global scope: ../boost/system/error_code.hpp:2: warning: ‘boost::system::posix_category’ defined but not used [-Wunused-variable] static const error_category & posix_category = generic_category(); ^ ../boost/system/error_code.hpp:2: warning: ‘boost::system::errno_ecat’ defined but not used [-Wunused-variable] static const error_category & errno_ecat = generic_category(); ^ ../boost/system/error_code.hpp:2: warning: ‘boost::system::native_ecat’ defined but not used [-Wunused-variable] static const error_category & native_ecat = system_category(); ^ ...skipped compiler_status.o...gcc.archive ../bin.v2/libs/program_options/build/gcc-4.8/release/link-static/pch-off/threading-multi/libboost_program_options.a "/usr/x86_64-pc-linux-gnu/bin/ar" rc "../bin.v2/libs/program_options/build/gcc-4.8/release/link-static/pch-off/threading-multi/libboost_program_options.a" "../bin.v2/libs/program_options/build/gcc-4.8/release/link-static/pch-off/threading-multi/cmdline.o" "../bin.v2/libs/program_options/build/gcc-4.8/release/link-static/pch-off/threading-multi/config_file.o" "../bin.v2/libs/program_options/build/gcc-4.8/release/link-static/pch-off/threading-multi/options_description.o" "../bin.v2/libs/program_options/build/gcc-4.8/release/link-static/pch-off/threading-multi/parsers.o" "../bin.v2/libs/program_options/build/gcc-4.8/release/link-static/pch-off/threading-multi/variables_map.o" "../bin.v2/libs/program_options/build/gcc-4.8/release/link-static/pch-off/threading-multi/value_semantic.o" "../bin.v2/libs/program_options/build/gcc-4.8/release/link-static/pch-off/threading-multi/positional_options.o" "../bin.v2/libs/program_options/build/gcc-4.8/release/link-static/pch-off/threading-multi/utf8_codecvt_facet.o" "../bin.v2/libs/program_options/build/gcc-4.8/release/link-static/pch-off/threading-multi/convert.o" "../bin.v2/libs/program_options/build/gcc-4.8/release/link-static/pch-off/threading-multi/winmain.o" "../bin.v2/libs/program_options/build/gcc-4.8/release/link-static/pch-off/threading-multi/split.o" "/usr/x86_64-pc-linux-gnu/bin/ranlib" "../bin.v2/libs/program_options/build/gcc-4.8/release/link-static/pch-off/threading-multi/libboost_program_options.a" ...failed updating 1 target...

- ../config//has_gcc_visibility builds : yes ...found 46 targets... darwin.compile.c bin.v2/libs/math/config/darwin-4.2.1/debug/address-model-32_64/architecture-x86/has_long_double_support.o ...updated 1 target... - ../config//has_long_double_support builds : yes snip ..... This will prompt the boost build to quit immediately upon the error so you can see what is actually failing. This will prompt the boost build to quit immediately upon the error so you can see what is actually failing.

Also this external zlib has a non-standard name (libzlib.a under linux instead of libz.a).

In any case the documentation doesn't seem to properly reflect the current library behavior.

o libs\config\checks\architecture.cpp:: error: size of array 'test' is negative int test[sizeof(void*) == 4? Performing configuration checks - 32-bit : no ...found 2 targets... gcc.compile.c C:\boost-filesystem\boost\architecture\gcc-mingw-5.1.0\debug.

1 : -1]; ^ "g " -ftemplate-depth-128 -O0 -fno-inline -Wall -g -c -o "C:\boost-fil esystem\boost\architecture\gcc-mingw-5.1.0\debug.o" "libs\config\checks\archi tecture.cpp" ...failed gcc.compile.c C:\boost-filesystem\boost\architecture\gcc-mingw-5.1.0 \debug.o...

Leave a Reply