[Fedora-directory-devel] Announcing Fedora DS - dsbuild with debug support
Richard Megginson
rmeggins at redhat.com
Fri Jan 20 17:20:07 UTC 2006
Joe Orton wrote:
>On Thu, Jan 19, 2006 at 08:17:15PM -0500, Thomas Fitzsimmons wrote:
>...
>
>
>>uild/include -L/tmp/fedora-ds-build/lib -O2 -pipe -c mod_nss.c -MT
>>mod_nss.lo -MD -MP -MF .deps/mod_nss.TPlo -fPIC -DPIC
>>-o .libs/mod_nss.lo
>>In file included from /usr/include/httpd/ap_config.h:25,
>> from /usr/include/httpd/httpd.h:43,
>> from mod_nss.h:20,
>> from mod_nss.c:16:
>>/usr/include/apr-1/apr.h:270: error: expected '=', ',', ';', 'asm' or
>>'__attribute__' before 'apr_off_t'
>>
>>
>
>Yes, it is possible to make a module compatible with both 2.0 and 2.2;
>any 2.0 module which doesn't use deprecated interfaces should work
>without any source code changes in general.
>
>You must add the output of:
>
> `$apr_config --cppflags --includes --cflags`
>
>to CFLAGS when building; where $apr_config is the path to the apr-config
>or apr-1-config script. The above error is because you've not picked up
>-D_LARGEFILE64_SOURCE so off64_t is not defined.
>
>
It looks as though /usr/sbin/apxs -q EXTRA_CPPFLAGS produces the same
output as apr-config --cppflags - which one is better to use for this
purpose?
>Let me know if you have any other problems.
>
>Regards,
>
>joe
>
>--
>Fedora-directory-devel mailing list
>Fedora-directory-devel at redhat.com
>https://www.redhat.com/mailman/listinfo/fedora-directory-devel
>
>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 3178 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://listman.redhat.com/archives/fedora-directory-devel/attachments/20060120/cef051c9/attachment.bin>
More information about the Fedora-directory-devel
mailing list