[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

undefined reference to `xmon_wants_key'



Recently, I am unable to build Andrew Morton's -mm kernel distribution -


[...]
drivers/built-in.o: In function
`via_pmu_interrupt':via-pmu.c:(.text+0x7cab2): undefined reference to
`xmon_wants_key'
:via-pmu.c:(.text+0x7cab6): undefined reference to `xmon_wants_key'
:via-pmu.c:(.text+0x7cac6): undefined reference to `xmon_adb_keycode'
:via-pmu.c:(.text+0x7caca): undefined reference to `xmon_adb_keycode'
[...]


However, I checked - & while 2.6.15-rc5-mm1 fails as above, 2.6.15-rc5
succeeds

The only change to via-pmu.c in Andrew's patch is part of
git-powerpc.patch - I guess this is maybe the offending section - or
related to it? -


[...]
-#if defined(CONFIG_XMON) && !defined(CONFIG_PPC64)
                        if (len == 4 && data[1] == 0x2c) {
                                extern int xmon_wants_key, xmon_adb_keycode;
                                if (xmon_wants_key) {
@@ -1379,7 +1403,6 @@ next:
                                        return;
                                }
                        }
-#endif /* defined(CONFIG_XMON) && !defined(CONFIG_PPC64) */
[...]


This is my 2.6.15-rc5-mm1 kernel configuration -
http://cgi.sfu.ca/~jdbates/tmp/kernel/fis-200512050

& this is my 2.6.15-rc5 kernel configuration -
http://cgi.sfu.ca/~jdbates/tmp/kernel/fis-200512051

This problem has persisted for me for a couple versions of -mm - please
advise what I can do to better identify the problem - or where I should
more appropriately send a bug report

Many thanks!

Jack

Attachment: signature.asc
Description: Digital signature


Reply to: