bug-hurd
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Conflicting ‘thread_info_t’ declaration between nscd and Mach


From: Ludovic Courtès
Subject: Conflicting ‘thread_info_t’ declaration between nscd and Mach
Date: Sat, 21 Jun 2014 17:11:55 +0200
User-agent: Gnus/5.130009 (Ma Gnus v0.9) Emacs/24.3 (gnu/linux)

While courageously trying to build Savannah’s libc for GNU/Hurd,
Manolis stumbled upon this issue:

--8<---------------cut here---------------start------------->8---
nscd.c:67:3: error: conflicting types for 'thread_info_t'
 } thread_info_t;
   ^
In file included from 
/gnu/store/x760iihp152nxwyrsch6kmxcswbpi7zy-gnumach-headers-cross-i686-pc-gnu-1.4/include/mach/mach_types.h:47:0,
                 from ../mach/mach.h:28,
                 from ../sysdeps/mach/hurd/tls.h:29,
                 from ../sysdeps/mach/hurd/i386/tls.h:24,
                 from ../sysdeps/mach/hurd/bits/libc-lock.h:24,
                 from ../sysdeps/mach/hurd/dirstream.h:22,
                 from ../include/dirent.h:3,
                 from nscd.c:22:
/gnu/store/x760iihp152nxwyrsch6kmxcswbpi7zy-gnumach-headers-cross-i686-pc-gnu-1.4/include/mach/thread_info.h:47:20:
 note: previous declaration of 'thread_info_t' was here
 typedef integer_t *thread_info_t;  /* varying array of ints */
--8<---------------cut here---------------end--------------->8---

The nscd and Mach both define ‘thread_info_t’, thus preventing libc to
be built with nscd support.

Any idea how to address that?

TIA,  :-)
Ludo’.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]