bug-inetutils
[Top][All Lists]
Advanced

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

[bug-inetutils] URGENT: Early compilation failure with NexentaCore.


From: Mats Erik Andersson
Subject: [bug-inetutils] URGENT: Early compilation failure with NexentaCore.
Date: Fri, 17 Jun 2011 01:07:58 +0200
User-agent: Mutt/1.5.18 (2008-05-17)

torsdag den 16 juni 2011 klockan 13:14 skrev Simon Josefsson detta:
> Mats Erik Andersson <address@hidden> writes:
> 
> > Dear all,
> >
> > we have clearly no support for OpenSolaris in our project.
> > Since two weeks back I have a system running NexentaCore,
> > providing me with some services, and more importantly,
> > a test bed for portability!
> >
> > Already compiling 'libinetutils' leads to a failure.
> > The problem is that 'libinetutils/setsig.c' tacitly
> > assumes the presence of
> >
> >    typedef sig_t;
> >
> > This does not apply to OpenSolaris:
> >
> >    /* config.h */
> >
> >    /* #undef HAVE_SIG_T */
> 
> Glibc uses 'sighandler_t' for this, and gnulib should make sure it is
> available.  I've checked in a fix for this, please test!

You must revert this, since you just broke the compilation in OpenBSD:

    CC    setsig.o
  setsig.c:31: error: syntax error before "setsig"
  setsig.c:31: error: syntax error before "sighandler_t"
  setsig.c:32: warning: return type defaults to 'int'
  setsig.c:39: error: 'handler' undeclared (first use in this function)
  setsig.c:40: error: 'sig' undeclared (first use in this function)
  setsig.c:41: warning: return makes integer from pointer without a cast



reply via email to

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