X-Authentication-Warning: delorie.com: mail set sender to geda-user-bounces using -f X-Recipient: geda-user AT delorie DOT com Message-ID: <20140706122411.3944.qmail@stuge.se> Date: Sun, 6 Jul 2014 14:24:11 +0200 From: Peter Stuge To: geda-user AT delorie DOT com Subject: Re: [geda-user] geda-gaf on Windows - help needed Mail-Followup-To: geda-user AT delorie DOT com References: <20140417030350 DOT 2177 DOT qmail AT stuge DOT se> <87a9bftqef DOT fsf AT hotmail DOT com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Reply-To: geda-user AT delorie DOT com Errors-To: nobody AT delorie DOT com X-Mailing-List: geda-user AT delorie DOT com X-Unsubscribes-To: listserv AT delorie DOT com Precedence: bulk Kai-Martin Knaak wrote: > * gerbv ********************************************************** > > Generic configure went through without warnings. > make fails at the first compile with "error: unknown type name 'uid_t'": .. > /usr/include/glib-2.0/gio/gcredentials.h:75:1: error: unknown type name 'uid_t' > uid_t g_credentials_get_unix_user (GCredentials *credentials, > ^ .. > Looking into credentials.h it seems that the type uid_t is expected to be > included in unistd.h or in sys/types.h . They don't explicitly contain the > string "uid_h". But I didn't check recursively in included header files. > > A quick google search for the error messages turned up a few cases. But I > wasn't able to derive a cure from them. I noticed, that quite a number of > projects seem to "checking for uid_t in sys/types.h". Maybe, this is such > a check is missing in the configure script of gerbv. It eludes me, where > the type uid_t is defined on my debian host, which it surely is. > Can anyone with more insight than me chime in? uid_t is a POSIX concept and g_credentials_get_unix_user() is clearly for unix so if you configured gerbv for mingw then the build should never end up using those lines. Where exactly the problem lies is difficult to say, it could be either in glib/gio or in gerbv itself. As for uid_t, it'll be defined in /usr/include/pwd.h and/or /usr/include/sys/types.h on a glibc system. But if you're configuring for mingw those files shouldn't be used at all. Maybe I'm confused. :) //Peter