Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Message-ID: From: FYang AT SEISMICMICRO DOT com To: cygwin AT sources DOT redhat DOT com Subject: which libary should use in order to use opendir() ... Date: Tue, 23 Apr 2002 17:25:37 -0500 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Dear Sir/Maddam, I am compiling some codes under cygwin. the code have the 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/