This is the mail archive of the
glibc-linux@ricardo.ecn.wfu.edu
mailing list for the glibc project.
Re: gcc compile errors with dirent.h (DIR) and glibc2
- To: glibc-linux at ricardo dot ecn dot wfu dot edu
- Subject: Re: gcc compile errors with dirent.h (DIR) and glibc2
- From: rmang at ibm dot net
- Date: Thu, 25 May 2000 21:05:58 -0400
- CC: wolfgang at ultim dot net
- References: <200005251624.MAA21560@smtp10.atl.mindspring.net>
- Reply-To: glibc-linux at ricardo dot ecn dot wfu dot edu
dirent.h is in /usr/include
I cannot compile any new programs, including trying to recompile
gcc-2.95.2 Errors out on dirent.h, says cannot find DIR, I get errors
saying dirent.h posix1_limit.h and types.h cannot find file or
directory, although they are installed and in the right directories. Ay
ideas? Thanks.
Rob M.
> On Thu, 25 May 2000 rmang@ibm.net wrote:
>
> > Thi program had compiled under the new setup previously, but now
> > my system cannot link/find correctly the DIR functions. I reinstalled
> > gcc and glibc2, both without error. Any ideas what I am missing /
> > could be wrong? Thnak you for your help.
>
> Have you included dirent.h ?
> A lot of standards have changed since libc 5 (for the better), you
> probably have to adapt your code a little because glibc 2 is more
> compliant with standards such as POSIX, etc...
>
>
> Wolfgang
> --
> A chicken is an egg's way of producing more eggs.
>
>