* [linux-lvm] Dumb (well known I hope) symbol problem
@ 2001-05-22 13:48 David Vidal Rodriguez
2001-05-22 13:54 ` Joe Thornber
2001-05-22 16:01 ` Heinz J. Mauelshagen
0 siblings, 2 replies; 7+ messages in thread
From: David Vidal Rodriguez @ 2001-05-22 13:48 UTC (permalink / raw)
To: lvm
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)
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [linux-lvm] Dumb (well known I hope) symbol problem
2001-05-22 13:48 [linux-lvm] Dumb (well known I hope) symbol problem David Vidal Rodriguez
@ 2001-05-22 13:54 ` Joe Thornber
2001-05-22 14:14 ` David Vidal Rodriguez
2001-05-22 16:01 ` Heinz J. Mauelshagen
1 sibling, 1 reply; 7+ messages in thread
From: Joe Thornber @ 2001-05-22 13:54 UTC (permalink / raw)
To: linux-lvm
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@sistina.com
> http://lists.sistina.com/mailman/listinfo/linux-lvm
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [linux-lvm] Dumb (well known I hope) symbol problem
2001-05-22 13:54 ` Joe Thornber
@ 2001-05-22 14:14 ` David Vidal Rodriguez
0 siblings, 0 replies; 7+ messages in thread
From: David Vidal Rodriguez @ 2001-05-22 14:14 UTC (permalink / raw)
To: linux-lvm
Joe Thornber wrote:
> It looks like the patch didn't build correctly. Did you specify the
> location of your source code with 'configure --with-kernel_dir=DIR' ?
As mentioned in my original posting, I specified the --with-kernel_dir flag
with my current linux source tree, ie:
/var/tmp/linux
I'm starting from the beginning again, though, and following each instruction
carefully. I'll let you know of any issues.
--
------------------------------------------------------------------------
David Vidal R. (vidalrod <at> in DOT tum DOT de)
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [linux-lvm] Dumb (well known I hope) symbol problem
2001-05-22 16:01 ` Heinz J. Mauelshagen
@ 2001-05-22 14:51 ` David Vidal Rodriguez
2001-05-22 15:01 ` David Vidal Rodriguez
0 siblings, 1 reply; 7+ messages in thread
From: David Vidal Rodriguez @ 2001-05-22 14:51 UTC (permalink / raw)
To: linux-lvm
So what's the difference between patching -p0 at /usr/src and patching -p1 at
/usr/src/linux?? Now it's compiling successfully (Gott sei dank!)!
Thanks for the hint (which is what I should have done from the beginning: read
_carefully_ and _completely_)...
--
------------------------------------------------------------------------
David Vidal R. (vidalrod <at> in DOT tum DOT de)
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [linux-lvm] Dumb (well known I hope) symbol problem
2001-05-22 14:51 ` David Vidal Rodriguez
@ 2001-05-22 15:01 ` David Vidal Rodriguez
2001-05-22 15:08 ` Joe Thornber
0 siblings, 1 reply; 7+ messages in thread
From: David Vidal Rodriguez @ 2001-05-22 15:01 UTC (permalink / raw)
To: linux-lvm
Bad news:
I had posted the last message after having compiled the "critical" zone. But now
it complains just at the final stage, when the kernel is built:
------------------------------------------------------------------------
ld -m elf_i386 -T /var/tmp/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/block/block.o drivers/char/char.o drivers/misc/misc.o
drivers/net/net.o drivers/media/media.o drivers/char/drm/drm.o
drivers/ide/idedriver.o drivers/scsi/scsidrv.o drivers/cdrom/driver.o
drivers/sound/sounddrivers.o drivers/pci/driver.o drivers/video/video.o
drivers/usb/usbdrv.o drivers/input/inputdrv.o drivers/md/mddev.o \
net/network.o \
/var/tmp/linux/arch/i386/lib/lib.a /var/tmp/linux/lib/lib.a
/var/tmp/linux/arch/i386/lib/lib.a \
--end-group \
-o vmlinux
drivers/md/mddev.o: In function `lvm_init':
drivers/md/mddev.o(.text+0x91): undefined reference to `lvm_init_fs'
drivers/md/mddev.o: In function `lvm_cleanup':
drivers/md/mddev.o(.text+0x1fe): undefined reference to `lvm_fin_fs'
drivers/md/mddev.o: In function `lvm_do_vg_create':
drivers/md/mddev.o(.text+0x1b05): undefined reference to `lvm_fs_create_vg'
drivers/md/mddev.o: In function `lvm_do_vg_rename':
drivers/md/mddev.o(.text+0x204d): undefined reference to `lvm_fs_remove_vg'
drivers/md/mddev.o(.text+0x2221): undefined reference to `lvm_fs_create_vg'
drivers/md/mddev.o: In function `lvm_do_vg_remove':
drivers/md/mddev.o(.text+0x228b): undefined reference to `lvm_fs_remove_vg'
drivers/md/mddev.o: In function `lvm_do_pv_create':
drivers/md/mddev.o(.text+0x245f): undefined reference to `lvm_fs_create_pv'
drivers/md/mddev.o: In function `lvm_do_pv_remove':
drivers/md/mddev.o(.text+0x2488): undefined reference to `lvm_fs_remove_pv'
drivers/md/mddev.o: In function `lvm_do_lv_create':
drivers/md/mddev.o(.text+0x2d79): undefined reference to `lvm_fs_create_lv'
drivers/md/mddev.o: In function `lvm_do_lv_remove':
drivers/md/mddev.o(.text+0x2ea7): undefined reference to `lvm_fs_remove_lv'
drivers/md/mddev.o: In function `lvm_do_lv_rename':
drivers/md/mddev.o(.text+0x3de6): undefined reference to `lvm_fs_remove_lv'
drivers/md/mddev.o(.text+0x3e06): undefined reference to `lvm_fs_create_lv'
make: *** [vmlinux] Error 1
--
------------------------------------------------------------------------
David Vidal R. (vidalrod <at> in DOT tum DOT de)
http://dvr.ismad.com
"Ein Computer ohne Windows ist wie ein Fisch ohne Fahrrad."
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [linux-lvm] Dumb (well known I hope) symbol problem
2001-05-22 15:01 ` David Vidal Rodriguez
@ 2001-05-22 15:08 ` Joe Thornber
0 siblings, 0 replies; 7+ messages in thread
From: Joe Thornber @ 2001-05-22 15:08 UTC (permalink / raw)
To: linux-lvm
Mail me the lvm patch and the LVM/PATCHES/Makefile please.
- Joe
On Tue, May 22, 2001 at 05:01:42PM +0200, David Vidal Rodriguez wrote:
> Bad news:
> I had posted the last message after having compiled the "critical" zone. But now
> it complains just at the final stage, when the kernel is built:
>
> ------------------------------------------------------------------------
>
> ld -m elf_i386 -T /var/tmp/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/block/block.o drivers/char/char.o drivers/misc/misc.o
> drivers/net/net.o drivers/media/media.o drivers/char/drm/drm.o
> drivers/ide/idedriver.o drivers/scsi/scsidrv.o drivers/cdrom/driver.o
> drivers/sound/sounddrivers.o drivers/pci/driver.o drivers/video/video.o
> drivers/usb/usbdrv.o drivers/input/inputdrv.o drivers/md/mddev.o \
> net/network.o \
> /var/tmp/linux/arch/i386/lib/lib.a /var/tmp/linux/lib/lib.a
> /var/tmp/linux/arch/i386/lib/lib.a \
> --end-group \
> -o vmlinux
> drivers/md/mddev.o: In function `lvm_init':
> drivers/md/mddev.o(.text+0x91): undefined reference to `lvm_init_fs'
> drivers/md/mddev.o: In function `lvm_cleanup':
> drivers/md/mddev.o(.text+0x1fe): undefined reference to `lvm_fin_fs'
> drivers/md/mddev.o: In function `lvm_do_vg_create':
> drivers/md/mddev.o(.text+0x1b05): undefined reference to `lvm_fs_create_vg'
> drivers/md/mddev.o: In function `lvm_do_vg_rename':
> drivers/md/mddev.o(.text+0x204d): undefined reference to `lvm_fs_remove_vg'
> drivers/md/mddev.o(.text+0x2221): undefined reference to `lvm_fs_create_vg'
> drivers/md/mddev.o: In function `lvm_do_vg_remove':
> drivers/md/mddev.o(.text+0x228b): undefined reference to `lvm_fs_remove_vg'
> drivers/md/mddev.o: In function `lvm_do_pv_create':
> drivers/md/mddev.o(.text+0x245f): undefined reference to `lvm_fs_create_pv'
> drivers/md/mddev.o: In function `lvm_do_pv_remove':
> drivers/md/mddev.o(.text+0x2488): undefined reference to `lvm_fs_remove_pv'
> drivers/md/mddev.o: In function `lvm_do_lv_create':
> drivers/md/mddev.o(.text+0x2d79): undefined reference to `lvm_fs_create_lv'
> drivers/md/mddev.o: In function `lvm_do_lv_remove':
> drivers/md/mddev.o(.text+0x2ea7): undefined reference to `lvm_fs_remove_lv'
> drivers/md/mddev.o: In function `lvm_do_lv_rename':
> drivers/md/mddev.o(.text+0x3de6): undefined reference to `lvm_fs_remove_lv'
> drivers/md/mddev.o(.text+0x3e06): undefined reference to `lvm_fs_create_lv'
> make: *** [vmlinux] Error 1
>
> --
> ------------------------------------------------------------------------
> David Vidal R. (vidalrod <at> in DOT tum DOT de)
> http://dvr.ismad.com
> "Ein Computer ohne Windows ist wie ein Fisch ohne Fahrrad."
>
>
> _______________________________________________
> linux-lvm mailing list
> linux-lvm@sistina.com
> http://lists.sistina.com/mailman/listinfo/linux-lvm
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [linux-lvm] Dumb (well known I hope) symbol problem
2001-05-22 13:48 [linux-lvm] Dumb (well known I hope) symbol problem David Vidal Rodriguez
2001-05-22 13:54 ` Joe Thornber
@ 2001-05-22 16:01 ` Heinz J. Mauelshagen
2001-05-22 14:51 ` David Vidal Rodriguez
1 sibling, 1 reply; 7+ messages in thread
From: Heinz J. Mauelshagen @ 2001-05-22 16:01 UTC (permalink / raw)
To: linux-lvm
David,
this looks like a missing LVM kernel patch.
Did you follow the instructions contained in the INSTALL
and PATCHES/README files in order to update the LVM kernel code?
We are working on updating vanilla to the recent LVM code, but up to 2.4.4
you still need to apply a patch which comes with the LVM distribution.
Regards,
Heinz -- The LVM Guy --
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@sistina.com
> http://lists.sistina.com/mailman/listinfo/linux-lvm
*** Software bugs are stupid.
Nevertheless it needs not so stupid people to solve them ***
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Heinz Mauelshagen Sistina Software Inc.
Senior Consultant/Developer Am Sonnenhang 11
56242 Marienrachdorf
Germany
Mauelshagen@Sistina.com +49 2626 141200
FAX 924446
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2001-05-22 16:01 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-05-22 13:48 [linux-lvm] Dumb (well known I hope) symbol problem David Vidal Rodriguez
2001-05-22 13:54 ` Joe Thornber
2001-05-22 14:14 ` David Vidal Rodriguez
2001-05-22 16:01 ` Heinz J. Mauelshagen
2001-05-22 14:51 ` David Vidal Rodriguez
2001-05-22 15:01 ` David Vidal Rodriguez
2001-05-22 15:08 ` Joe Thornber
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.