From: Eric Reischer <emr@engr.de.psu.edu>
To: linux-kernel@vger.kernel.org
Cc: linuxppc-dev@lists.linuxppc.org
Subject: Issue compiling 2.4test10
Date: Wed, 01 Nov 2000 20:32:35 -0500 [thread overview]
Message-ID: <4.2.0.58.20001101202452.00a79440@engr.de.psu.edu> (raw)
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/
next reply other threads:[~2000-11-02 1:33 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2000-11-02 1:32 Eric Reischer [this message]
2000-11-02 9:22 ` Michael Schmitz
2000-11-13 9:12 ` Karim Yaghmour
2000-11-13 9:19 ` Michael Schmitz
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4.2.0.58.20001101202452.00a79440@engr.de.psu.edu \
--to=emr@engr.de.psu.edu \
--cc=linux-kernel@vger.kernel.org \
--cc=linuxppc-dev@lists.linuxppc.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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®