mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* Issue compiling 2.4test10
@ 2000-11-02  1:32 Eric Reischer
  2000-11-02  9:22 ` Michael Schmitz
  0 siblings, 1 reply; 4+ messages in thread
From: Eric Reischer @ 2000-11-02  1:32 UTC (permalink / raw)
  To: linux-kernel; +Cc: linuxppc-dev

I am attempting to cross-compile a 2.4 kernel for a PowerPC arch on an 
Intel machine, of which I have Debian 2.2 installed.  I have successfully 
compiled a 2.4test9 kernel, but I got the following error message the first 
time I compiled (it failed due to this):

powerpc-unknown-linux-gnu-ld -T arch/ppc/mm/mm.o <blah blah blah on same 
command for about 11 lines>
drivers/input/inputdrv.o: In function 'keybdev_event':
drivers/input/inputdrv.o(.text+0x16bc): undefined reference to 'emulate_raw'
drivers/input/inputdrv.o(.text+0x16bc): relocation truncated to fit: 
R_PPC_REL24 emulate_raw
make: *** [vmlinux] Error 1


Quoting Martin Costabel <costabel@wanadoo.fr>:

<snip>
The function emulate_raw is used without any ifs, but its definition
some lines earlier is enclosed in either
#if defined(CONFIG_X86) || defined(CONFIG_IA64) || defined(__alpha__) ||
defined(__mips__)
or
#elif defined(CONFIG_ADB_KEYBOARD)
So in your case you would need to put CONFIG_ADB_KEYBOARD=y into your
.config file. Or change these weird #ifs.
The bitkeeper version of the file is somewhat better in that it uses only 
one set of conditionals,
#if defined(CONFIG_X86) || defined(CONFIG_IA64) || defined(__alpha__) ||
defined (__mips__) || defined(CONFIG_PPC)
but the function is still used without any condition.
</snip>

 From what he tells me, this remains an issue in the test10 release.  I 
disabled the entire feature from within xconfig, recompiled, and it 
succeeded.  If you need any more info, let me know and I'll see what I can do.



----------
Eric Reischer                                   "You can't depend on your eyes
emr@engr.de.psu.edu                            if your imagination is out 
of focus."
emr@ccil.org                                                    -- Mark Twain

----------

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2000-11-13  9:20 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2000-11-02  1:32 Issue compiling 2.4test10 Eric Reischer
2000-11-02  9:22 ` Michael Schmitz
2000-11-13  9:12   ` Karim Yaghmour
2000-11-13  9:19     ` Michael Schmitz

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®