All of lore.kernel.org
 help / color / mirror / Atom feed
* build failure 11/05 snapshot
@ 2002-11-08 22:29 Cliff White
  2002-11-11 19:00 ` Cliff White
  0 siblings, 1 reply; 5+ messages in thread
From: Cliff White @ 2002-11-08 22:29 UTC (permalink / raw)
  To: reiserfs-list, reiserfs-dev

attempting to build the 11.05 snapshot, using current bk tree:
-----------------------------------
gcc -Wp,-MD,fs/reiser4/plugin/item/.static_stat.o.d -D__KERNEL__ -Iinclude 
-Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fomit-frame-pointer 
-fno-strict-aliasing -fno-common -pipe -mpreferred-stack-boundary=2 
-march=i686 -Iarch/i386/mach-generic -nostdinc -iwithprefix include -DMODULE 
-include include/linux/modversions.h   -DKBUILD_BASENAME=static_stat   -c -o 
fs/reiser4/plugin/item/static_stat.o fs/reiser4/plugin/item/static_stat.c
fs/reiser4/plugin/item/static_stat.c: In function `sd_load':
fs/reiser4/plugin/item/static_stat.c:265: `event' undeclared (first use in 
this function)
fs/reiser4/plugin/item/static_stat.c:265: (Each undeclared identifier is 
reported only once
fs/reiser4/plugin/item/static_stat.c:265: for each function it appears in.)
make[2]: *** [fs/reiser4/plugin/item/static_stat.o] Error 1
make[1]: *** [fs/reiser4] Error 2
make: *** [fs] Error 2

cliffw



^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: build failure 11/05 snapshot
  2002-11-08 22:29 build failure 11/05 snapshot Cliff White
@ 2002-11-11 19:00 ` Cliff White
  2002-11-11 19:03   ` Nikita Danilov
  0 siblings, 1 reply; 5+ messages in thread
From: Cliff White @ 2002-11-11 19:00 UTC (permalink / raw)
  To: Nikita, reiser; +Cc: reiserfs-list, reiserfs-dev, cliffw


Ths is a re-send, haven't received any response, haven't seen any
newer snapshots. Attempted to build today with 2.5.47 bk tree, exact
same error. 
When new code?
cliffw

> attempting to build the 11.05 snapshot, using current bk tree:
> -----------------------------------
> gcc -Wp,-MD,fs/reiser4/plugin/item/.static_stat.o.d -D__KERNEL__ -Iinclude 
> -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fomit-frame-pointer 
> -fno-strict-aliasing -fno-common -pipe -mpreferred-stack-boundary=2 
> -march=i686 -Iarch/i386/mach-generic -nostdinc -iwithprefix include -DMODULE 
> -include include/linux/modversions.h   -DKBUILD_BASENAME=static_stat   -c -o 
> fs/reiser4/plugin/item/static_stat.o fs/reiser4/plugin/item/static_stat.c
> fs/reiser4/plugin/item/static_stat.c: In function `sd_load':
> fs/reiser4/plugin/item/static_stat.c:265: `event' undeclared (first use in 
> this function)
> fs/reiser4/plugin/item/static_stat.c:265: (Each undeclared identifier is 
> reported only once
> fs/reiser4/plugin/item/static_stat.c:265: for each function it appears in.)
> make[2]: *** [fs/reiser4/plugin/item/static_stat.o] Error 1
> make[1]: *** [fs/reiser4] Error 2
> make: *** [fs] Error 2
> 
> cliffw
> 
> 



^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: build failure 11/05 snapshot
  2002-11-11 19:00 ` Cliff White
@ 2002-11-11 19:03   ` Nikita Danilov
  2002-11-11 20:53     ` Cliff White
  0 siblings, 1 reply; 5+ messages in thread
From: Nikita Danilov @ 2002-11-11 19:03 UTC (permalink / raw)
  To: Cliff White; +Cc: reiser, reiserfs-list, reiserfs-dev

Cliff White writes:
 > 
 > Ths is a re-send, haven't received any response, haven't seen any

Sorry for delay.

 > newer snapshots. Attempted to build today with 2.5.47 bk tree, exact
 > same error. 
 > When new code?

We hope to produce new snapshot to-morrow.

For now just comment out 

inode->i_version = ++event;

in line 265 of fs/reiser4/plugin/item/static_stat.c---you are just
compiling with newer version of core kernel than one snapshot was made for.

 > cliffw
 > 

