[linux-lvm] Dumb (well known I hope) symbol problem

Joe Thornber thornber at btconnect.com
Tue May 22 13:54:17 UTC 2001


It looks like the patch didn't build correctly.  Did you specify the 
location of your source code with 'configure --with-kernel_dir=DIR' ?

If not make distclean in the LVM dir and start again.

- Joe

On Tue, May 22, 2001 at 03:48:11PM +0200, David Vidal Rodriguez wrote:
> Hi folks,
> 
> I have just downloaded the CVS source tree of LVM and I'm still
> wondering why I can't compile the module/compiled-in version.
> I have the Linus-2.4.0 source tree in /var/tmp and I'm not root ('cause
> I'm not the owner of this --quick-- machine and compiling the source in
> my P90 would be too much). The following symbols appear to be missing
> after running ./configure with --with-kernel_dir=/var/tmp/linux, applied
> the patch to the source and tried to compile as usual:
> 
> drivers/md/mddev.o: In function lvm_init_fs'
> drivers/md/mddev.o: In function lvm_fin_fs'
> drivers/md/mddev.o: In function lvm_fs_create_vg'
> drivers/md/mddev.o: In function lvm_fs_remove_vg'
> drivers/md/mddev.o(.text+0x2221): undefined reference to
> lvm_do_vg_remove':
> drivers/md/mddev.o(.text+0x228b): undefined reference to
> lvm_do_pv_create':
> drivers/md/mddev.o(.text+0x245f): undefined reference to
> lvm_do_pv_remove':
> drivers/md/mddev.o(.text+0x2488): undefined reference to
> lvm_do_lv_create':
> drivers/md/mddev.o(.text+0x2d79): undefined reference to
> lvm_do_lv_remove':
> drivers/md/mddev.o(.text+0x2ea7): undefined reference to
> lvm_do_lv_rename':
> drivers/md/mddev.o(.text+0x3de6): undefined reference to
> lvm_fs_create_lv'
> make: *** [vmlinux] Error 1
> 
> 
> I promise that's the last time I ask such a thing; it really screws me
> up not being able to have a decent beta7 kernel!
> 
> Thanks & cheers,
> --
>   ------------------------------------------------------------------------
>  David Vidal R. (vidalrod <at> in DOT tum DOT de)
> 
> 
> _______________________________________________
> 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