Cannot build C++ Real-Time SDK 2.0.0.L1 for Linux
After decompressing the file RTSDK-2.0.0.L1.linux.rrg.tar.gz, I followed the documentation to first run LinuxSoLink, then use cmake to build it. The command I used is:
cmake -H. -Bcmake_gcc831
The process didn't show any error in the middle, but in the end it showed:
[100%] Built target cjson
Install the project...
-- Install configuration: "Release"
-- Installing: /home/wdeng/RTSDK-2.0.0.L1.linux.rrg/cmake_gcc831/install/include/cjson/cJSON.h
-- Installing: /home/wdeng/RTSDK-2.0.0.L1.linux.rrg/cmake_gcc831/install/lib64/pkgconfig/libcjson.pc
-- Installing: /home/wdeng/RTSDK-2.0.0.L1.linux.rrg/cmake_gcc831/install/lib64/libcjson.a
-- Installing: /home/wdeng/RTSDK-2.0.0.L1.linux.rrg/cmake_gcc831/install/lib64/cmake/cJSON/cjson.cmake
-- Installing: /home/wdeng/RTSDK-2.0.0.L1.linux.rrg/cmake_gcc831/install/lib64/cmake/cJSON/cjson-release.cmake
-- Installing: /home/wdeng/RTSDK-2.0.0.L1.linux.rrg/cmake_gcc831/install/lib64/cmake/cJSON/cJSONConfig.cmake
-- Installing: /home/wdeng/RTSDK-2.0.0.L1.linux.rrg/cmake_gcc831/install/lib64/cmake/cJSON/cJSONConfigVersion.cmake
[100%] Completed 'cjson'
[100%] Built target cjson
-- Skipping Eta Doxygen Build: BUILD_ETA_DOXYGEN:OFF
-- Skipping Ema Doxygen Build: BUILD_EMA_DOXYGEN:OFF
-- Configuring incomplete, errors occurred!
See also "/home/wdeng/RTSDK-2.0.0.L1.linux.rrg/cmake_gcc831/CMakeFiles/CMakeOutput.log".
In the CMakeOutput.log file, I don't see any errors. The tail of the file is:
Determining if the pthread_create exist passed with the following output:
Change Dir: /home/wdeng/RTSDK-2.0.0.L1.linux.rrg/cmake_gcc831/CMakeFiles/CMakeTmp
Run Build Command:"/usr/bin/gmake" "cmTC_17bc5/fast"
/usr/bin/gmake -f CMakeFiles/cmTC_17bc5.dir/build.make CMakeFiles/cmTC_17bc5.dir/build
gmake[1]: Entering directory '/mnt/jbod/home/wdeng/RTSDK-2.0.0.L1.linux.rrg/cmake_gcc831/CMakeFiles/CMakeTmp'
Building C object CMakeFiles/cmTC_17bc5.dir/CheckSymbolExists.c.o
/usr/bin/cc -m64 -DCOMPILE_64BITS -fPIC -D_DEFAULT_SOURCE=1 -DLinux -DLINUX -Dx86_Linux_4X -Dx86_Linux_5X -Dx86_Linux_6X -DLinuxVersion=4 -pthread -D_iso_stdcpp_ -D_POSIX_SOURCE=1 -D_POSIX_C_SOURCE=199506L -D_XOPEN_SOURCE=500 -D_GNU_SOURCE -DNDEBUG -O3 -fbuiltin -o CMakeFiles/cmTC_17bc5.dir/CheckSymbolExists.c.o -c /home/wdeng/RTSDK-2.0.0.L1.linux.rrg/cmake_gcc831/CMakeFiles/CMakeTmp/CheckSymbolExists.c
Linking C executable cmTC_17bc5
/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_17bc5.dir/link.txt --verbose=1
/usr/bin/cc -m64 -DCOMPILE_64BITS -fPIC -D_DEFAULT_SOURCE=1 -DLinux -DLINUX -Dx86_Linux_4X -Dx86_Linux_5X -Dx86_Linux_6X -DLinuxVersion=4 -pthread -D_iso_stdcpp_ -D_POSIX_SOURCE=1 -D_POSIX_C_SOURCE=199506L -D_XOPEN_SOURCE=500 -D_GNU_SOURCE -DNDEBUG -O3 -fbuiltin CMakeFiles/cmTC_17bc5.dir/CheckSymbolExists.c.o -o cmTC_17bc5
gmake[1]: Leaving directory '/mnt/jbod/home/wdeng/RTSDK-2.0.0.L1.linux.rrg/cmake_gcc831/CMakeFiles/CMakeTmp'
File /home/wdeng/RTSDK-2.0.0.L1.linux.rrg/cmake_gcc831/CMakeFiles/CMakeTmp/CheckSymbolExists.c:
/* */
#include <pthread.h>
int main(int argc, char** argv)
{
(void)argv;
#ifndef pthread_create
return ((int*)(&pthread_create))[argc];
#else
(void)argc;
return 0;
#endif
}
I'd like to upload the full log file here but when I tried it I got a permission denied error.
My system is CentOS 8 with cmake 3.11.4 and gcc 8.3.1.
Your help is greatly appreciated. Thank you!
Tagged:
0
Best Answer
-
Not sure that do you have redhat-lsb installed before running CMake?
yum install redhat-lsb-core
or
yum install redhat-lsb
0
Categories
- All Categories
- 6 AHS
- 39 Alpha
- 161 App Studio
- 4 Block Chain
- 4 Bot Platform
- 16 Connected Risk APIs
- 47 Data Fusion
- 30 Data Model Discovery
- 608 Datastream
- 1.3K DSS
- 577 Eikon COM
- 4.9K Eikon Data APIs
- 7 Electronic Trading
- Generic FIX
- 7 Local Bank Node API
- Trading API
- 2.7K Elektron
- 1.3K EMA
- 236 ETA
- 519 WebSocket API
- 33 FX Venues
- 10 FX Market Data
- 1 FX Post Trade
- 1 FX Trading - Matching
- 12 FX Trading – RFQ Maker
- 5 Intelligent Tagging
- 2 Legal One
- 20 Messenger Bot
- 2 Messenger Side by Side
- 9 ONESOURCE
- 7 Indirect Tax
- 59 Open Calais
- 264 Open PermID
- 39 Entity Search
- 2 Org ID
- PAM
- PAM - Logging
- 8.4K Private Comments
- 6 Product Insight
- Project Tracking
- ProView
- ProView Internal
- 20 RDMS
- 1.4K Refinitiv Data Platform
- 367 Refinitiv Data Platform Libraries
- 3 Refinitiv Due Diligence
- LSEG Due Diligence Portal API
- 3 Refinitiv Due Dilligence Centre
- Rose's Space
- 1.1K Screening
- 18 Qual-ID API
- 13 Screening Deployed
- 23 Screening Online
- 10 World-Check Customer Risk Screener
- 990 World-Check One
- 44 World-Check One Zero Footprint
- 45 Side by Side Integration API
- Test Space
- 3 Thomson One Smart
- 1.2K TR Internal
- Global Hackathon 2015
- 2 Specialists Who Code
- 10 TR Knowledge Graph
- 150 Transactions
- 142 REDI API
- 1.7K TREP APIs
- 4 CAT
- 21 DACS Station
- 117 Open DACS
- 1.1K RFA
- 103 UPA
- 172 TREP Infrastructure
- 224 TRKD
- 886 TRTH
- 5 Velocity Analytics
- 5 Wealth Management Web Services
- 59 Workspace SDK
- 9 Element Framework
- 5 Grid
- 13 World-Check Data File
- Yield Book Analytics
- 46 中文论坛