public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] lvm2 emerge problem
@ 2006-05-17 13:36 Leopold Gouverneur
  2006-05-17 18:23 ` Richard Fish
  0 siblings, 1 reply; 11+ messages in thread
From: Leopold Gouverneur @ 2006-05-17 13:36 UTC (permalink / raw
  To: gentoo-user

emerge lvm2 abort during compilation with this message:
...
../include/lvm-string.h:40: attention : 'struct dm_pool' declared inside
parameter list
...

wordir/.../lvm-string.h i see:
...
struct pool;
       ^^^^
....
char *build_dm_name(struct dm_pool *mem, ....
                           ^^^^^^^
.....

It is not surprising then that the compiler complains about
dm_pool being declared inside parameter list!
Now what surprised me, was that if i untar  LVM2.2.02.05.tgz
and look in lvm-string.h, i see:

...
struct dm_pool;
       ^^^^^^^
...
char *build_dm_name(struct dm_pool *mem, ....
...
which makes the compiler happy.

How and why was this file changed?

-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2006-05-19  9:16 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-05-17 13:36 [gentoo-user] lvm2 emerge problem Leopold Gouverneur
2006-05-17 18:23 ` Richard Fish
2006-05-17 19:35   ` Leopold Gouverneur
2006-05-17 21:29     ` Richard Fish
2006-05-18  7:17       ` [gentoo-user] Probems with radeon and drm after using kernel-2.6.16-gentoo-r7 JC Denton
2006-05-18  8:05         ` Boyd Stephen Smith Jr.
2006-05-18  8:48       ` [gentoo-user] lvm2 emerge problem[SOLVED] Leopold Gouverneur
2006-05-18  8:55         ` [gentoo-user] what to do to remove all kde dependencies and kdelibs JC Denton
2006-05-18  9:13           ` Raymond Lewis Rebbeck
2006-05-18  9:14           ` Neil Bothwick
2006-05-19  9:04       ` [gentoo-user] lvm2 emerge problem[solved?] Leopold Gouverneur

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox