| delorie.com/archives/browse.cgi | search |
| Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
| List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
| List-Archive: | <http://sources.redhat.com/ml/cygwin/> |
| List-Post: | <mailto:cygwin AT cygwin DOT com> |
| List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs> |
| 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: | <B9911E217C69D51194F6000102725BD8498072@MERCURYMAIL> |
| 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 |
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/
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |