* Albert Chu <[email protected]> [May 07. 2014 01:28]:
> http://ftp.gnu.org/gnu/freeipmi/freeipmi-1.4.2.tar.gz

Hi,

compilation of 1.4.2 fails for me with

 ipmipower_ping.c: In function 'ipmipower_ping_process_pings':
 ipmipower_ping.c:408:20: error: 'struct ipmipower_arguments' has no member 
named 'rmcpdump'
       if (cmd_args.rmcpdump)
                    ^
Patch attached.


Enjoy,

Klaus
-- 
SUSE LINUX Products GmbH, GF: Jeff Hawn, Jennifer Guild, Felix Imendörffer, HRB 
16746 (AG Nürnberg)
Maxfeldstraße 5, 90409 Nürnberg, Germany
diff -wruN -x '*~' -x '*.o' -x '*.a' -x '*.so' -x '*.so.[0-9]' -x autom4te.cache -x .deps -x .libs ../orig-freeipmi-1.4.2/ipmipower/ipmipower_ping.c ./ipmipower/ipmipower_ping.c
--- ../orig-freeipmi-1.4.2/ipmipower/ipmipower_ping.c	2014-03-20 00:02:25.000000000 +0100
+++ ./ipmipower/ipmipower_ping.c	2014-05-07 08:23:35.006832873 +0200
@@ -405,6 +405,7 @@
 		  exit (EXIT_FAILURE);
 		}
 
+#ifndef NDEBUG
 	      if (cmd_args.rmcpdump)
 		{
 		  char hdrbuf[DEBUG_UTIL_HDR_BUFLEN];
@@ -429,6 +430,7 @@
 					    tmpl_cmd_get_channel_authentication_capabilities_rs) < 0)
 		    IPMIPOWER_DEBUG (("ipmi_dump_lan_packet: %s", strerror (errno)));
 		}
+#endif /* NDEBUG */
 
 	      if ((checksum_ret = ipmi_lan_check_packet_checksum (buf, len)) < 0)
 		{
_______________________________________________
Freeipmi-devel mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/freeipmi-devel

Reply via email to