[Mono-list] Problems with glib in cygwin

Stack Overflow go_mono@hotmail.com
Tue, 14 Aug 2001 08:42:56 -0700


Just comment the extern decl of strsignal and it will compile
strsignal has been declared before in some header file.
#ifdef HAVE_STRSIGNAL
  /*
  extern char *strsignal (int sig);
  */
  return strsignal (signum);
#elif NO_SYS_SIGLIST

rgds,
mandar

----- Original Message ----- 
From: "Carlos Villavieja Prados" <carlosv@cometatech.com>
To: <mono-list@ximian.com>
Sent: Monday, August 13, 2001 2:22 PM
Subject: [Mono-list] Problems with glib in cygwin


> Hello all,
> 
>     Sorry if this is a bit off-topic but I'm having problems to compile
> mono.
> 
>     I'm trying to install glib on cygwin and get next error:
> 
>     strfuncs.c: In function `g_strsignal':
>     strfuncs.c:705: conflicting types for `strsignal'
>     usr/include/string.h:70: previous declaration of `strsignal'
>     strfuncs.c:705: warning: extern declaration of `strsignal' doesn't
> match global one
> 
> 
> Thanks in advanced.
> 
> 
> 
> _______________________________________________
> Mono-list maillist  -  Mono-list@ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-list
>