[OPEN-ILS-DEV] Issue building OpenSRF-0.9

Ingalls, Niles nilesi at zionsville.lib.in.us
Thu Jan 10 07:22:32 EST 2008




On 1/9/08 4:26 PM, "John Schmidt" <jas at xmission.com> wrote:

> 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
> 

Jason,
Your suggestion did the trick. Thanks very much.

Niles Ingalls
UNIX & Web Administrator
Hussey-Mayfield Memorial Public Library
250 N. Fifth Street
P.O. Box 840
Zionsville, IN. 46077

Phone   317-873-3149 x13280
Fax     317-873-8339

"Confidence is what you have before you understand the problem." - Woody
Allen




More information about the Open-ils-dev mailing list