https://bugzilla.novell.com/show_bug.cgi?id=394216 User bugproxy@us.ibm.com added comment https://bugzilla.novell.com/show_bug.cgi?id=394216#c7 --- Comment #7 from LTC BugProxy <bugproxy@us.ibm.com> 2008-06-02 03:49:14 MDT --- ------- Comment From IndhuDurai@in.ibm.com 2008-06-02 05:43 EDT------- hi, I am hitting the following error, after applying the patch provided by Bernhard Walle, Error: kexec/kexec.o: In function `k_unload': /usr/src/packages/BUILD/kexec-tools-testing-20080324/kexec/kexec.c:720: undefined reference to `physical_arch' collect2: ld returned 1 exit status make: *** [build/sbin/kexec] Error 1 Patch: diff --git a/kexec/kexec.c b/kexec/kexec.c index 096fa4f..1550d68 100644 --- a/kexec/kexec.c +++ b/kexec/kexec.c @@ -702,6 +702,14 @@ static int my_load(const char *type, int fileind, int argc, char **argv, int k_unload (unsigned long kexec_flags) { int result; + long native_arch; + + /* set the arch */ + native_arch = physical_arch(); + if (native_arch < 0) { + return -1; + } + kexec_flags |= native_arch; result = kexec_load(NULL, 0, NULL, kexec_flags); if (result != 0) { I see the following function call "native_arch = physical_arch();" in the patch provided and there is no definition for physical_arch(). -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.