Nikita.

 > > attempting to build the 11.05 snapshot, using current bk tree:
 > > -----------------------------------
 > > gcc -Wp,-MD,fs/reiser4/plugin/item/.static_stat.o.d -D__KERNEL__ -Iinclude 
 > > -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fomit-frame-pointer 
 > > -fno-strict-aliasing -fno-common -pipe -mpreferred-stack-boundary=2 
 > > -march=i686 -Iarch/i386/mach-generic -nostdinc -iwithprefix include -DMODULE 
 > > -include include/linux/modversions.h   -DKBUILD_BASENAME=static_stat   -c -o 
 > > fs/reiser4/plugin/item/static_stat.o fs/reiser4/plugin/item/static_stat.c
 > > fs/reiser4/plugin/item/static_stat.c: In function `sd_load':
 > > fs/reiser4/plugin/item/static_stat.c:265: `event' undeclared (first use in 
 > > this function)
 > > fs/reiser4/plugin/item/static_stat.c:265: (Each undeclared identifier is 
 > > reported only once
 > > fs/reiser4/plugin/item/static_stat.c:265: for each function it appears in.)
 > > make[2]: *** [fs/reiser4/plugin/item/static_stat.o] Error 1
 > > make[1]: *** [fs/reiser4] Error 2
 > > make: *** [fs] Error 2
 > > 
 > > cliffw
 > > 
 > > 
 > 
 > 

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: build failure 11/05 snapshot
  2002-11-11 19:03   ` Nikita Danilov
@ 2002-11-11 20:53     ` Cliff White
  2002-11-12 12:06       ` Nikita Danilov
  0 siblings, 1 reply; 5+ messages in thread
From: Cliff White @ 2002-11-11 20:53 UTC (permalink / raw)
  To: Nikita Danilov; +Cc: Cliff White, reiser, reiserfs-list, reiserfs-dev, cliffw

Code now builds, module will not install:

 modprobe reiser4
/lib/modules/2.5.47-rfs/kernel/fs/reiser4/reiser4.o: unresolved symbol 
balance_dirty_pages
/lib/modules/2.5.47-rfs/kernel/fs/reiser4/reiser4.o: unresolved symbol 
page_states__per_cpu
/lib/modules/2.5.47-rfs/kernel/fs/reiser4/reiser4.o: insmod 
/lib/modules/2.5.47-rfs/kernel/fs/reiser4/reiser4.o failed
/lib/modules/2.5.47-rfs/kernel/fs/reiser4/reiser4.o: insmod reiser4 failed
-------------
Will be re-trying on a different machine.
Will try to build reiser4 into the kernel this time.
cliffw



^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: build failure 11/05 snapshot
  2002-11-11 20:53     ` Cliff White
@ 2002-11-12 12:06       ` Nikita Danilov
  0 siblings, 0 replies; 5+ messages in thread
From: Nikita Danilov @ 2002-11-12 12:06 UTC (permalink / raw)
  To: Cliff White; +Cc: reiserfs-list, reiserfs-dev

Cliff White writes:
 > Code now builds, module will not install:
 > 
 >  modprobe reiser4
 > /lib/modules/2.5.47-rfs/kernel/fs/reiser4/reiser4.o: unresolved symbol 
 > balance_dirty_pages

Hmm. This is strange. balance_dirty_pages() is marked
EXPORT_SYMBOL_GPL() in mm/page-writeback.c.

 > /lib/modules/2.5.47-rfs/kernel/fs/reiser4/reiser4.o: unresolved symbol 
 > page_states__per_cpu

Yes, this is known bug in the handling of exports of per-cpu data. Try
this patch (by Rusty Russell):
----------------------------------------------------------------------
diff -urpN --exclude TAGS -X /home/rusty/devel/kernel/kernel-patches/current-dontdiff \
--minimal linux-2.5.45/include/asm-generic/percpu.h \
                working-2.5.45-tmp/include/asm-generic/percpu.h
--- linux-2.5.45/include/asm-generic/percpu.h	2002-10-31 12:36:56.000000000 +1100
+++ working-2.5.45-tmp/include/asm-generic/percpu.h	2002-11-02 09:20:06.000000000 \
+1100 @@ -35,4 +35,10 @@ extern unsigned long __per_cpu_offset[NR
 #define EXPORT_PER_CPU_SYMBOL(var) EXPORT_SYMBOL(var##__per_cpu)
 #define EXPORT_PER_CPU_SYMBOL_GPL(var) EXPORT_SYMBOL_GPL(var##__per_cpu)
 
+/* Genksyms can't follow the percpu declaration.  Give it a fake one. */
+#ifdef __GENKSYMS__
+#undef DEFINE_PER_CPU
+#define DEFINE_PER_CPU(type, name) type name##__per_cpu
+#endif /*__GENKSYMS__*/
+
 #endif /* _ASM_GENERIC_PERCPU_H_ */
----------------------------------------------------------------------

 > /lib/modules/2.5.47-rfs/kernel/fs/reiser4/reiser4.o: insmod 
 > /lib/modules/2.5.47-rfs/kernel/fs/reiser4/reiser4.o failed
 > /lib/modules/2.5.47-rfs/kernel/fs/reiser4/reiser4.o: insmod reiser4 failed
 > -------------
 > Will be re-trying on a different machine.
 > Will try to build reiser4 into the kernel this time.
 > cliffw

Nikita.

 > 
 > 

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2002-11-12 12:06 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-11-08 22:29 build failure 11/05 snapshot Cliff White
2002-11-11 19:00 ` Cliff White
2002-11-11 19:03   ` Nikita Danilov
2002-11-11 20:53     ` Cliff White
2002-11-12 12:06       ` Nikita Danilov

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.