[Top][All Lists]

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

Re: errors building m4 on interix/sfu/sua

From: jay . krell
Subject: Re: errors building m4 on interix/sfu/sua
Date: Tue, 16 Jun 2009 07:08:02 -0700

Isn't just ifdef estale around use of it sufficient? Or is there some chance of const int or such? Given that const int cannot be switched on in C, they must all be defines and simple ifdef suffices and is fully portable no need for configury? Right? Old versions: just showing lame options tried and even worked. I don't/won'tlikely have the paperwork,

 - Jay (phone)

On Jun 16, 2009, at 5:05 AM, Eric Blake <address@hidden> wrote:

Hash: SHA1

[adding bug-gnulib]

According to Jay on 6/16/2009 1:04 AM:
spawni.c: In function `gl_posix_spawn_internal':
spawni.c:233: warning: implicit declaration of function `seteuid'
spawni.c:234: warning: implicit declaration of function `setegid'
spawni.c:354: error: `ESTALE' undeclared (first use in this function)
spawni.c:354: error: (Each undeclared identifier is reported only once
spawni.c:354: error: for each function it appears in.)

=> suggest #ifdef ESTALE around the use of ESTALE
  (I see Posix mandates ESTALE, and gnulib works around it missing on
some systems.)

seteuid/gid are "only" warnings so I guess ok.
seteuid is in libc.a but not any headers.

Thanks for the report. Yes, gnulib can work around missing ESTALE, but we
would need to port errno_h.m4 to detect interix's situation on which
errno's are already defined. Interix has not had a champion on the gnulib list lately, so if you are willing, please step in to help us port to your
platform.  Are there any other errors besides ESTALE missing?  Or put
another way, would modifying the gl_HEADER_ERRNO_H macro to check for
missing ESTALE be sufficient to detect that your system's errno.h is
lacking, and that the existing replacement header would then pick up all the slack? Seeing the contents of config.log around the point where it
tells you "checking for complete errno.h" would be helpful.

fatal-signal.c: In function `install_handlers':
fatal-signal.c:189: error: `SA_NODEFER' undeclared (first use in this

I'm not worried about fixing older m4 versions. Let's focus on getting
the latest to work.

- --
Don't work too hard, make some time for fun as well!

Eric Blake             address@hidden
Version: GnuPG v1.4.9 (Cygwin)
Comment: Public key at home.comcast.net/~ericblake/eblake.gpg
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org


reply via email to

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