public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
From: Q@ping.be
To: gcc-gnats@gcc.gnu.org
Subject: other/3341: Build 3.0 on Linux-glibc1 fails: readdir_r undeclared
Date: Thu, 21 Jun 2001 11:26:00 -0000	[thread overview]
Message-ID: <20010621181721.725.qmail@sourceware.cygnus.com> (raw)

>Number:         3341
>Category:       other
>Synopsis:       Build 3.0 on Linux-glibc1 fails: readdir_r undeclared
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    unassigned
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Jun 21 11:26:00 PDT 2001
>Closed-Date:
>Last-Modified:
>Originator:     Q@ping.be
>Release:        gcc 3.0
>Organization:
>Environment:
Linux libc5
>Description:
I got this error:

java/io/natFile.cc: In member function `JArray<java::lang::Object*>*
   java::io::File::performList(java::io::FilenameFilter*,
   java::io::FileFilter*, java::lang::Class*)':
java/io/natFile.cc:154: `readdir_r' undeclared (first use this function)
java/io/natFile.cc:154: (Each undeclared identifier is reported only once for
   each function it appears in.)

In dirent.h:
#if defined(_POSIX_THREAD_SAFE_FUNCTIONS) || defined(_REENTRANT)
extern int readdir_r __P((DIR *__dirp, struct dirent *__entry,
                struct dirent **__result));
#endif

To fix this I did an undef of HAVE_READDIR_R twice in ./i586-pc-linux-gnulibc1/libjava/include/config.h
Note that _REENTRANT is also twice in it.

libjava/acconfig.h had is undef'd but too, but that file is a year old.

>How-To-Repeat:

>Fix:

>Release-Note:
>Audit-Trail:
>Unformatted:


             reply	other threads:[~2001-06-21 11:26 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-06-21 11:26 Q [this message]
2001-08-18  9:48 rodrigc
2002-01-07  4:13 neil

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20010621181721.725.qmail@sourceware.cygnus.com \
    --to=q@ping.be \
    --cc=gcc-gnats@gcc.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).