[Fedora-directory-devel] Announcing Fedora DS - dsbuild with debug support

Joe Orton jorton at redhat.com
Fri Jan 20 10:43:13 UTC 2006


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.

Let me know if you have any other problems.

Regards,

joe




More information about the Fedora-directory-devel mailing list