Xymon Mailing List Archive search

Make problem 4.3.7

2 messages in this thread

list Bruce White · Wed, 11 Jan 2012 13:54:01 -0600 ·
Hello all,


I'm having an issue with doing the initial make using the 4.3.7 distribution bon a RedHat 5.2 AS server.  I get the following error messages:

cc -o setup-newfiles   setup-newfiles.c ../lib/xymonclient.a   
cc: ../lib/xymonclient.a: No such file or directory
setup-newfiles.c:11:22: error: libxymon.h: No such file or directory
setup-newfiles.c: In function ‘main’:
setup-newfiles.c:48: error: ‘digestctx_t’ undeclared (first use in this function)
setup-newfiles.c:48: error: (Each undeclared identifier is reported only once
setup-newfiles.c:48: error: for each function it appears in.)
setup-newfiles.c:48: error: ‘ctx’ undeclared (first use in this function)
setup-newfiles.c:63: warning: passing argument 2 of ‘strcpy’ makes pointer from integer without a cast
setup-newfiles.c:76: warning: assignment makes pointer from integer without a cast
make: *** [setup-newfiles] Error 1

I am much more of a sys admin than a C developer, so I really nee some help.  I searched the archive and see a couple of references to similar issues, but none seem to match mine. In particular I found an email about compile errors with 4.3.3 dated 7/26/2011 (or 26/7/2011 for those from Europe) which said:

Add “locator.o” to CLIENTLIBOBJS in lib/Makefile,

And even after applying that fix, it still failed.

      ......Bruce


 
 Bruce White
 Senior Enterprise Systems Engineer | Phone: X-XXX-XXX-XXXX | Fax: XXX-XXX-XXXX | user-58f975e8bf9d@xymon.invalid | http://www.fellowes.com/
 
 
 
Disclaimer: The information contained in this message may be privileged and confidential and protected from disclosure. If the reader of this message is not the intended recipient or an employee or agent responsible for delivering this message to the intended recipient, you are hereby notified that any dissemination, distribution or copying of this communication is strictly prohibited. If you have received this communication in error, please notify us immediately by replying to the message and deleting it from your computer. Thank you. Fellowes, Inc.
list Bruce White · Wed, 11 Jan 2012 14:47:27 -0600 ·
Hi all,

Not sure what I did the first run through, I might have been at the wrong directory or it could be the locator.o fix, but after running a make clean, removing the highest level Makefile, leaving the locator.o reference in place and starting over, it now builds.

Sorry for the spam,
signature
Bruce


 
 Bruce White
 Senior Enterprise Systems Engineer | Phone: X-XXX-XXX-XXXX | Fax: XXX-XXX-XXXX | user-58f975e8bf9d@xymon.invalid | http://www.fellowes.com/
 
 
 
Disclaimer: The information contained in this message may be privileged and confidential and protected from disclosure. If the reader of this message is not the intended recipient or an employee or agent responsible for delivering this message to the intended recipient, you are hereby notified that any dissemination, distribution or copying of this communication is strictly prohibited. If you have received this communication in error, please notify us immediately by replying to the message and deleting it from your computer. Thank you. Fellowes, Inc.
 
-----Original Message-----

quoted from Bruce White
From: xymon-bounces at xymon.com [mailto:xymon-bounces at xymon.com] On Behalf Of White, Bruce
Sent: Wednesday, January 11, 2012 1:54 PM
To: xymon at xymon.com
Subject: [Xymon] Make problem 4.3.7

Hello all,


I'm having an issue with doing the initial make using the 4.3.7 distribution bon a RedHat 5.2 AS server.  I get the following error messages:

cc -o setup-newfiles   setup-newfiles.c ../lib/xymonclient.a   
cc: ../lib/xymonclient.a: No such file or directory
setup-newfiles.c:11:22: error: libxymon.h: No such file or directory
setup-newfiles.c: In function ‘main’:
setup-newfiles.c:48: error: ‘digestctx_t’ undeclared (first use in this function)
setup-newfiles.c:48: error: (Each undeclared identifier is reported only once
setup-newfiles.c:48: error: for each function it appears in.)
setup-newfiles.c:48: error: ‘ctx’ undeclared (first use in this function)
setup-newfiles.c:63: warning: passing argument 2 of ‘strcpy’ makes pointer from integer without a cast
setup-newfiles.c:76: warning: assignment makes pointer from integer without a cast
make: *** [setup-newfiles] Error 1

I am much more of a sys admin than a C developer, so I really nee some help.  I searched the archive and see a couple of references to similar issues, but none seem to match mine. In particular I found an email about compile errors with 4.3.3 dated 7/26/2011 (or 26/7/2011 for those from Europe) which said:

Add “locator.o” to CLIENTLIBOBJS in lib/Makefile,

And even after applying that fix, it still failed.

      ......Bruce


 
 Bruce White
 Senior Enterprise Systems Engineer | Phone: X-XXX-XXX-XXXX | Fax: XXX-XXX-XXXX | user-58f975e8bf9d@xymon.invalid | http://www.fellowes.com/
 
 
 
Disclaimer: The information contained in this message may be privileged and confidential and protected from disclosure. If the reader of this message is not the intended recipient or an employee or agent responsible for delivering this message to the intended recipient, you are hereby notified that any dissemination, distribution or copying of this communication is strictly prohibited. If you have received this communication in error, please notify us immediately by replying to the message and deleting it from your computer. Thank you. Fellowes, Inc.