[system] boost compilation

Hello, I contact you because an error occurs when compiling the "system" library with the following command prompt : bjam --with-system --toolset=intel --debug-configuration stage The intel compiler seems to be invoked correctly (see mail below). The message error is : error_code.cpp libs\system\src\error_code.cpp(90): error: namespace "std" has no member "strerror" const char * c_str = std::strerror( ev ); ^ compilation aborted for libs\system\src\error_code.cpp (code 2) My OS version is Windows XP. My boost version is 1.35.0 My boost-jam version is 3.1.16-1 (ntx86) My intel compiler version is 10.1.021 Thank you for your answer to fix this error. Regards.
Message du 29/06/08 à 16h30 De : "Vladimir Prus" <ghost@cs.msu.su> A : simonvifr@voila.fr Copie à : boost-build@lists.boost.org Objet : Re: [Boost-build] boost compilation
On Sunday 29 June 2008 18:14:43 simonvifr@voila.fr wrote:
Hello,
It is now ok for running the icl.exe in the same command prompt. However the following command prompt generate errors : bjam --with-system --toolset=intel stage I have then added "--debug-configuration" but I have still errors when executing the command prompt : bjam --with-system --toolset=intel --debug-configuration stage
The error messages are :
error_code.cpp libs\system\src\error_code.cpp(90): error: namespace "std" has no member "strerror" const char * c_str = std::strerror( ev ); ^ compilation aborted for libs\system\src\error_code.cpp (code 2)
Okay, so it appears that the intel compiler is invoked correctly, and then reports an error of the source code itself. At this point, I don't think it's Boost.Build issue, but either issue with the Boost.System library, or the Intel compiler -- I suggest you ask at boost@lists.boost.org, making sure "[system]" is in email subject.
An other error message is :
notice: [cmdline-cfg] Detected command-line request for intel: toolset= intel version= notice: [cmdline-cfg] toolset intel not previously configured; attempting to auto-configure now
What makes you think this is an error message -- it is not.
- Volodya
____________________________________________________ Sur le mail Voila, vous pouvez personnaliser l’anti-spam ! http://mail.voila.fr

simonvifr@voila.fr wrote:
I contact you because an error occurs when compiling the "system" library with the following command prompt : bjam --with-system --toolset=intel --debug-configuration stage
The intel compiler seems to be invoked correctly (see mail below).
The message error is :
error_code.cpp libs\system\src\error_code.cpp(90): error: namespace "std" has no member "strerror" const char * c_str = std::strerror( ev ); ^ compilation aborted for libs\system\src\error_code.cpp (code 2)
My OS version is Windows XP. My boost version is 1.35.0 My boost-jam version is 3.1.16-1 (ntx86) My intel compiler version is 10.1.021
Each of those is exactly identical to the setup on my main development machine. The Intel compiler is one of the ones I test with regularly. Yet the command line you specify about works fine for me. One possibility, and it is only a guess, is that your configuration is finding the wrong set of C++ standard library include files.
Thank you for your answer to fix this error.
HTH, --Beman
participants (2)
-
Beman Dawes
-
simonvifr@voila.fr