Discover Refinitiv
MyRefinitiv Refinitiv Perspectives Careers
Created with Sketch.
All APIs Questions & Answers  Register |  Login
Ask a question
  • Questions
  • Tags
  • Badges
  • Unanswered
Search:
  • Home /
  • Elektron /
  • EMA /
avatar image
Question by mangoeyes · Jan 20 at 02:05 AM · emac++cmakereal-time sdk

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!

People who like this

0 Show 0
Comment
10 |1500 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

1 Reply

  • Sort: 
avatar image
REFINITIV
Best Answer
Answer by moragodkrit.chumsri_1 · Jan 20 at 04:23 AM

@mangoeyes

Not sure that do you have redhat-lsb installed before running CMake?

yum install redhat-lsb-core

or

yum install redhat-lsb

Comment

People who like this

0 Show 0 · Share
10 |1500 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Watch this question

Add to watch list
Add to your watch list to receive emailed updates for this question. Too many emails? Change your settings >
8 People are following this question.

Related Questions

How to maintain an image/cache in EMA? We are moving from RFA MarketData API to EMA.

How to find out what service my client Id is for and how to find sample code to test it?

How to get FieldID from a FieldName?

New Data Dictionary interface in EMA C++

How to Post with EMA C++

  • Feedback
  • Copyright
  • Cookie Policy
  • Privacy Statement
  • Terms of Use
  • Careers
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Alpha
  • App Studio
  • Block Chain
  • Bot Platform
  • Calais
  • Connected Risk APIs
  • DSS
  • Data Fusion
  • Data Model Discovery
  • Datastream
  • Eikon COM
  • Eikon Data APIs
  • Elektron
    • EMA
    • ETA
    • WebSocket API
  • Legal One
  • Messenger Bot
  • Messenger Side by Side
  • ONESOURCE
    • Indirect Tax
  • Open PermID
    • Entity Search
  • Org ID
  • PAM
    • PAM - Logging
  • ProView
  • ProView Internal
  • Product Insight
  • Project Tracking
  • Refinitiv Data Platform
    • Refinitiv Data Platform Libraries
  • Rose's Space
  • Screening
    • Qual-ID API
    • Screening Deployed
    • Screening Online
    • World-Check One
    • World-Check One Zero Footprint
  • Side by Side Integration API
  • TR Knowledge Graph
  • TREP APIs
    • CAT
    • DACS Station
    • Open DACS
    • RFA
    • UPA
  • TREP Infrastructure
  • TRIT
  • TRKD
  • TRTH
  • Thomson One Smart
  • Transactions
    • REDI API
  • Velocity Analytics
  • Wealth Management Web Services
  • World-Check Data File
  • Explore
  • Tags
  • Questions
  • Badges