question

Upvotes
Accepted
1 0 0 1

Getting below error while compiling the C++ EMA v1.2.0

Getting below error while compiling the C++ EMA v1.2.0

Added the below lib in the makefile:

<HOME PATH>Ema/Libs/RHEL6_64_GCC444/Optimized/libema.a <HOME PATH>Eta/Libs/RHEL6_64_GCC444/Optimized/librssl.a <HOME PATH>Eta/Libs/RHEL6_64_GCC444/Optimized/librsslVA.a <HOME PATH>Eta/Libs/RHEL6_64_GCC444/Optimized/libxml2.a

Error Message:

<HOME PATH>Eta/Libs/RHEL6_64_GCC444/Optimized/librsslVA.a(rsslReactor.c.o): In function `_reactorTakeChannel': rsslReactor.c:(.text+0x11d1): undefined reference to `rsslCreateNotifierEvent' rsslReactor.c:(.text+0x11ec): undefined reference to `rsslCreateNotifierEvent' <HOME PATH>Eta/Libs/RHEL6_64_GCC444/Optimized/librsslVA.a(rsslReactor.c.o): In function `rsslCreateReactor': rsslReactor.c:(.text+0x2085): undefined reference to `rsslCreateNotifierEvent' rsslReactor.c:(.text+0x209d): undefined reference to `rsslCreateNotifierEvent' rsslReactor.c:(.text+0x20f6): undefined reference to `rsslCreateNotifier' rsslReactor.c:(.text+0x210d): undefined reference to `rsslCreateNotifierEvent' rsslReactor.c:(.text+0x2139): undefined reference to `rsslNotifierAddEvent' rsslReactor.c:(.text+0x2154): undefined reference to `rsslNotifierRegisterRead' <HOME PATH>Eta/Libs/RHEL6_64_GCC444/Optimized/librsslVA.a(rsslReactor.c.o): In function `rsslReactorCloseChannel': rsslReactor.c:(.text+0x2caa): undefined reference to `rsslNotifierRemoveEvent' <HOME PATH>Eta/Libs/RHEL6_64_GCC444/Optimized/librsslVA.a(rsslReactor.c.o): In function `_reactorHandleChannelDown': rsslReactor.c:(.text+0x3122): undefined reference to `rsslNotifierRemoveEvent' <HOME PATH>Eta/Libs/RHEL6_64_GCC444/Optimized/librsslVA.a(rsslReactor.c.o): In function `_reactorDispatchEventFromQueue': rsslReactor.c:(.text+0x813e): undefined reference to `rsslNotifierAddEvent' rsslReactor.c:(.text+0x8159): undefined reference to `rsslNotifierRegisterRead' <HOME PATH>Eta/Libs/RHEL6_64_GCC444/Optimized/librsslVA.a(rsslReactor.c.o): In function `_reactorDispatchFromChannel': rsslReactor.c:(.text+0x9076): undefined reference to `rsslNotifierUpdateEventFd' rsslReactor.c:(.text+0x9091): undefined reference to `rsslNotifierRegisterRead'

elektronrefinitiv-realtimeelektron-sdkrrtema-apielektron-message-api
icon clock
10 |1500

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

Upvotes
Accepted
23k 22 9 14

Hello @yogesh.ashok.kulkarni,

I am not fully sure which of the makefiles that came with SDK you are trying to run, and how you have modified it, have added the libraries, which would have helped,

However, let me venture a guess, from the errors you are seeing, that you may not be including the static libraries properly.

Please refer to this post,

Specifically

LDFLAGS=-L<Directorywhere the library resides>-l<library name> 

Please let us know if this was it, and if you were able to build.

Thanks,

-Zoya

icon clock
10 |1500

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

Upvotes
23k 22 9 14

Hello @yogesh.ashok.kulkarni,

Have you had a change to try the above suggestion? How did it go for you?

If you find you need a more in-depth help, for an expert to take a a detailed look at your custom code, your build within your environment, your compilation procedure, as your organization is a premium user, you can submit a Premium Support Inquiry to obtain the detailed help.

icon clock
10 |1500

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

Click below to post an Idea Post Idea