bug-gnu-utils
[Top][All Lists]
Advanced

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

Just another bug report


From: Ted Ma
Subject: Just another bug report
Date: Wed, 25 Apr 2001 17:58:56 -0400

Hi,
    Found a bug in ld error reporting. An undefined reference was found
(we're trying to port the kernel). The report was right, but reported
for the wrong file and wrong line number.

    If you want the files in the directory, I've taken a snapshot of the
tree for later reference if you need any of the files for debugging. I'm
not worried about the bug - doesn't affect a clean build, but just makes
life a little more interesting.

    The actual reference to "console_setup" was from atlas_setup.c line
74.

    The following is a screen snapshot.

____________________________________________
-ld -static -G 0 -T arch/mipsnommu/ld.script
arch/mipsnommu/kernel/head.o arch/mipsnommu/kernel/init_task.o
init/main.o init/version.o \
        --start-group \
        arch/mipsnommu/kernel/kernel.o arch/mipsnommu/mm/mm.o
kernel/kernel.o fs/fs.o ipc/ipc.o mm/mm.o
arch/mipsnommu/math-emu/fpu_emulator.o \
        drivers/block/block.o drivers/char/char.o drivers/misc/misc.o
drivers/net/net.o drivers/media/media.o  drivers/parport/driver.o
drivers/pci/driver.o drivers/input/inputdrv.o \
        net/network.o \
        arch/mipsnommu/lib/lib.a
/home/mated/mipsnommu/uClinux-2.4/lib/lib.a
arch/mipsnommu/mips-boards/atlas/atlas.o
arch/mipsnommu/mips-boards/generic/mipsboards.o \
        --end-group \
        -o vmlinux
arch/mipsnommu/mips-boards/atlas/atlas.o: In function `no symbol':
/home/mated/mipsnommu/uClinux-2.4/arch/mipsnommu/mips-boards/atlas/atlas_int.c:110:
undefined reference to `console_setup'
make: *** [vmlinux] Error 1
address@hidden:~/mipsnommu/uClinux-2.4 > mipsel-linux-ld --version
GNU ld 2.11.90.0.1
Copyright 2001 Free Software Foundation, Inc.
This program is free software; you may redistribute it under the terms
of
the GNU General Public License.  This program has absolutely no
warranty.
  Supported emulations:
   elf32lsmip
   elf32bsmip
   mipslit
   mipsbig 
_____________________________
-- 
        ...MaTed (Ted Ma)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]