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

List:       linux-ha-dev
Subject:    Re: [Linux-ha-dev] HEAD does not compile...  Again...
From:       Alan Robertson <alanr () unix ! sh>
Date:       2004-09-26 6:36:03
Message-ID: 41566353.1070308 () unix ! sh
[Download RAW message or body]

Alan Robertson wrote:
> This header file (racommon.h) is missing from lrm/Makefile.am
> 
>  gcc -DHAVE_CONFIG_H -I. -I. -I../../../linux-ha -I../../../include 
> -I../../../include -I../../../include -I../../../linux-ha 
> -I../../../linux-ha -I../../../libltdl -I../../../libltdl 
> -I/opt/gnome/include/glib-2.0 -I/opt/gnome/lib/glib-2.0/include 
> -I/usr/include/libxml2 -g -O2 -Wall -Wmissing-prototypes 
> -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith 
> -Wwrite-strings -Wcast-qual -Wcast-align -Wbad-function-cast -Winline 
> -Wmissing-format-attribute -Wformat=2 -Wformat-security 
> -Wformat-nonliteral -Wno-long-long -Wno-strict-aliasing -Werror -ggdb3 
> -MT raexeclsb.lo -MD -MP -MF .deps/raexeclsb.Tpo -c raexeclsb.c  -fPIC 
> -DPIC -o .libs/raexeclsb.o
> In file included from raexeclsb.c:38:
> ../../../include/lrm/raexec.h:25:26: lrm/racommon.h: No such file or 
> directory
> raexeclsb.c: In function `execra':
> raexeclsb.c:168: warning: implicit declaration of function 
> `get_ra_pathname'
> raexeclsb.c: In function `get_resource_list':
> raexeclsb.c:219: warning: implicit declaration of function 
> `get_runnable_list'
> gmake[4]: *** [raexeclsb.lo] Error 1
> gmake[4]: Leaving directory 
> `/tmp/alanr.rpms/BUILD/heartbeat-1.3.0.cvs.20040818/lib/plugins/lrm'
> gmake[3]: *** [all-recursive] Error 1
> gmake[3]: Leaving directory 
> `/tmp/alanr.rpms/BUILD/heartbeat-1.3.0.cvs.20040818/lib/plugins'
> gmake[2]: *** [all-recursive] Error 1
> gmake[2]: Leaving directory 
> `/tmp/alanr.rpms/BUILD/heartbeat-1.3.0.cvs.20040818/lib'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory 
> `/tmp/alanr.rpms/BUILD/heartbeat-1.3.0.cvs.20040818'
> error: Bad exit status from /var/tmp/rpm-tmp.80466 (%build)
> 
> 
> PLEASE PLEASE PLEASE make an RPM out of what you put in CVS to see if it 
> compiles.
> 
> This is the third such thing I've run across this evening.  And, the 
> first two were in STABLE(!).
> 
> I just updated the getws script on the wiki.  You can find it pointed to 
> here:
>     http://wiki.trick.ca/linux-ha/CVS
> 
> This script does a good job of testing your code.
> 
> I really shouldn't have to spend 3 hours a day cleaning up after 
> sloppiness that other project members have left around through total 
> carelessness. Lest you think I'm complaining only about the LRM, please 
> read my other complaints and CVS comments earlier today.
> 
> COMPILE YOUR CODE!


For those of you who are wondering -- this means me too ;-).

I'm planning on running the 'getws' script nightly on AMD64 and intel 
machines on both HEAD and STABLE branches.

And, when I get that going satisfactorily, I'll do the same for running 
BEAM (but only on i386).

So when I screw up (or you screw up), at least you'll get notice of it 
before we accumlate a 4 or 5 of them.

As of right now, at least it all compiles on 32-bit Intel. I'll post the 
problems with BasicSanityCheck in a few minutes...


-- 
     Alan Robertson <alanr@unix.sh>

"Openness is the foundation and preservative of friendship...  Let me claim 
from you at all times your undisguised opinions." - William Wilberforce
_______________________________________________________
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