#785728 libace-dev: ACE_OFF_T is only 32bit by the includes, thus preventing the build of JAWS #785728
- Package:
- libace-dev
- Source:
- ace
- Description:
- C++ network programming framework - development files
- Submitter:
- alex bodnaru
- Date:
- 2015-06-03 17:39:04 UTC
- Severity:
- important
hello friend, when trying to build JAWS on i686 32bit, the size of ACE_OFF_T is 32bit, as opposed to the size calculated at the build time of the library, when it is 64bit, due to your flags in rules: -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 please put these definitions in the relevant includes, so that users of the library will also find it at the size the library has. thanks in advance, alex
Hello, Can you please share a snippet example? The severity seems a little bit too much to me. Thanks, Regards, Thomas
Hello, If the library uses -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64, then your application must also use that. You cannot combine code otherwise. I think the solution requires two actions: - Make sure JAWS uses -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 too - Add a note about -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 in README.Debian