Gentoo Archives: gentoo-user

From: Meino Christian Cramer <Meino.Cramer@×××.de>
To: gentoo-user@l.g.o
Subject: [gentoo-user] What is that (compile errors in system headers...)
Date: Mon, 02 Oct 2006 17:56:07
Message-Id: 20061002.194831.41639359.Meino.Cramer@gmx.de
1 Hi,
2
3 interesting...
4
5 I tried to compile a little program (nothing special) and got this
6 errors:
7
8 In file included from /usr/include/stdlib.h:438,
9 from ethlinkstat.c:10:
10 /usr/include/sys/types.h:62: error: conflicting types for 'dev_t'
11 /usr/include/linux/types.h:27: error: previous declaration of 'dev_t' was here
12 /usr/include/sys/types.h:72: error: conflicting types for 'mode_t'
13 /usr/include/linux/types.h:33: error: previous declaration of 'mode_t' was here
14 /usr/include/sys/types.h:77: error: conflicting types for 'nlink_t'
15 /usr/include/linux/types.h:36: error: previous declaration of 'nlink_t' was here
16 In file included from /usr/include/sys/types.h:133,
17 from /usr/include/stdlib.h:438,
18 from ethlinkstat.c:10:
19 /usr/include/time.h:105: error: conflicting types for 'timer_t'
20 /usr/include/linux/types.h:45: error: previous declaration of 'timer_t' was here
21 In file included from /usr/include/sys/types.h:220,
22 from /usr/include/stdlib.h:438,
23 from ethlinkstat.c:10:
24 /usr/include/sys/select.h:78: error: conflicting types for 'fd_set'
25 /usr/include/linux/types.h:24: error: previous declaration of 'fd_set' was here
26 In file included from /usr/include/stdlib.h:438,
27 from ethlinkstat.c:10:
28 /usr/include/sys/types.h:235: error: conflicting types for 'blkcnt_t'
29 /usr/include/linux/types.h:158: error: previous declaration of 'blkcnt_t' was here
30
31 Do I have shoot in one of my feet here ???
32
33 I am using vanilla kernel 2.6.18 on an up-to-date Gentoo linux...
34
35 All these errors seem not be dependant on my little program but seem
36 to be a misconfiguration on a very low level....
37
38 What should I do here ?
39
40 Thank you very much for any help in advance !
41
42 Keep hacking!
43 mcc
44 --
45 gentoo-user@g.o mailing list

Replies

Subject Author
Re: [gentoo-user] What is that (compile errors in system headers...) "Bo Ørsted Andresen" <bo.andresen@××××.dk>