On Monday 02 October 2006 19:48, Meino Christian Cramer wrote:
>  I tried to compile a little program (nothing special) and got this
>  errors:
>
>      In file included from /usr/include/stdlib.h:438,
>                       from ethlinkstat.c:10:
>      /usr/include/sys/types.h:62: error: conflicting types for 'dev_t'
>      /usr/include/linux/types.h:27: error: previous declaration of 'dev_t'
[SNIP]
>  What should I do here ?

Bug #144205 [1] should be of interest here. Basically you need to include 
<sys/types.h> before <linux/types.h>.

[1] https://bugs.gentoo.org/show_bug.cgi?id=144205

-- 
Bo Andresen

Attachment: pgpk73jr762zh.pgp
Description: PGP signature

Reply via email to