From: Preston Crow <pc-lkml141101@crowcastle.net>
To: linux-kernel@vger.kernel.org
Subject: Re: Compile failed on fs.o for 2.4.15-pre4
Date: Thu, 15 Nov 2001 10:36:15 -0500 [thread overview]
Message-ID: <200111151536.fAFFaFI32118@lol1122.lss.emc.com> (raw)
I wrote:
> After making the patch to setup.c so that it would compile, I ran into a
> linking error. I have a fairly standard uniprocessor PIII system. I can
> make my config file available to anyone that thinks it will help.
> fs/fs.o: In function `dput':
> fs/fs.o(.text+0x10fb8): undefined reference to `atomic_dec_and_lock'
> make: *** [vmlinux] Error 1
Dick Johnson replied:
> Assuming that your version is similar to mine....
>
> In ...linux/fs/dcache.c add ...
> #include <linux/spinlock.h>
I tried that. The error is coming from fs/dcache.c, and it does look like
including that file is a good idea, but no matter where I put the #include
directive, I still get the same error.
[Please CC responses to me]
--PC
next reply other threads:[~2001-11-15 15:36 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-11-15 15:36 Preston Crow [this message]
-- strict thread matches above, loose matches on Subject: below --
2001-11-15 17:43 Preston Crow
2001-11-14 20:55 Preston Crow
2001-11-14 21:08 ` Richard B. Johnson
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=200111151536.fAFFaFI32118@lol1122.lss.emc.com \
--to=pc-lkml141101@crowcastle.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®