delorie.com/archives/browse.cgi | search |
Mailing-List: | contact cygwin-apps-help AT sourceware DOT cygnus DOT com; run by ezmlm |
Sender: | cygwin-apps-owner AT sourceware DOT cygnus DOT com |
List-Subscribe: | <mailto:cygwin-apps-subscribe AT sources DOT redhat DOT com> |
List-Archive: | <http://sources.redhat.com/ml/cygwin-apps/> |
List-Post: | <mailto:cygwin-apps AT sources DOT redhat DOT com> |
List-Help: | <mailto:cygwin-apps-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/lists.html#faqs> |
Delivered-To: | mailing list cygwin-apps AT sources DOT redhat DOT com |
From: | "Ralf Habacker" <Ralf DOT Habacker AT freenet DOT de> |
To: | "Cygwin-Apps" <cygwin-apps AT cygwin DOT com> |
Subject: | problems compiling current cygwin cvs release |
Date: | Sat, 13 Oct 2001 10:10:00 +0200 |
Message-ID: | <005a01c153be$743de6b0$fd1c440a@BRAMSCHE> |
MIME-Version: | 1.0 |
X-Priority: | 3 (Normal) |
X-MSMail-Priority: | Normal |
X-Mailer: | Microsoft Outlook 8.5, Build 4.71.2173.0 |
Importance: | Normal |
X-MimeOLE: | Produced By Microsoft MimeOLE V5.50.4133.2400 |
Hi, I have problem compiling the current cygwin cvs release 1. habacker AT BRAMSCHE ~/src/cvs.cygwin.com/build/winsup/cygwin $ make gcc -c -gstabs+ -O2 -MD -fbuiltin ... glob.c ../../../src/winsup/cygwin/glob.c:156: parse error before `*' ../../../src/winsup/cygwin/glob.c:156: warning: type defaults to `int' in declaration of `g_opendir' ../../../src/winsup/cygwin/glob.c:156: warning: data definition has no type or storage class ../../../src/winsup/cygwin/glob.c: In function `glob3': ../../../src/winsup/cygwin/glob.c:590: `DIR' undeclared (first use in this function) ../../../src/winsup/cygwin/glob.c:590: (Each undeclared identifier is reported only once ../../../src/winsup/cygwin/glob.c:590: for each function it appears in.) ../../../src/winsup/cygwin/glob.c:590: `dirp' undeclared (first use in this function) ../../../src/winsup/cygwin/glob.c:590: warning: statement with no effect ../../../src/winsup/cygwin/glob.c:591: parse error before `int' A workaround is to add the following to glob.c: #include <cygwin/sys/dirent.h> BTW: This problem occurs with dir.cc too before I updated newlib today morning. 2. On linking the cygwin dll the following file is used from the libiberty: /home/habacker/src/cvs.cygwin.com/build/libiberty/strsignal.o If one configure libiberty for using with ld the function strsignal() isn't defined, because configure finds a defined strsignal. If libiberty is shared between cygwin an ld/binutils, than there is a problem. ??? Regard Ralf
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |