ACE Library in Ubuntu 20.04

2k views Asked by At

I am trying to build ACE 6.4.8 under Ubuntu 20.04.

I get the following message

/ACE_wrappers/ace/os_include/os_stropts.h:56:17: fatal error: stropts.h: No such file or directory
   56 | #  include /**/ <stropts.h>
      |                 ^~~~~~~~~~~
compilation terminated.
make[1]: *** [/home/ap1/Projects/ACE_wrappers/include/makeinclude/rules.local.GNU:189: .shobj/ACE.o] Error 1
make[1]: Leaving directory '/home/ap1/Projects/ACE_wrappers_6_4_8/ace'
make: *** [GNUmakefile:777: ACE] Error 2

My understanding is stropts.h header file are part of the posix C lbrary and have been removed from glibc.

Is there any work around here to compile ACE properly?

1

There are 1 answers

3
Johnny Willemsen On

This is due to changes in Ubuntu 20.04 which is recent, the ACE version you are using is old. Please upgrade to ACE 6.5.9 which you can download from github, that includes the necessary fix.