[Top][All Lists]

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

Re: Compiling 0.6.14 on Solaris 10 SPARC

From: ML mail
Subject: Re: Compiling 0.6.14 on Solaris 10 SPARC
Date: Fri, 20 Apr 2007 09:13:22 -0700 (PDT)

Hi Martin,

What does this mean ? Do I need to modify some files in gnokii to make it compile on Solaris 10 or something like that ?

Best regards

Martin White <address@hidden> wrote:

----- Original Message -----
From: "Pawel Kot"
To: "Discussion forum for gnokii users."
Sent: Friday, April 20, 2007 2:54 PM
Subject: Re: Compiling 0.6.14 on Solaris 10 SPARC

> Hi,
> On 4/20/07, ML mail wrote:
>> Thanks for your suggestion, HAVE_LIBUSB was defined to 1, so I just
>> commented the define out with /* */. The compilation now went further but
>> stops with another problem as you can see here in the output:
> Could you please check out why configure didn't work well?
>> gnokii-calendar.c:222: error: `INT_MAX' undeclared (first use in this
>> function)
>> gnokii-calendar.c:222: error: (Each undeclared identifier is reported
>> only
>> once
>> gnokii-calendar.c:222: error: for each function it appears in.)
>> gnokii-calendar.c: In function `deletecalendarnote':
>> gnokii-calendar.c:304: error: `INT_MAX' undeclared (first use in this
>> function)
> Again. configure did something wrong:
> gnokii/gnokii-calendar.c includes compat.h
> compat.h includes or compat.h defines INT_MAX
> Could you please check out whether limits.h defines INT_MAX?

as I'm currently logged into a Solaris 10 system, I thought I'd have a quick
look. INT_MAX appears to be defined in sys/types.h

types.h:#define INT_MAX 2147483647 /* max value of an "int" */
types.h:#define UINT_MAX 4294967295U /* max value of an "unsigned
int" */

limits.h includes the following, which doesn't appear to include sys/types.h



gnokii-users mailing list

Ahhh...imagining that irresistible "new car" smell?
Check out new cars at Yahoo! Autos.
reply via email to

[Prev in Thread] Current Thread [Next in Thread]