Gentoo Archives: gentoo-user

From: Leopold Gouverneur <lgouv@×××××.be>
To: gentoo-user@l.g.o
Subject: [gentoo-user] lvm2 emerge problem
Date: Wed, 17 May 2006 13:47:25
Message-Id: 20060517133643.GA13441@localhost
1 emerge lvm2 abort during compilation with this message:
2 ...
3 ../include/lvm-string.h:40: attention : 'struct dm_pool' declared inside
4 parameter list
5 ...
6
7 wordir/.../lvm-string.h i see:
8 ...
9 struct pool;
10 ^^^^
11 ....
12 char *build_dm_name(struct dm_pool *mem, ....
13 ^^^^^^^
14 .....
15
16 It is not surprising then that the compiler complains about
17 dm_pool being declared inside parameter list!
18 Now what surprised me, was that if i untar LVM2.2.02.05.tgz
19 and look in lvm-string.h, i see:
20
21 ...
22 struct dm_pool;
23 ^^^^^^^
24 ...
25 char *build_dm_name(struct dm_pool *mem, ....
26 ...
27 which makes the compiler happy.
28
29 How and why was this file changed?
30
31 --
32 gentoo-user@g.o mailing list

Replies

Subject Author
Re: [gentoo-user] lvm2 emerge problem Richard Fish <bigfish@××××××××××.org>