bug-gnulib
[Top][All Lists]
Advanced

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

Re: base64 build problem on DragonFly 1.8.0


From: Eric Blake
Subject: Re: base64 build problem on DragonFly 1.8.0
Date: Thu, 06 Dec 2007 06:12:31 -0700
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.9) Gecko/20071031 Thunderbird/2.0.0.9 Mnenhy/0.7.5.666

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

According to Martin Lambers on 12/5/2007 1:29 PM:
>>  ./stdio.h:372: error: syntax error before "getdelim"

It sounds like ssize_t is not defined at this point.  Yet, at the top of
stdio.in.h, there is this chunk:

#if (@GNULIB_FSEEKO@ && @REPLACE_FSEEKO@) \
  || (@GNULIB_FTELLO@ && @REPLACE_FTELLO@) \
  || (@GNULIB_GETDELIM@ && address@hidden@) \
  || (@GNULIB_GETLINE@ && (address@hidden@ || @REPLACE_GETLINE@))
/* Get off_t and ssize_t.  */
# include <sys/types.h>
#endif

And according to your logs, this resulted in the following condition for you:

#if (1 && 0) || (0 && 0) || (1 && !0) || (1 && (!0 || 1))

so <sys/types.h> should have been pulled in.  Which leads me to suspect
that sys/types.h is broken on DragonFly because it doesn't declare
ssize_t?  Does any header on DragonFly declare this type?

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

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

iD8DBQFHV/U+84KuGfSFAYARAnnnAKDUfyjCKFsFPgiUBoMGc40XWQtLRwCgksk3
QWKivyi1+6LCuMIVBUu4pFU=
=aUDp
-----END PGP SIGNATURE-----




reply via email to

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