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 On Wed, May 27, 2015 at 3:42 PM, alex bodnaru <alexb...@012.net.il> wrote: > > hello thomas, > > thanks a lot for your reply. > my system is i686 32bit. thus, the default for off_t is long. > however, when libace is being built, the type gets long long, > by -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64. > > thus, if i wish to build a program and link to libace, which > already use ACE_OFF_T, which is off_t. > please just try JAWS. it compiles ok, but fails to link, > unless i set the same flags. > > since it took me some time to inquire, i'm asking you to put > the said definitions in a file included with the definition of ACE_OFF_T. > > thanks in advance, > alex > > On 05/26/2015 10:54 PM, Thomas Girard wrote: > > Hello, > > On 19/05/2015 18:06, alex bodnaru wrote: > > Package: libace-dev > Version: 6.2.8+dfsg-1 > 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. > > Can you please share a snippet example? The severity seems a little bit > too much to me. > > Thanks, > Regards, > > Thomas > > > -- > best regards, > alex > > > _______________________________________________ > Pkg-ace-devel mailing list > pkg-ace-de...@lists.alioth.debian.org > http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-ace-devel > -- Pau Garcia i Quiles http://www.elpauer.org (Due to my workload, I may need 10 days to answer)