public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: "Ivan G." <ivangurdiev@yahoo.com>
To: LKML <linux-kernel@vger.kernel.org>
Subject: 2.5.8-pre2: Linker Failure
Date: Sat, 6 Apr 2002 15:05:25 -0700	[thread overview]
Message-ID: <02040615052502.00758@cobra.linux> (raw)
In-Reply-To: <02040608575201.10881@cobra.linux>

2.5.8-pre2
Patch causes a linker failure for fs/dquot.c.

 diff -Nru a/fs/dquot.c b/fs/dquot.c
 --- a/fs/dquot.c        Fri Apr  5 16:56:33 2002
 +++ b/fs/dquot.c        Fri Apr  5 16:56:33 2002

 ...

 -       kmem_cache_shrink(dquot_cachep);
 -       return 0;
 +       return kmem_cache_shrink_nr(dquot_cachep);

 ...

 gcc -D__KERNEL__ -I/usr/src/linux-2.5.8-pre2/include -Wall
 -Wstrict-prototypes -Wno-trigraphs -O2 -fomit-frame-
 pointer -fno-strict-aliasing -fno-common -pipe -mpreferred-stack-boundary=2
 -march=athlon    -DKBUILD_BASENAME=
 dec_and_lock  -c -o dec_and_lock.o dec_and_lock.c
 rm -f lib.a
 ar  rcs lib.a checksum.o old-checksum.o delay.o usercopy.o getuser.o
 memcpy.o strstr.o mmx.o dec_and_lock.o
 make[2]: Leaving directory `/usr/src/linux-2.5.8-pre2/arch/i386/lib'
 make[1]: Leaving directory `/usr/src/linux-2.5.8-pre2/arch/i386/lib'
 ld -m elf_i386 -T /usr/src/linux-2.5.8-pre2/arch/i386/vmlinux.lds -e stext
 arch/i386/kernel/head.o arch/i386/ke
 rnel/init_task.o init/main.o init/version.o init/do_mounts.o \
         --start-group \
         arch/i386/kernel/kernel.o arch/i386/mm/mm.o kernel/kernel.o mm/mm.o
 fs/fs.o ipc/ipc.o \
         /usr/src/linux-2.5.8-pre2/arch/i386/lib/lib.a
 /usr/src/linux-2.5.8-pre2/lib/lib.a /usr/src/linux-2.5.8-
 pre2/arch/i386/lib/lib.a \
          drivers/acpi/acpi.o drivers/parport/driver.o drivers/base/base.o
 drivers/char/char.o drivers/block/blo
 ck.o drivers/misc/misc.o drivers/net/net.o drivers/media/media.o
 drivers/ide/idedriver.o drivers/cdrom/driver.o
  sound/sound.o drivers/pci/driver.o drivers/video/video.o \
         net/network.o \
         --end-group \
         -o vmlinux
 fs/fs.o: In function `shrink_dqcache_memory':
 fs/fs.o(.text+0x1da31): undefined reference to `kmem_cache_shrink_nr'
 make: *** [vmlinux] Error 1

           reply	other threads:[~2002-04-06 22:10 UTC|newest]

Thread overview: expand[flat|nested]  mbox.gz  Atom feed
 [parent not found: <02040608575201.10881@cobra.linux>]

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=02040615052502.00758@cobra.linux \
    --to=ivangurdiev@yahoo.com \
    --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