<html style="direction: ltr;">
<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
<style type="text/css">body p { margin-bottom: 0.3cm; margin-top: 0pt; } </style>
</head>
<body style="direction: ltr;" bidimailui-charset-is-forced="true"
bgcolor="#FFFFFF" text="#000000">
<br>
hello pau, other friends<br>
<br>
this is the manual solution, <br>
but i wanted to let others benefit from it seamlessly.<br>
<br>
thus, i would recommend to do a little better:<br>
either add these definitions in the pkg-config --cflags, <br>
or add these definitions in a common header.<br>
<br>
what would you think?<br>
<br>
alex<br>
<br>
<div class="moz-cite-prefix">On 05/27/2015 05:27 PM, Pau Garcia i
Quiles wrote:<br>
</div>
<blockquote
cite="mid:CAKcBoksfLMFzrd4fxfGu97LS--tYs=WHK2KVcOGFhPm8vPdrxw@mail.gmail.com"
type="cite">
<div dir="ltr">
<div>
<div>Hello,<br>
<br>
</div>
If the library uses -D_LARGEFILE_SOURCE
-D_FILE_OFFSET_BITS=64, then your application must also use
that. You cannot combine code otherwise.<br>
<br>
</div>
I think the solution requires two actions:<br>
<br>
<ul>
<li>Make sure JAWS uses -D_LARGEFILE_SOURCE
-D_FILE_OFFSET_BITS=64 too<br>
<br>
</li>
<li>Add a note about -D_LARGEFILE_SOURCE
-D_FILE_OFFSET_BITS=64 in README.Debian<br>
</li>
</ul>
<br>
<br>
</div>
<div class="gmail_extra"><br>
<div class="gmail_quote">On Wed, May 27, 2015 at 3:42 PM, alex
bodnaru <span dir="ltr"><<a moz-do-not-send="true"
href="mailto:alexbodn@012.net.il" target="_blank">alexbodn@012.net.il</a>></span>
wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0
.8ex;border-left:1px #ccc solid;padding-left:1ex">
<div bgcolor="#FFFFFF" text="#000000"> <br>
hello thomas,<br>
<br>
thanks a lot for your reply.<br>
my system is i686 32bit. thus, the default for off_t is
long.<br>
however, when libace is being built, the type gets long
long, <br>
by -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64.<br>
<br>
thus, if i wish to build a program and link to libace,
which <br>
already use ACE_OFF_T, which is off_t.<br>
please just try JAWS. it compiles ok, but fails to link, <br>
unless i set the same flags.<br>
<br>
since it took me some time to inquire, i'm asking you to
put <br>
the said definitions in a file included with the
definition of ACE_OFF_T.<br>
<br>
thanks in advance,<br>
alex<span class=""><br>
<br>
<div>On 05/26/2015 10:54 PM, Thomas Girard wrote:<br>
</div>
<blockquote type="cite">
<pre>Hello,
On 19/05/2015 18:06, alex bodnaru wrote:
</pre>
<blockquote type="cite">
<pre>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.
</pre>
</blockquote>
<pre>Can you please share a snippet example? The severity seems a little bit
too much to me.
Thanks,
Regards,
Thomas
</pre>
</blockquote>
<br>
</span><span class="HOEnZb"><font color="#888888">
<pre cols="80">--
best regards,
alex
</pre>
</font></span></div>
<br>
_______________________________________________<br>
Pkg-ace-devel mailing list<br>
<a moz-do-not-send="true"
href="mailto:Pkg-ace-devel@lists.alioth.debian.org">Pkg-ace-devel@lists.alioth.debian.org</a><br>
<a moz-do-not-send="true"
href="http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-ace-devel"
target="_blank">http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-ace-devel</a><br>
</blockquote>
</div>
<br>
<br clear="all">
<br>
-- <br>
<div class="gmail_signature">Pau Garcia i Quiles<br>
<a moz-do-not-send="true" href="http://www.elpauer.org"
target="_blank">http://www.elpauer.org</a><br>
(Due to my workload, I may need 10 days to answer)</div>
</div>
</blockquote>
<br>
<pre class="moz-signature" cols="80">--
best regards,
alex
</pre>
</body>
</html>