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 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" Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: 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 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/