f



[ace-users] ace-5.6.1 - error: invalid conversion from 'int' to '__rlimit_resource_t'

I am trying to build ace-5.6.1 on a Redhat linux 7.3 machine. ./configure;make results in the following error:

.../../ace/OS_NS_sys_resource.inl: In function 'int ACE_OS::getrlimit(int, rlimit*)':
.../../ace/OS_NS_sys_resource.inl:24: error: invalid conversion from 'int' to '__rlimit_resource_t'
.../../ace/OS_NS_sys_resource.inl:24: error:   initializing argument 1 of 'int getrlimit(__rlimit_resource_t, rlimit*)'
.../../ace/OS_NS_sys_resource.inl: In function 'int ACE_OS::getrusage(int, rusage*)':
.../../ace/OS_NS_sys_resource.inl:56: error: invalid conversion from 'int' to '__rusage_who_t'
.../../ace/OS_NS_sys_resource.inl:56: error:   initializing argument 1 of 'int getrusage(__rusage_who_t, rusage*)'
.../../ace/OS_NS_sys_resource.inl: In function 'int ACE_OS::setrlimit(int, const rlimit*)':
.../../ace/OS_NS_sys_resource.inl:92: error: invalid conversion from 'int' to '__rlimit_resource_t'
.../../ace/OS_NS_sys_resource.inl:92: error:   initializing argument 1 of 'int setrlimit(__rlimit_resource_t, const rlimit*)'
make[3]: *** [libACE_la-ACE.lo] Error 1

Any idea what might be causing this error?


      
0
john
1/29/2010 11:52:56 PM
comp.soft-sys.ace 20326 articles. 1 followers. marlow.andrew (167) is leader. Post Follow

0 Replies
685 Views

Similar Articles

[PageSpeed] 27

Reply: