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

Re: GCC 4.3 problem building libeXosip2?

On Mon, Feb 04, 2008 at 02:36:50PM -0600, Jeffrey Ollie wrote:
> I'm working on an update to libeXosip2, unfortunately I get some
> errors while building on rawhide:
> http://koji.fedoraproject.org/koji/getfile?taskID=395271&name=build.log
> The problems occur both building locally on mock and when doing a
> scratch build on koji.   Builds on F-7 and F-8 work fine so I'm fairly
> confident that this is something related to GCC 4.3.  I'm working on
> getting a rawhide system up and running to do some testing - in the
> meantime is there anyone that can take a look and give me some
> pointers?
> Jeff

libeXosip2 is buggy. NI_MAXHOST is in #ifdef statement in header but
in code is used without #ifdef. Simple patch is attached


Adam Tkac, Red Hat, Inc.
diff -up libeXosip2-3.0.3/src/eXosip2.h.ifdef libeXosip2-3.0.3/src/eXosip2.h
--- libeXosip2-3.0.3/src/eXosip2.h.ifdef	2008-02-05 13:57:30.000000000 +0100
+++ libeXosip2-3.0.3/src/eXosip2.h	2008-02-05 13:57:53.000000000 +0100
@@ -87,13 +87,14 @@ extern "C"
+#define NI_MAXHOST      1025
 #if defined(__arc__)
-#define NI_MAXHOST      1025
 #define NI_MAXSERV      32
 #define NI_NUMERICHOST  1

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