[OPEN-ILS-DEV] Issue building OpenSRF-0.9
John Schmidt
jas at xmission.com
Wed Jan 9 16:26:14 EST 2008
On Wednesday 09 January 2008, Jason Zou wrote:
> Niles Ingalls wrote:
>
> > /usr/local/apr/include/apr-1/apr.h:273: error: expected '=', ',', ';',
> > 'asm'
> > or '__attribute__' before 'apr_off_t'
> > In file included from /usr/local/apr/include/apr-1/apr_file_io.h:29,
> >
> > "Confidence is what you have before you understand the problem." - Woody
> > Allen
>
> Just in case, have you tried the following?
>
> CFLAGS=-D_LARGEFILE64_SOURCE make
>
>
> Jason Zou
Jason's suggestion should fix it, because line 273 is associated with off64_t
which is probably not being defined because of the lack
of -D_LARGEFILE64_SOURCE specification.
typedef size_t apr_size_t;
typedef ssize_t apr_ssize_t;
typedef off64_t apr_off_t;
typedef socklen_t apr_socklen_t;
John
More information about the Open-ils-dev
mailing list