Another linuxthreads/libanl fix

Mark Kettenis kettenis@wins.uva.nl
Wed Mar 7 05:49:00 GMT 2001


Andreas Jaeger <aj@suse.de> writes:

> If I configure glibc without any add-ons, it fails now in:
> 
> In file included from ../sysdeps/unix/sysv/linux/gai_sigqueue.c:28:
> gai_misc.h:32: parse error before "pthread_cond_t"
> gai_misc.h:32: warning: no semicolon at end of struct or union
> gai_misc.h:39: parse error before '}' token
> gai_misc.h:73: parse error before "__gai_requests_mutex"
> gai_misc.h:73: warning: type defaults to `int' in declaration of `__gai_requests_mutex'
> gai_misc.h:73: warning: data definition has no type or storage class

I'm having similar problems when compiling for the Hurd.

> I think we shouldn't build gai_sigqueue in this case at all.  Is the
> appended patch ok?  Or should we change gai_sigqueue or gai_misc.h
> instead?

Your patch looks fine to me.  Changing gai_sigqueue and/or gai_misc.h
would involve quite a bit more work I think.

Mark



More information about the Libc-hacker mailing list