pastebin - collaborative debugging tool
rovema.kpaste.net RSS


fix: makePackControl old elbe build failure
Posted by Anonymous on Tue 31st Aug 2021 14:03
raw | new post
modification of post by Anonymous (view diff)

  1. /opt/develop/i686-elbe-linux-gnu/bin/i686-elbe-linux-gnu-c++  -I/opt/develop/i686-elbe-linux-gnu/i686-elbe-linux-gnu/sysroot/usr/include/i386-linux-gnu -I/home/test001/work/rds_testbuild2_olddevel/Rds_15_17_074/Base/../Base -I/home/test001/work/rds_testbuild2_olddevel/Rds_15_17_074/Base/../NumericalRecipes -I/home/test001/work/rds_testbuild2_olddevel/Rds_15_17_074/Base/../Math -I/home/test001/work/rds_testbuild2_olddevel/Rds_15_17_074/Base/../Math/Armadillo/include -I/home/test001/work/rds_testbuild2_olddevel/Rds_15_17_074/Base/../Rma -I/home/test001/work/rds_testbuild2_olddevel/Rds_15_17_074/Base/../Rma/FtpFile -I/home/test001/work/rds_testbuild2_olddevel/Rds_15_17_074/Base/../Rdc -I/home/test001/work/rds_testbuild2_olddevel/Rds_15_17_074/Base/../Rdc/Host1 -I/home/test001/work/rds_testbuild2_olddevel/Rds_15_17_074/Base/../Utilities -I/home/test001/work/rds_testbuild2_olddevel/Rds_15_17_074/Base/../Externals/jsoncons/include -I/home/test001/work/rds_testbuild2_olddevel/Rds_15_17_074/Base -g -DDEBUG -D_DEBUG -DPOSIX -DSVN_REV='"9264"'  -fPIC -std=gnu++11 -o CMakeFiles/base.dir/Error.cpp.o -c /home/test001/work/rds_testbuild2_olddevel/Rds_15_17_074/Base/Error.cpp
  2. /home/test001/work/rds_testbuild2_olddevel/Rds_15_17_074/Base/PosixSystem.cpp: In static member function 'static T_Bool C_PosixSystem::CloseThread(C_Thread&)':
  3. /home/test001/work/rds_testbuild2_olddevel/Rds_15_17_074/Base/PosixSystem.cpp:399:38: error: 'pthread_clockjoin_np' was not declared in this scope
  4.                              &waitTime);
  5.  
  6. fix:
  7. Index: CMakeBase/pack_control.cmake
  8. ===================================================================
  9. --- CMakeBase/pack_control.cmake        (revision 9264)
  10. +++ CMakeBase/pack_control.cmake        (working copy)
  11. @@ -17,12 +17,12 @@
  12.  # set the Compiler version for the Build
  13.  # oldversion = true ==> old crosscompiler for Bootimage 14 (or 13)
  14.  # oldversion = false ==> debian crosscompiler for Bootimage 15 (and newer)
  15. -set(OLD_ELBE_VERSION "FALSE" CACHE BOOL "" FORCE)
  16. -# set(OLD_ELBE_VERSION "TRUE" CACHE BOOL "" FORCE)
  17. +##set(OLD_ELBE_VERSION "FALSE" CACHE BOOL "" FORCE)
  18. +set(OLD_ELBE_VERSION "TRUE" CACHE BOOL "" FORCE)
  19.  
  20.  if(OLD_ELBE_VERSION)
  21.    # set complier flags
  22. -  set(BUILD_FLAGS "-DPOSIX -DSVN_REV='\"${Project_WC_REVISION}\"' ${PROJECT_BUILD_FLAGS}" CACHE STRING "" FORCE)
  23. +  set(BUILD_FLAGS "-DPOSIX -D_GNU_SOURCE=1 -DSVN_REV='\"${Project_WC_REVISION}\"' ${PROJECT_BUILD_FLAGS}" CACHE STRING "" FORCE)
  24.    # the compiler_prefix is the Path to the used complier and the architecture prefix of gnu-tools
  25.    set(ROV_COMPILER_PREFIX "/opt/develop/i686-elbe-linux-gnu/bin/i686-elbe-linux-gnu-")
  26.    include_directories(/opt/develop/i686-elbe-linux-gnu/i686-elbe-linux-gnu/sysroot/usr/include/i386-linux-gnu)

Submit a correction or amendment below (click here to make a fresh posting)
After submitting an amendment, you'll be able to view the differences between the old and new posts easily.

Syntax highlighting:

To highlight particular lines, prefix each line with {%HIGHLIGHT}




All content is user-submitted.
The administrators of this site (kpaste.net) are not responsible for their content.
Abuse reports should be emailed to us at