All of lore.kernel.org
 help / color / mirror / Atom feed
From: Bhasker C V <spssjp@yahoo.com>
To: linux-kernel@vger.kernel.org
Subject: Problem compiling lvm with kernel 2.5.5
Date: Sat, 02 Mar 2002 08:59:08 +0000	[thread overview]
Message-ID: <3C80945C.4CDBB229@yahoo.com> (raw)

Hi

 there is a problem compiling lvm and raid modules ( either as module or internal to kernel )
for kernel version 2.5.5

 the error is as follows
lvm.c:240: warning: `struct bio' declared inside parameter list
lvm.c:240: warning: its scope is only this definition or declaration, which is probably not what you want.
lvm.c:266: warning: `struct bio' declared inside parameter list
lvm.c:272: parse error before `userlv_t'
lvm.c:273: parse error before `userlv_t'
lvm.c:275: parse error before `userlv_t'
lvm.c:295: warning: `struct bio' declared inside parameter list
lvm.c:311: parse error before `LVM_RELEASE_NAME'
lvm.c:363: unknown field `owner' specified in initializer
lvm.c:363: warning: initialization from incompatible pointer type
lvm.c:364: field `open' already initialized
lvm.c:365: field `release' already initialized
lvm.c:365: warning: initialization from incompatible pointer type
lvm.c:366: field `ioctl' already initialized
--- snipped ----

However older ( k 2.4.7-10) lvm compiles fine except that i am not able to load it into the kernel at runtime ( version mismatch and if i do a force insmod then it shows unresolved symbol

lvm.o: unresolved symbol lvm_hash_link
lvm.o: unresolved symbol lvm_snapshot_fill_COW_page
lvm.o: unresolved symbol lvm_snapshot_alloc
lvm.o: unresolved symbol lvm_drop_snapshot
lvm.o: unresolved symbol lvm_init_fs
lvm.o: unresolved symbol lvm_snapshot_release
lvm.o: unresolved symbol lvm_fs_remove_vg
lvm.o: unresolved symbol lvm_fin_fs
lvm.o: unresolved symbol lvm_snapshot_remap_block
lvm.o: unresolved symbol gendisk_head
lvm.o: unresolved symbol lvm_fs_remove_lv
lvm.o: unresolved symbol lvm_write_COW_table_block
lvm.o: unresolved symbol lvm_fs_remove_pv
lvm.o: unresolved symbol lvm_fs_create_vg
lvm.o: unresolved symbol lvm_fs_create_lv
lvm.o: unresolved symbol lvm_snapshot_COW
lvm.o: unresolved symbol lvm_get_blksize
lvm.o: unresolved symbol lvm_snapshot_alloc_hash_table
lvm.o: unresolved symbol lvm_fs_create_pv
lvm.o: unresolved symbol hardsect_size



--
Bye,
Bhasker C V
Web: http://spssjp.8m.com

If you want to feel rich, just count all the things you have that money can't buy




                 reply	other threads:[~2002-03-02  3:23 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=3C80945C.4CDBB229@yahoo.com \
    --to=spssjp@yahoo.com \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.