Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT sources DOT redhat DOT com Delivered-To: mailing list cygwin AT sources DOT redhat DOT com From: kevinm AT ieg DOT com DOT br Reply-to: kevinm AT ieg DOT com DOT br To: cygwin AT cygwin DOT com Date: Tue, 30 Oct 2001 19:53:13 GMT Subject: Re: failed to compile cygwin <> X-Mailer: DMailWeb Web to Mail Gateway 2.3t, http://netwinsite.com/top_mail.htm Message-id: <3bdf0529.1a1e.0@ieg.com.br> X-User-Info: 200.170.44.53 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit My make also choked on cygwin/cygheap.cc with "implicit declaration of function int memset(...)" The problem is that the include path in winsup/Makefile.common starts with -I. -I/usr/src/.../winsup/cygwin, but the include file in winsup/cygwin/string.h starts with: #ifndef _CYGWIN_STRING_H #define _CYGWIN_STRING_H #include_next So the only string.h that is getting included is the local one (in winsup/cygwin/string.h), which does not include the memset prototype. I "solved" the problem by changing the cygwin/string.h file: #include_next #ifndef _CYGWIN_STRING_H #define _CYGWIN_STRING_H This ensures that the next string.h that gets included will be the system one, and not cygwin/string.h I'm a complete newbie to cygwin so I don't know if this is the "correct" solution ... Kevin http://www.ieg.com.br -- 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/