This is the mail archive of the glibc-linux@ricardo.ecn.wfu.edu mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: gcc compile errors with dirent.h (DIR) and glibc2


Weird, but none of my so called "new" programs can tell in glibc2 
wether I have dirent.h and dir.h included. They all search for IFDEF 
DIR_H and DHAVE_DIR, but I guess glibc2 does not define these 
values. Forcing an include in the offending .c files seems to do the 
trick. Thanks for the help!

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



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]