Skip to content
New issue

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

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

Already on GitHub? # to your account

version of ACE/TAO supported ? #11

Open
cfpperche2 opened this issue Sep 7, 2015 · 5 comments
Open

version of ACE/TAO supported ? #11

cfpperche2 opened this issue Sep 7, 2015 · 5 comments

Comments

@cfpperche2
Copy link

Hi, which are the version of ACE/TAO supported by orocos 2.8?

I'm try to compile Orocos from source with ACE+TAO-6.1.2 (TAO-2.1) (compiled from source also) http://download.dre.vanderbilt.edu/previous_versions/

But orocos don't compile, get an error in something related with Corba.

and

When I try to compile ACETAO=ACE+TAO-5.6.7 (TAO-1.6.7) is generated this error:
Dev_Poll_Reactor.cpp: In member function ‘int ACE_Dev_Poll_Reactor::dispatch_io_event(ACE_Dev_Poll_Reactor::Token_Guard&)’:
Dev_Poll_Reactor.cpp:1216:41: error: cannot bind packed field ‘pfds->epoll_event::events’ to ‘__uint32_t& {aka unsigned int&}’
__uint32_t &revents = pfds->events;
^
make[1]: *** [.shobj/Dev_Poll_Reactor.o] Error 1
make[1]: Leaving directory `/usr/src/ACE_wrappers/ace'
make: *** [ACE] Error 2

I'm using Ubuntu 14.04, Xenomai 2.6.4, GCC and G++ 4.8

Has anyone the solution for this?

@parasrish
Copy link

I am facing similar issue , but with ACE+TAO-1.6a_with_latest_patches., whenn attempting to compile in Ubuntu Environment.

...
I/home/dev/ace_tao_demo/pre_req/ACE_wrappers -DACE_HAS_EXCEPTIONS -D__ACE_INLINE__ -I.. -DACE_BUILD_DLL -c -fPIC -o .shobj/Dev_Poll_Reactor.o Dev_Poll_Reactor.cpp
Dev_Poll_Reactor.cpp: In member function ‘int ACE_Dev_Poll_Reactor::dispatch_io_event(ACE_Dev_Poll_Reactor::Token_Guard&)’:
Dev_Poll_Reactor.cpp:1216:41: error: cannot bind packed field ‘pfds->epoll_event::events’ to ‘__uint32_t& {aka unsigned int&}’
__uint32_t &revents = pfds->events;
^
make[1]: *** [.shobj/Dev_Poll_Reactor.o] Error 1
make[1]: Leaving directory `/home/dev/ace_tao_demo/pre_req/ACE_wrappers/ace'
make: *** [ACE] Error 2

Any solution for this?

@cfpperche2
Copy link
Author

No idea though about ace/TAO, I'm using OmniORB : (with Ubuntu 14.04, Xenomai 2.6.4)

sudo apt-get install omniorb-idl omniorb omniorb-nameserver
Then compile orocos with omniorb/corba options :

catkin_make_isolated --install -DENABLE_CORBA=ON -DCORBA_IMPLEMENTATION=OMNIORB

@roboticsai
Copy link

I am also using Omniorb, but does omniorb provides NamingService like Tao? Why is orocos recommended TAO to be used for corba extension?

@roboticsai
Copy link

Hi guys i have nicely built the ACE-TAO version 6.4.7. which i donwloaded from this site and than extracted. Here first i bult ace, than gperf, than tao. only small problem in in the tests folder of gperf which is oly for testing the installation of gperf so we can ignore that or remove that. else everything is good tao naming service is also built inside the tao folder.

@fatalfeel
Copy link

fatalfeel commented Jun 8, 2018

/root/ACE_wrappers/configure

//modify function
int
main ()
{

int const ACE_NUM_DESCRIPTORS = 10;
/*return epoll_create (ACE_NUM_DESCRIPTORS) == -1 ? -1 : 0;

;
return 0;*/

return -1; //by stone
}

////////////////
/root/ACE_wrappers/ace/config-linux-common.h
change
define ACE_HAS_EVENT_POLL
to
//# define ACE_HAS_EVENT_POLL

check this
https://fatalfeel.blogspot.com/2013/09/secsgem-open-source.html

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

No branches or pull requests

4 participants