question

Upvotes
Accepted
1 0 0 2

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-sdkema-apirrtelektron-message-api
icon clock
10 |1500

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

@yogesh.ashok.kulkarni

Hello

Thank you for your participation in the forum. Is the reply below satisfactory in resolving your query?
If so please can you click the 'Accept' text next to the appropriate reply. This will guide all community members who have a similar question.

Thanks,
AHS

Hello @yogesh.ashok.kulkarni

Thank you for your participation in the forum. Is the reply below satisfactory in resolving your query?
If so please can you click the 'Accept' text next to the appropriate reply. This will guide all community members who have a similar question.

Thanks,
AHS

Upvotes
Accepted
32.2k 40 11 20

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 512.0 KiB each and 1.0 MiB total.

Upvotes
32.2k 40 11 20

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 512.0 KiB each and 1.0 MiB total.

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

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