[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Freeipmi-users] make compile error on x86_64 opteron
From: |
Anand Babu |
Subject: |
Re: [Freeipmi-users] make compile error on x86_64 opteron |
Date: |
Mon, 10 Jan 2005 01:25:20 -0800 |
User-agent: |
Gnus/5.1007 (Gnus v5.10.7) Emacs/21.3 (gnu/linux) |
,----[ "Jan Tiri" <address@hidden> ]
| Some patching failed, but I was able to apply the failed items myself
|
| patching file fish/src/fi-commands.c
| patching file fish/src/fi-utils.c
| Hunk #3 FAILED at 338.
| 1 out of 3 hunks FAILED -- saving rejects to file fish/src/fi-utils.c.rej
| patching file fish/src/fish.c
| Hunk #2 FAILED at 170.
| 1 out of 2 hunks FAILED -- saving rejects to file fish/src/fish.c.rej
| patching file fish/src/xmalloc.c
| patching file fish/src/xmalloc.h
`----
Really, I tested the patch again, It applies cleanly!
Are you using the GNU FreeIPMI 0.1.3 downloaded from
http://www.gnu.org/software/freeipmi/download.html
,----[ "Jan Tiri" <address@hidden> ]
| However, the compiling got now stuck at;
| ipmipower_output.c:128: error: conflicting types for 'ipmipower_output_index'
| ipmipower_output.h:45: error: previous declaration of
| 'ipmipower_output_index' was here
| ipmipower_output.c:128: error: conflicting types for 'ipmipower_output_index'
| ipmipower_output.h:45: error: previous declaration of
| 'ipmipower_output_index' was here
| make[3]: *** [ipmipower_output.o] Error 1
| make[3]: Leaving directory `/tmp/freeipmi-0.1.3/ipmipower/src'
| make[2]: *** [all-recursive] Error 1
| make[2]: Leaving directory `/tmp/freeipmi-0.1.3/ipmipower'
| make[1]: *** [all-recursive] Error 1
| make[1]: Leaving directory `/tmp/freeipmi-0.1.3'
| make: *** [all] Error 2
`----
Thats a good catch. I am wondering how it compiled cleanly for us!!
You can help us evaluate the source compilation before each release.
Here is the patch:
-------8><-------8><----[ cut here ]-----8><-------8><--------
diff -pruN freeipmi-0.1.3/ipmipower/src/ipmipower_output.c
freeipmi-0.1.3-ab/ipmipower/src/ipmipower_output.c
--- freeipmi-0.1.3/ipmipower/src/ipmipower_output.c 2004-10-04
18:09:55.000000000 -0700
+++ freeipmi-0.1.3-ab/ipmipower/src/ipmipower_output.c 2005-01-10
01:16:16.000000000 -0800
@@ -123,7 +123,7 @@ ipmipower_output_finish(void)
return;
}
-auth_type_t
+output_type_t
ipmipower_output_index(char *str)
{
assert(str != NULL);
-------8><-------8><----[ cut here ]-----8><-------8><--------
--
Anand Babu
Free as in Freedom <www.gnu.org>