Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

IDL project i.e jtnc-interface integrating with Yocto project. #2

Open
NayanaAnand opened this issue Oct 14, 2021 · 2 comments
Open

Comments

@NayanaAnand
Copy link

Hi,

I am trying in include jtnc-interface into Yocto project build as a IDL project and i have already integrated meta-redhawk-sdr into Yocto build and now i am trying in integrate jtnc-interface as IDL interface into redhawk-core-framework.

Steps Fallowed:

  • Created IDL project in Redhawk Eclipse IDE and added jtnc-interface github source code into it. building project is successful with all component installation as provided in "install" script.
  • Same IDL project now integrating with Yocto build as a part of redhawk-core-framework using (,bb) file.

While running yocto build, i am facing 2 errors as shown below.
image

Error :
src/cpp/redhawk/MHAL/mhalSK.cpp: At global scope:
| src/cpp/redhawk/MHAL/mhalSK.cpp:13:43: error: 'omniORB_4_2' was not declared in this scope
| static const char* _0RL_library_version = omniORB_4_2;

src/cpp/redhawk/MHAL/mhalDynSK.cpp: At global scope:
| src/cpp/redhawk/MHAL/mhalDynSK.cpp:7:47: error: 'omniORB_4_2_dyn' was not declared in this scope
| static const char* _0RL_dyn_library_version = omniORB_4_2_dyn;

Can you please help me out to resolve above issue.
Please refer the image attached for error.

Regards,
Nayana

@NayanaAnand
Copy link
Author

@rodrigo455,

Can you please help me out to resolve above issue?

Regards,
Nayana

@NayanaAnand
Copy link
Author

NayanaAnand commented Oct 21, 2021

Hi,

As i created IDL project from Redhawk IDE which is running on Centos7 and the variable omniORB_4_2 is defined in given below path (/usr/include/omniORB4/omniInternal.h ) As shown below.

**omniInternal.h:274:extern _core_attr const char* omniORB_4_2; omniInternal.h:275:extern _dyn_attr const char* omniORB_4_2_dyn;**

But, the IDL project now integrating with Yocto build which is running on Ubuntu14.04 is searching for "omniORB_4_2" and "omniORB_4_2_dyn" which is not available in ubuntu.
As i got, same file in ubuntu with different versions shown below.

**omniInternal.h:82:extern _core_attr const char* omniORB_4_1; omniInternal.h:83:extern _dyn_attr const char* omniORB_4_1_dyn;**

Can you @rodrigo455 suggest which variable i need to modify so that, even in ubuntu yocto should read which available in that OS.

Regards,
Nayana

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant