delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2007/08/21/04:09:34

X-Spam-Check-By: sourceware.org
X-Spam-Time: 1187683752 - 633
Message-ID: <46CA9DA8.9020900@kip.uni-heidelberg.de>
Date: Tue, 21 Aug 2007 10:09:12 +0200
From: Rainer Stamen <stamen AT kip DOT uni-heidelberg DOT de>
User-Agent: Thunderbird 2.0.0.6 (Windows/20070728)
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: cannot compile function containing "get_current_dir_name"
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/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

Hi,

I try to compile a program which contains a call to 
"get_current_dir_name".  The compiler complains that the fucntion is 
undeclared. From checking the archives I learned that the problem 
existed already in the past. However the proposed fix (add #define 
_GNU_SOURCE) seems not to work for me.

Do I have to install a special package apart from the base installation?
Other suggestions?

Cheers,
                 Rainer

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019