lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <9a8748490708021257q2f28f8d5y4fdcebaca587fe8a@mail.gmail.com>
Date:	Thu, 2 Aug 2007 21:57:07 +0200
From:	"Jesper Juhl" <jesper.juhl@...il.com>
To:	linux-kernel@...r.kernel.org
Cc:	"Dipankar Sarma" <dipankar@...ibm.com>
Subject: error: implicit declaration of function 'rcu_dereference' - current -git fails to build

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@...il.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
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