gnokii-users
[Top][All Lists]
Advanced

[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 13:39:37 -0700 (PDT)

Hi,

I tryed your patched with gnokii 0.6.14 unforuntately it doesn't work, here below you can see the output of gpatch:

gpatch -p0 < patch
patching file include/compat.h
Hunk #1 FAILED at 97.
Hunk #2 FAILED at 107.
2 out of 2 hunks FAILED -- saving rejects to file include/compat.h.rej   

Best regards


Pawel Kot <address@hidden> wrote:
Hi,

First of all, please answer under the quote and remove unneeded quotation.

On 4/20/07, ML mail wrote:
> I have added the include to sys/types.h in gnokii-calendar.c for example and
> reran everything but unfortunately still the same error. Here is an extract
> of gnokii/gnokii-calendar.c where you can see where I inserted the
> sys/types.h line:
>
> #include
> #include
> #include
> #define _GNU_SOURCE
> #include
>
> Is this correct ?

That should work. Alternatively you may try the following patch:
Index: include/compat.h
===================================================================
RCS file: /cvsroot/gnokii/gnokii/include/compat.h,v
retrieving revision 1.51
diff -u -r1.51 compat.h
--- include/compat.h 23 Nov 2006 20:52:42 -0000 1.51
+++ include/compat.h 20 Apr 2007 16:53:24 -0000
@@ -97,8 +97,6 @@

#ifdef HAVE_LIMITS_H
# include
-#else
-# define INT_MAX 2147483647
#endif

#ifdef HAVE_UNISTD_H
@@ -109,6 +107,10 @@
# include
#endif

+#if !defined(INT_MAX)
+# define INT_MAX 2147483647
+#endif
+
/*
* The following ifdef block is the standard way of creating macros which make
* exporting from a DLL simpler. All files within this DLL are compiled with

take care,
pkot
--
Pawel Kot


_______________________________________________
gnokii-users mailing list
address@hidden
http://lists.nongnu.org/mailman/listinfo/gnokii-users


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]