Hi,
Remove a line of "EXPORT_SYMBOL(buffermem_pages);" in
the linux/kernel/ksyms.c, then you should compile the kernel.
Regards,
Wensong
On Sun, 4 Nov 2001, Adam: Kurzawa wrote:
> Hi,
>
> EXACTLY the same problem as yours, after applying BOTH, the lvs
> and ext3 patches I get the same compilation errors. Either of
> the patches applied exclusively works fine.
>
> Kind regards,
> Adam: Kurzawa
>
> -----Original Message-----
> From: lvs-users-admin@xxxxxxxxxxxxxxxxxxxxxx
> [mailto:lvs-users-admin@xxxxxxxxxxxxxxxxxxxxxx] On Behalf Of Alexandre
> Cassen
> Sent: Sunday, November 04, 2001 6:27 PM
> To: lvs-users@xxxxxxxxxxxxxxxxxxxxxx
> Subject: Re: LVS and ext3 conflict
>
> Hi,
>
> At 23:37 04/11/2001 +0100, you wrote:
> >I experienced some problems with ext3.. but nothing to do with lvs..
> >what's your problem ??
>
> -----[ kernel ]-----
> ext3-2.4-0.9.13-2413
> IP Virtual Server version 0.9.6
> kernel 2.4.13
>
> -----[ kernel compile trace ]-----
> hs -O2 -fomit-frame-pointer -fno-strict-aliasing -fno-common -pipe
> -mpreferred-stack-boundary=2 -march=i686 -c -o memcpy.o memcpy.c
> gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes
> -Wno-trigraphs -O2 -fomit-frame-pointer -fno-strict-aliasing -fno-common
>
> -pipe -mpreferred-stack-boundary=2 -march=i686 -c -o strstr.o
> strstr.c
> rm -f lib.a
> ar rcs lib.a checksum.o old-checksum.o delay.o usercopy.o getuser.o
> memcpy.o strstr.o
> make[2]: Quitte le répertoire `/usr/src/linux/arch/i386/lib'
> make[1]: Quitte le répertoire `/usr/src/linux/arch/i386/lib'
> ld -m elf_i386 -T /usr/src/linux/arch/i386/vmlinux.lds -e stext
> arch/i386/kernel/head.o arch/i386/kernel/init_task.o init/main.o
> init/version.o \
> --start-group \
> arch/i386/kernel/kernel.o arch/i386/mm/mm.o kernel/kernel.o
> mm/mm.o fs/fs.o ipc/ipc.o \
> drivers/char/char.o drivers/block/block.o drivers/misc/misc.o
> drivers/net/net.o drivers/media/media.o drivers/char/agp/agp.o
> drivers/char/drm/drm.o drivers/ide/idedriver.o drivers/cdrom/driver.o
> drivers/sound/sounddrivers.o drivers/pci/driver.o drivers/pnp/pnp.o
> drivers/video/video.o \
> net/network.o \
> /usr/src/linux/arch/i386/lib/lib.a /usr/src/linux/lib/lib.a
> /usr/src/linux/arch/i386/lib/lib.a \
> --end-group \
> -o vmlinux
> fs/fs.o(__ksymtab+0x38): multiple definition of
> `__ksymtab_buffermem_pages'
> kernel/kernel.o(__ksymtab+0x710): first defined here
> fs/fs.o(.kstrtab+0xfd): multiple definition of
> `__kstrtab_buffermem_pages'
> kernel/kernel.o(.kstrtab+0x16d0): first defined here
> make: *** [vmlinux] Erreur 1
>
>
> => problems compiling ext3 & LVS in the same 2.4 kernel... (I have try
> patching ext3 before LVS and vice versa... same pb).
>
>
> Best regards,
> Alexandre
|