Cannot build libboost_filesystem.a for boost_1.68.0 with qnx7.0based qcc
Used the following options
./bootstrap.sh--with-toolset=qcc
b2 toolset=qcc target-os=qnxnto threadapi=pthread link=static -l240 --layout=system --without-python cxxflags="-Vgcc_ntoarmv7le -Y_gpp -Wc,-std=gnu++0x -D_LITTLE_ENDIAN" linkflags="-Vgcc_ntoarmv7le -Y_gpp -lang-c++" -j7
seeing the following error
qcc.compile.c++ bin.v2libsfilesystembuildqccreleaselink-staticoperations.o libsfilesystemsrcoperations.cpp: In function 'void boost::filesystem::detail::permissions(const boost::filesystem::path&, boost::filesystem::perms, boost::system::error_code*)': libsfilesystemsrcoperations.cpp:1486:11: error: '::fchmodat' has not been declared
if (::fchmodat(AT_FDCWD, p.c_str(), mode_cast(prms),
^ cc: C:/Users/bilahari.akkiraju/qnx700/host/win64/x86_64/usr/lib/gcc/arm-unknown-nto-qnx7.0.0eabi/5.4.0/cc1plus caught signal 1
"QCC" -Wc,-ftemplate-depth-128 -Vgcc_ntoarmv7le -Y_gpp -Wc,-std=gnu++0x -D_LITTLE_ENDIAN -O3 -Wc,-finline-functions -Wc,-Wno-inline -DBOOST_ALL_NO_LIB=1 -DBOOST_FILESYSTEM_STATIC_LINK=1 -DBOOST_SYSTEM_STATIC_LINK=1 -DNDEBUG -I"." -c -o "bin.v2libsfilesystembuildqccreleaselink-staticoperations.o" "libsfilesystemsrcoperations.cpp"
...failed qcc.compile.c++ bin.v2libsfilesystembuildqccreleaselink-staticoperations.o... ...skipped <pbin.v2libsfilesystembuildqccreleaselink-static>libboost_filesystem.a for lack of <pbin.v2libsfilesystembuildqccreleaselink-static>operations.o... ...skipped <pstagelib>libboost_filesystem.a for lack of <pbin.v2libsfilesystembuildqccreleaselink-static>libboost_filesystem.a ...failed updating 1 target ...skipped 2 targets...
Building on my windows 10 machine , any idea on what can be done to fix the issue ?
boost qcc
add a comment |
Used the following options
./bootstrap.sh--with-toolset=qcc
b2 toolset=qcc target-os=qnxnto threadapi=pthread link=static -l240 --layout=system --without-python cxxflags="-Vgcc_ntoarmv7le -Y_gpp -Wc,-std=gnu++0x -D_LITTLE_ENDIAN" linkflags="-Vgcc_ntoarmv7le -Y_gpp -lang-c++" -j7
seeing the following error
qcc.compile.c++ bin.v2libsfilesystembuildqccreleaselink-staticoperations.o libsfilesystemsrcoperations.cpp: In function 'void boost::filesystem::detail::permissions(const boost::filesystem::path&, boost::filesystem::perms, boost::system::error_code*)': libsfilesystemsrcoperations.cpp:1486:11: error: '::fchmodat' has not been declared
if (::fchmodat(AT_FDCWD, p.c_str(), mode_cast(prms),
^ cc: C:/Users/bilahari.akkiraju/qnx700/host/win64/x86_64/usr/lib/gcc/arm-unknown-nto-qnx7.0.0eabi/5.4.0/cc1plus caught signal 1
"QCC" -Wc,-ftemplate-depth-128 -Vgcc_ntoarmv7le -Y_gpp -Wc,-std=gnu++0x -D_LITTLE_ENDIAN -O3 -Wc,-finline-functions -Wc,-Wno-inline -DBOOST_ALL_NO_LIB=1 -DBOOST_FILESYSTEM_STATIC_LINK=1 -DBOOST_SYSTEM_STATIC_LINK=1 -DNDEBUG -I"." -c -o "bin.v2libsfilesystembuildqccreleaselink-staticoperations.o" "libsfilesystemsrcoperations.cpp"
...failed qcc.compile.c++ bin.v2libsfilesystembuildqccreleaselink-staticoperations.o... ...skipped <pbin.v2libsfilesystembuildqccreleaselink-static>libboost_filesystem.a for lack of <pbin.v2libsfilesystembuildqccreleaselink-static>operations.o... ...skipped <pstagelib>libboost_filesystem.a for lack of <pbin.v2libsfilesystembuildqccreleaselink-static>libboost_filesystem.a ...failed updating 1 target ...skipped 2 targets...
Building on my windows 10 machine , any idea on what can be done to fix the issue ?
boost qcc
add a comment |
Used the following options
./bootstrap.sh--with-toolset=qcc
b2 toolset=qcc target-os=qnxnto threadapi=pthread link=static -l240 --layout=system --without-python cxxflags="-Vgcc_ntoarmv7le -Y_gpp -Wc,-std=gnu++0x -D_LITTLE_ENDIAN" linkflags="-Vgcc_ntoarmv7le -Y_gpp -lang-c++" -j7
seeing the following error
qcc.compile.c++ bin.v2libsfilesystembuildqccreleaselink-staticoperations.o libsfilesystemsrcoperations.cpp: In function 'void boost::filesystem::detail::permissions(const boost::filesystem::path&, boost::filesystem::perms, boost::system::error_code*)': libsfilesystemsrcoperations.cpp:1486:11: error: '::fchmodat' has not been declared
if (::fchmodat(AT_FDCWD, p.c_str(), mode_cast(prms),
^ cc: C:/Users/bilahari.akkiraju/qnx700/host/win64/x86_64/usr/lib/gcc/arm-unknown-nto-qnx7.0.0eabi/5.4.0/cc1plus caught signal 1
"QCC" -Wc,-ftemplate-depth-128 -Vgcc_ntoarmv7le -Y_gpp -Wc,-std=gnu++0x -D_LITTLE_ENDIAN -O3 -Wc,-finline-functions -Wc,-Wno-inline -DBOOST_ALL_NO_LIB=1 -DBOOST_FILESYSTEM_STATIC_LINK=1 -DBOOST_SYSTEM_STATIC_LINK=1 -DNDEBUG -I"." -c -o "bin.v2libsfilesystembuildqccreleaselink-staticoperations.o" "libsfilesystemsrcoperations.cpp"
...failed qcc.compile.c++ bin.v2libsfilesystembuildqccreleaselink-staticoperations.o... ...skipped <pbin.v2libsfilesystembuildqccreleaselink-static>libboost_filesystem.a for lack of <pbin.v2libsfilesystembuildqccreleaselink-static>operations.o... ...skipped <pstagelib>libboost_filesystem.a for lack of <pbin.v2libsfilesystembuildqccreleaselink-static>libboost_filesystem.a ...failed updating 1 target ...skipped 2 targets...
Building on my windows 10 machine , any idea on what can be done to fix the issue ?
boost qcc
Used the following options
./bootstrap.sh--with-toolset=qcc
b2 toolset=qcc target-os=qnxnto threadapi=pthread link=static -l240 --layout=system --without-python cxxflags="-Vgcc_ntoarmv7le -Y_gpp -Wc,-std=gnu++0x -D_LITTLE_ENDIAN" linkflags="-Vgcc_ntoarmv7le -Y_gpp -lang-c++" -j7
seeing the following error
qcc.compile.c++ bin.v2libsfilesystembuildqccreleaselink-staticoperations.o libsfilesystemsrcoperations.cpp: In function 'void boost::filesystem::detail::permissions(const boost::filesystem::path&, boost::filesystem::perms, boost::system::error_code*)': libsfilesystemsrcoperations.cpp:1486:11: error: '::fchmodat' has not been declared
if (::fchmodat(AT_FDCWD, p.c_str(), mode_cast(prms),
^ cc: C:/Users/bilahari.akkiraju/qnx700/host/win64/x86_64/usr/lib/gcc/arm-unknown-nto-qnx7.0.0eabi/5.4.0/cc1plus caught signal 1
"QCC" -Wc,-ftemplate-depth-128 -Vgcc_ntoarmv7le -Y_gpp -Wc,-std=gnu++0x -D_LITTLE_ENDIAN -O3 -Wc,-finline-functions -Wc,-Wno-inline -DBOOST_ALL_NO_LIB=1 -DBOOST_FILESYSTEM_STATIC_LINK=1 -DBOOST_SYSTEM_STATIC_LINK=1 -DNDEBUG -I"." -c -o "bin.v2libsfilesystembuildqccreleaselink-staticoperations.o" "libsfilesystemsrcoperations.cpp"
...failed qcc.compile.c++ bin.v2libsfilesystembuildqccreleaselink-staticoperations.o... ...skipped <pbin.v2libsfilesystembuildqccreleaselink-static>libboost_filesystem.a for lack of <pbin.v2libsfilesystembuildqccreleaselink-static>operations.o... ...skipped <pstagelib>libboost_filesystem.a for lack of <pbin.v2libsfilesystembuildqccreleaselink-static>libboost_filesystem.a ...failed updating 1 target ...skipped 2 targets...
Building on my windows 10 machine , any idea on what can be done to fix the issue ?
boost qcc
boost qcc
edited Sep 11 at 21:54
asked Sep 11 at 21:27
a k
121110
121110
add a comment |
add a comment |
1 Answer
1
active
oldest
votes
I have the same problem. This is caused by boost calling a function that does not exist in QNX 7 or older.
There is a bug entry for this issue with a possible solution:
https://github.com/boostorg/filesystem/issues/89
In short: add the following line to the function "permissions" in "filesystem/src/operations.cpp" for Boost 1.68.0 at line 1482:
&& !(defined(__QNX__) && (_NTO_VERSION <= 700))
Be aware that there is a version check for QNX 7 or older (_NTO_VERSION). Modify for future versions (see _NTO_VERSION description).
Best regards
add a comment |
Your Answer
StackExchange.ifUsing("editor", function ()
StackExchange.using("externalEditor", function ()
StackExchange.using("snippets", function ()
StackExchange.snippets.init();
);
);
, "code-snippets");
StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "1"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);
else
createEditor();
);
function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);
);
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f52284446%2fcannot-build-libboost-filesystem-a-for-boost-1-68-0-with-qnx7-0based-qcc%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
I have the same problem. This is caused by boost calling a function that does not exist in QNX 7 or older.
There is a bug entry for this issue with a possible solution:
https://github.com/boostorg/filesystem/issues/89
In short: add the following line to the function "permissions" in "filesystem/src/operations.cpp" for Boost 1.68.0 at line 1482:
&& !(defined(__QNX__) && (_NTO_VERSION <= 700))
Be aware that there is a version check for QNX 7 or older (_NTO_VERSION). Modify for future versions (see _NTO_VERSION description).
Best regards
add a comment |
I have the same problem. This is caused by boost calling a function that does not exist in QNX 7 or older.
There is a bug entry for this issue with a possible solution:
https://github.com/boostorg/filesystem/issues/89
In short: add the following line to the function "permissions" in "filesystem/src/operations.cpp" for Boost 1.68.0 at line 1482:
&& !(defined(__QNX__) && (_NTO_VERSION <= 700))
Be aware that there is a version check for QNX 7 or older (_NTO_VERSION). Modify for future versions (see _NTO_VERSION description).
Best regards
add a comment |
I have the same problem. This is caused by boost calling a function that does not exist in QNX 7 or older.
There is a bug entry for this issue with a possible solution:
https://github.com/boostorg/filesystem/issues/89
In short: add the following line to the function "permissions" in "filesystem/src/operations.cpp" for Boost 1.68.0 at line 1482:
&& !(defined(__QNX__) && (_NTO_VERSION <= 700))
Be aware that there is a version check for QNX 7 or older (_NTO_VERSION). Modify for future versions (see _NTO_VERSION description).
Best regards
I have the same problem. This is caused by boost calling a function that does not exist in QNX 7 or older.
There is a bug entry for this issue with a possible solution:
https://github.com/boostorg/filesystem/issues/89
In short: add the following line to the function "permissions" in "filesystem/src/operations.cpp" for Boost 1.68.0 at line 1482:
&& !(defined(__QNX__) && (_NTO_VERSION <= 700))
Be aware that there is a version check for QNX 7 or older (_NTO_VERSION). Modify for future versions (see _NTO_VERSION description).
Best regards
answered Nov 12 at 14:09
Johnny_xy
11
11
add a comment |
add a comment |
Thanks for contributing an answer to Stack Overflow!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Some of your past answers have not been well-received, and you're in danger of being blocked from answering.
Please pay close attention to the following guidance:
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f52284446%2fcannot-build-libboost-filesystem-a-for-boost-1-68-0-with-qnx7-0based-qcc%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown