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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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


[Index of Archives]     [Fedora Directory Announce]     [Fedora Users]     [Older Fedora Users Mail]     [Fedora Advisory Board]     [Fedora Security]     [Fedora Devel Java]     [Fedora Desktop]     [ATA RAID]     [Fedora Marketing]     [Fedora Mentors]     [Fedora Package Review]     [Fedora Art]     [Fedora Music]     [Fedora Packaging]     [CentOS]     [Fedora SELinux]     [Big List of Linux Books]     [KDE Users]     [Fedora Art]     [Fedora Docs]

  Powered by Linux