mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Phil Howard <phil-linux-kernel@ipal.net>
To: linux-kernel@vger.kernel.org
Subject: 2.4.15: undefined reference to `show_trace_task'
Date: Fri, 23 Nov 2001 17:36:02 -0600	[thread overview]
Message-ID: <20011123173602.A14759@vega.ipal.net> (raw)

While compiling 2.4.15 for sparc (32-bit) platform I encounted:

=============================================================================
ld -m elf32_sparc -T arch/sparc/vmlinux.lds arch/sparc/kernel/head.o arch/sparc/kernel/init_task.o init/main.o init/version.o \
        --start-group \
        arch/sparc/kernel/kernel.o arch/sparc/mm/mm.o kernel/kernel.o mm/mm.o fs/fs.o ipc/ipc.o arch/sparc/math-emu/math-emu.o arch/sparc/boot/btfix.o \
         drivers/char/char.o drivers/block/block.o drivers/misc/misc.o drivers/net/net.o drivers/media/media.o drivers/scsi/scsidrv.o drivers/cdrom/driver.o drivers/sbus/sbus_all.o drivers/video/video.o \
        net/network.o \
        /home/root/kernel-2.4.15/linux/lib/lib.a /home/root/kernel-2.4.15/linux/lib/lib.a /home/root/kernel-2.4.15/linux/arch/sparc/prom/promlib.a /home/root/kernel-2.4.15/linux/arch/sparc/lib/lib.a \
        --end-group \
        -o vmlinux
kernel/kernel.o: In function `show_task':
kernel/kernel.o(.text+0x16a4): undefined reference to `show_trace_task'
make: *** [vmlinux] Error 1
=============================================================================

I scanned all source files for "show_trace_task" and found:

=============================================================================
arch/alpha/kernel/traps.c:132:void show_trace_task(struct task_struct * tsk)
arch/arm/kernel/traps.c:154:void show_trace_task(struct task_struct *tsk)
arch/i386/kernel/traps.c:156:void show_trace_task(struct task_struct *tsk)
arch/sparc64/kernel/traps.c:1406:void show_trace_task(struct task_struct *tsk)
kernel/sched.c:1160:            extern void show_trace_task(struct task_struct *tsk);
kernel/sched.c:1161:            show_trace_task(p);
=============================================================================

It looks like this didn't get implement across all platforms.

Can the call to show_trace_task() in kernel/sched.c be safely commented
out for now?

-- 
-----------------------------------------------------------------
| Phil Howard - KA9WGN |   Dallas   | http://linuxhomepage.com/ |
| phil-nospam@ipal.net | Texas, USA | http://phil.ipal.org/     |
-----------------------------------------------------------------



-- 
-----------------------------------------------------------------
| Phil Howard - KA9WGN |   Dallas   | http://linuxhomepage.com/ |
| phil-nospam@ipal.net | Texas, USA | http://phil.ipal.org/     |
-----------------------------------------------------------------

             reply	other threads:[~2001-11-23 23:36 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-11-23 23:36 Phil Howard [this message]
2001-11-23 23:47 ` Anton Blanchard

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=20011123173602.A14759@vega.ipal.net \
    --to=phil-linux-kernel@ipal.net \
    --cc=linux-kernel@vger.kernel.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®