[linux-lvm] PB: undefined reference to memset

Michael Tokarev mjt at tls.msk.ru
Thu Mar 8 16:20:29 UTC 2001


Do not use recent gcc for kernels yet, use egcs instead.
If on redhat (or some others), `kgcc' can help.

Regards,
 Michael

Philippe Lefevre wrote:
> 
> Hello all,
> 
> Changing my system release, I patched my kernel 2.2.17 with
> lvm-0.9-2.2.17-stock.patch and linux-2.2.17-rawio.patch
> Apparently, there was no errors.
> 
> Then compiling my new kernel, I get this message:
> 
> drivers/block/block.a(lvm.o): In function `lvm_do_vg_rename':
> lvm.o(.text+0x295a): undefined reference to `memset'
> lvm.o(.text+0x2972): undefined reference to `memset'
> make: *** [vmlinux] Erreur 1
> 
> I didn't find the same problem described in the mailing list.
> 
> Somebody can help ??
> 
> In advance thank you !!
> --
> ----------------------------------------------------------------------
> Linux 2.2.17 | Philippe Lefevre   E-mail: ph.l at libertysurf.fr |  =╟)
>              |                                                |  /\\
> ----------------------------------------------------------------_\_V--
> _______________________________________________
> linux-lvm mailing list
> linux-lvm at sistina.com
> http://lists.sistina.com/mailman/listinfo/linux-lvm



More information about the linux-lvm mailing list