* Preemptible 2.4.10-pre15 compile error
@ 2001-09-23 12:38 Steve Kieu
2001-09-23 16:49 ` Robert Love
0 siblings, 1 reply; 4+ messages in thread
From: Steve Kieu @ 2001-09-23 12:38 UTC (permalink / raw)
To: kernel
Hi,
Exactly, make modules error
make[2]: Entering directory
`/home/sk/src/linux/fs/adfs'
gcc -D__KERNEL__ -I/home/sk/src/linux/include -Wall
-Wstrict-prototypes -Wno-trigraphs -O3
-fomit-frame-pointer -fno-strict-aliasing -fno-common
-mcpu=i686 -march=i686 -fno-strength-reduce -pipe
-mpreferred-stack-boundary=2 -march=i686 -DMODULE -c
-o map.o map.c
map.c: In function `adfs_map_lookup':
map.c:271: `current' undeclared (first use in this
function)
map.c:271: (Each undeclared identifier is reported
only once
map.c:271: for each function it appears in.)
map.c:273: warning: implicit declaration of function
`preempt_schedule'
make[2]: *** [map.o] Error 1
make[2]: Leaving directory
`/home/sk/src/linux/fs/adfs'
make[1]: *** [_modsubdir_adfs] Error 2
make[1]: Leaving directory `/home/sk/src/linux/fs'
make: *** [_mod_fs] Error 2
=====
S.KIEU
http://travel.yahoo.com.au - Yahoo! Travel
- Got Itchy feet? Get inspired!
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Preemptible 2.4.10-pre15 compile error
2001-09-23 12:38 Preemptible 2.4.10-pre15 compile error Steve Kieu
@ 2001-09-23 16:49 ` Robert Love
0 siblings, 0 replies; 4+ messages in thread
From: Robert Love @ 2001-09-23 16:49 UTC (permalink / raw)
To: Steve Kieu; +Cc: kernel
On Sun, 2001-09-23 at 08:38, Steve Kieu wrote:
> Hi,
>
> Exactly, make modules error
Please try the following patch, it should apply cleanly to any
2.4.10-pre or 2.4.9-ac -- it should fix the compile issue with
preemption. Please report back if it is successful so I can merge the
patch into the preemption patch itself.
diff -urN linux-2.4.9-ac14-preempt/fs/adfs/map.c linux/fs/adfs/map.c
--- linux-2.4.9-ac14-preempt/fs/adfs/map.c Sat Sep 22 23:20:09 2001
+++ linux/fs/adfs/map.c Sun Sep 23 12:46:21 2001
@@ -12,6 +12,7 @@
#include <linux/fs.h>
#include <linux/adfs_fs.h>
#include <linux/spinlock.h>
+#include <linux/sched.h>
#include "adfs.h"
--
Robert M. Love
rml at ufl.edu
rml at tech9.net
^ permalink raw reply [flat|nested] 4+ messages in thread
[parent not found: <1001292905.8420.0.camel@phantasy>]
end of thread, other threads:[~2001-09-24 2:59 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-09-23 12:38 Preemptible 2.4.10-pre15 compile error Steve Kieu
2001-09-23 16:49 ` Robert Love
[not found] <1001292905.8420.0.camel@phantasy>
2001-09-24 2:58 ` Steve Kieu
2001-09-24 3:00 ` Robert Love
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox