[prev in list] [next in list] [prev in thread] [next in thread] 

List:       linux-ha-dev
Subject:    Re: [Linux-ha-dev] Re: [Linux-ha-cvs] Linux-HA CVS: crm by msoffe n
From:       Andrew <lists () beekhof ! homeip ! net>
Date:       2004-06-29 17:00:44
Message-ID: DBFA60E3-C9ED-11D8-9AF2-000A95B71D78 () beekhof ! homeip ! net
[Download RAW message or body]

Odd but fair enough then :)

On Jun 29, 2004, at 6:57 PM, Soffen, Matthew wrote:

> There are definitions that are overridden on FreeBSD if that file isn't
> included.
>
> # gmake
> source='graph.c' object='ptest-graph.o' libtool=no \
> depfile='.deps/ptest-graph.Po' tmpdepfile='.deps/ptest-graph.TPo' \
> depmode=gcc /bin/sh ../../../depcomp \
> gcc -DHAVE_CONFIG_H -I. -I../../../crm/pengine -I../../linux-ha
> -I../../include -I../../include -I../../../include -I../../libltdl
> -I../../../libltdl -I../../linux-ha  -I../../../linux-ha -I../..
> -I../../..  -I/usr/local/include  -I/usr/local/include/glib12
> -I/usr/local/include/libxml2 -I/usr/local/include `xml2-config 
> --cflags`
> -DHA_VARLIBDIR='"/usr/local/var/lib"' -g -O2  -Wall 
> -Wmissing-prototypes
> -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith 
> -Wwrite-strings
> -Wcast-qual -Wcast-align -Wbad-function-cast -Winline -Wformat=2
> -Wformat-security -Wformat-nonliteral -Wno-long-long -Werror -ggdb3 -c 
> -o
> ptest-graph.o `test -f graph.c || echo '../../../crm/pengine/'`graph.c
> In file included from ../../../linux-ha/portability.h:40,
>                  from ../../../include/crm/common/xml.h:22,
>                  from ../../../crm/pengine/graph.c:22:
> /usr/include/sys/param.h:213: warning: `MIN' redefined
> /usr/local/include/glib12/glib.h:141: warning: this is the location of 
> the
> previous definition
> /usr/include/sys/param.h:214: warning: `MAX' redefined
> /usr/local/include/glib12/glib.h:138: warning: this is the location of 
> the
> previous definition
> gmake: *** [ptest-graph.o] Error 1
>
> -----Original Message-----
> From: Andrew [mailto:lists@beekhof.homeip.net]
> Sent: Tuesday, June 29, 2004 12:26 PM
> To: linux-ha-dev@lists.community.tummy.com
> Subject: [Linux-ha-dev] Re: [Linux-ha-cvs] Linux-HA CVS: crm by msoffen
> from
>
>
> Hi Matt,
>
> Just wondering what this change is for?
> I just took a peek in sys/param.h and I cant see anything I might be
> using...
>
> Andrew
>
> On Jun 29, 2004, at 6:22 PM, linux-ha-cvs@lists.community.tummy.com
> wrote:
>
>> linux-ha CVS committal
>>
>> Author  : msoffen
>> Host    :
>> Project : linux-ha
>> Module  : crm
>>
>> Dir     : linux-ha/crm/pengine
>>
>>
>> Modified Files:
>> 	graph.c
>>
>>
>> Log Message:
>> sys/param.h needs to be included before any project headers
>>
>> ===================================================================
>> RCS file: /home/cvs/linux-ha/linux-ha/crm/pengine/graph.c,v
>> retrieving revision 1.7
>> retrieving revision 1.8
>> diff -u -3 -r1.7 -r1.8
>> --- graph.c	28 Jun 2004 08:29:20 -0000	1.7
>> +++ graph.c	29 Jun 2004 16:22:04 -0000	1.8
>> @@ -1,4 +1,4 @@
>> -/* $Id: graph.c,v 1.7 2004/06/28 08:29:20 andrew Exp $ */
>> +/* $Id: graph.c,v 1.8 2004/06/29 16:22:04 msoffen Exp $ */
>>  /*
>>   * Copyright (C) 2004 Andrew Beekhof <andrew@beekhof.net>
>>   *
>> @@ -16,6 +16,7 @@
>>   * License along with this library; if not, write to the Free 
>> Software
>>   * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
>> 02111-1307  USA
>>   */
>> +#include <sys/param.h>
>>  #include <crm/crm.h>
>>  #include <crm/cib.h>
>>  #include <crm/msg_xml.h>
>>
>>
>> _______________________________________________
>> Linux-ha-cvs mailing list
>> Linux-ha-cvs@lists.community.tummy.com
>> http://lists.community.tummy.com/mailman/listinfo/linux-ha-cvs
>
> _______________________________________________________
> Linux-HA-Dev: Linux-HA-Dev@lists.linux-ha.org
> http://lists.linux-ha.org/mailman/listinfo/linux-ha-dev
> Home Page: http://linux-ha.org/
> _______________________________________________________
> Linux-HA-Dev: Linux-HA-Dev@lists.linux-ha.org
> http://lists.linux-ha.org/mailman/listinfo/linux-ha-dev
> Home Page: http://linux-ha.org/

_______________________________________________________
Linux-HA-Dev: Linux-HA-Dev@lists.linux-ha.org
http://lists.linux-ha.org/mailman/listinfo/linux-ha-dev
Home Page: http://linux-ha.org/
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic