public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
* other/3341: Build 3.0 on Linux-glibc1 fails: readdir_r undeclared
@ 2001-06-21 11:26 Q
  0 siblings, 0 replies; 3+ messages in thread
From: Q @ 2001-06-21 11:26 UTC (permalink / raw)
  To: gcc-gnats

>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:


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: other/3341: Build 3.0 on Linux-glibc1 fails: readdir_r undeclared
@ 2002-01-07  4:13 neil
  0 siblings, 0 replies; 3+ messages in thread
From: neil @ 2002-01-07  4:13 UTC (permalink / raw)
  To: Q, gcc-bugs, gcc-prs, nobody, rodrigc

Synopsis: Build 3.0 on Linux-glibc1 fails: readdir_r undeclared

State-Changed-From-To: feedback->closed
State-Changed-By: neil
State-Changed-When: Mon Jan  7 04:13:57 2002
State-Changed-Why:
    No feedback.

http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=3341


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: other/3341: Build 3.0 on Linux-glibc1 fails: readdir_r undeclared
@ 2001-08-18  9:48 rodrigc
  0 siblings, 0 replies; 3+ messages in thread
From: rodrigc @ 2001-08-18  9:48 UTC (permalink / raw)
  To: Q, gcc-bugs, gcc-prs, nobody, rodrigc

Synopsis: Build 3.0 on Linux-glibc1 fails: readdir_r undeclared

State-Changed-From-To: open->feedback
State-Changed-By: rodrigc
State-Changed-When: Sat Aug 18 09:48:28 2001
State-Changed-Why:
    glibc1 is not currently tested by the FSF gcc maintainers.
        Can you upgrade your system to glibc2, or try
        glibc1 is not currently tested by the FSF gcc maintainers.
        Can you upgrade your system to glibc2, or try
        an older version of gcc, such as egcs 1.1?

http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view&pr=3341&database=gcc


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2002-01-07 12:13 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-06-21 11:26 other/3341: Build 3.0 on Linux-glibc1 fails: readdir_r undeclared Q
2001-08-18  9:48 rodrigc
2002-01-07  4:13 neil

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).