mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: "Jesper Juhl" <jesper.juhl@gmail.com>
To: linux-kernel@vger.kernel.org
Cc: "Dipankar Sarma" <dipankar@in.ibm.com>
Subject: error: implicit declaration of function 'rcu_dereference' - current -git fails to build
Date: Thu, 2 Aug 2007 21:57:07 +0200	[thread overview]
Message-ID: <9a8748490708021257q2f28f8d5y4fdcebaca587fe8a@mail.gmail.com> (raw)

I get this build error with the current mainline git tree.
Let me know if further details are needed...

...
In file included from include/linux/sched.h:75,
                 from include/linux/smp_lock.h:5,
                 from include/linux/hardirq.h:5,
                 from include/linux/slub_def.h:13,
                 from include/linux/slab.h:116,
                 from include/linux/percpu.h:5,
                 from include/linux/rcupdate.h:41,
                 from include/linux/key.h:21,
                 from include/linux/syscalls.h:67,
                 from init/noinitramfs.c:23:
include/linux/pid.h:51: error: field 'rcu' has incomplete type
In file included from include/linux/smp_lock.h:5,
                 from include/linux/hardirq.h:5,
                 from include/linux/slub_def.h:13,
                 from include/linux/slab.h:116,
                 from include/linux/percpu.h:5,
                 from include/linux/rcupdate.h:41,
                 from include/linux/key.h:21,
                 from include/linux/syscalls.h:67,
                 from init/noinitramfs.c:23:
include/linux/sched.h:1187: error: field 'rcu' has incomplete type
include/linux/sched.h: In function 'next_thread':
include/linux/sched.h:1650: error: implicit declaration of function
'rcu_dereference'
include/linux/sched.h:1650: warning: initialization makes pointer from
integer without a cast
make[1]: *** [init/noinitramfs.o] Error 1
make: *** [init] Error 2


-- 
Jesper Juhl <jesper.juhl@gmail.com>
Don't top-post  http://www.catb.org/~esr/jargon/html/T/top-post.html
Plain text mails only, please      http://www.expita.com/nomime.html

             reply	other threads:[~2007-08-02 19:57 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-08-02 19:57 Jesper Juhl [this message]
2007-08-02 20:10 ` Jesper Juhl
2007-08-02 20:13 ` Adrian Bunk
2007-08-02 20:16   ` Jesper Juhl
2007-08-02 20:49     ` Jesper Juhl

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=9a8748490708021257q2f28f8d5y4fdcebaca587fe8a@mail.gmail.com \
    --to=jesper.juhl@gmail.com \
    --cc=dipankar@in.ibm.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

all inboxes | Powered by JetHome®