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 |