1 |
On Monday 02 October 2006 19:48, Meino Christian Cramer wrote: |
2 |
> I tried to compile a little program (nothing special) and got this |
3 |
> errors: |
4 |
> |
5 |
> In file included from /usr/include/stdlib.h:438, |
6 |
> from ethlinkstat.c:10: |
7 |
> /usr/include/sys/types.h:62: error: conflicting types for 'dev_t' |
8 |
> /usr/include/linux/types.h:27: error: previous declaration of 'dev_t' |
9 |
[SNIP] |
10 |
> What should I do here ? |
11 |
|
12 |
Bug #144205 [1] should be of interest here. Basically you need to include |
13 |
<sys/types.h> before <linux/types.h>. |
14 |
|
15 |
[1] https://bugs.gentoo.org/show_bug.cgi?id=144205 |
16 |
|
17 |
-- |
18 |
Bo Andresen |