This is the mail archive of the
cygwin@cygwin.com
mailing list for the Cygwin project.
which libary should use in order to use opendir() ...
- From: FYang at SEISMICMICRO dot com
- To: cygwin at sources dot redhat dot com
- Date: Tue, 23 Apr 2002 17:25:37 -0500
- Subject: which libary should use in order to use opendir() ...
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
`opendir(char const *)'
saveloadwindow.o(.text+0x8ba):saveloadwindow.cc: undefined reference to
`closedir(__DIR *)'
saveloadwindow.o(.text+0x8d0):saveloadwindow.cc: undefined reference to
`readdir(__DIR *)'
could please let me know where is wrong or which lib I am missing to cause
the problem?
Your help is much appreciated. Thanks in advance!
Fusheng
PS: I tried to link the libcygwin, libc, ... but still didnot work.
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/