which libary should use in order to use opendir() ...

2002-04-23 Thread FYang
Dear Sir/Maddam, I am compiling some codes under cygwin. the code have the dirent.h included. but I got the err message like, saveloadwindow.o(.text+0x808):saveloadwindow.cc: undefined reference to `opendir(char const *)' saveloadwindow.o(.text+0x89b):saveloadwindow.cc: undefined reference to

Re: which libary should use in order to use opendir() ...

2002-04-23 Thread Andrew Markebo
/ [EMAIL PROTECTED] wrote: | Dear Sir/Maddam, | | I am compiling some codes under cygwin. the code have the dirent.h | included. but I got the err message like, | | saveloadwindow.o(.text+0x808):saveloadwindow.cc: undefined reference to | `opendir(char const *)' What does the gcc command-line