www.delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin-apps/2002/05/05/05:17:42

Mailing-List: contact cygwin-apps-help AT cygwin DOT com; run by ezmlm
Sender: cygwin-apps-owner AT cygwin DOT com
List-Subscribe: <mailto:cygwin-apps-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin-apps/>
List-Post: <mailto:cygwin-apps AT cygwin DOT com>
List-Help: <mailto:cygwin-apps-help AT cygwin DOT com>, <http://sources.redhat.com/lists.html#faqs>
Mail-Followup-To: cygwin-apps AT cygwin DOT com
Delivered-To: mailing list cygwin-apps AT cygwin DOT com
content-class: urn:content-classes:message
MIME-Version: 1.0
Subject: RE: setup.exe MD5 snapshot from 0504 compile error
X-MimeOLE: Produced By Microsoft Exchange V6.0.5762.3
Date: Sun, 5 May 2002 19:17:35 +1000
Message-ID: <FC169E059D1A0442A04C40F86D9BA7600C5FD2@itdomain003.itdomain.net.au>
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
From: "Robert Collins" <robert DOT collins AT itdomain DOT com DOT au>
To: "Pavel Tsekov" <ptsekov AT syntrex DOT com>, <cygwin-apps AT cygwin DOT com>
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id g459Hfi12251

Yep, that was corrected in my last checkin - about 3 hours ago :}.

It should build correctly now if you update.

Rob

> -----Original Message-----
> From: Pavel Tsekov [mailto:ptsekov AT syntrex DOT com] 
> Sent: Sunday, May 05, 2002 7:09 PM
> To: cygwin-apps AT cygwin DOT com
> Subject: setup.exe MD5 snapshot from 0504 compile error
> 
> 
> The compilation breaks like this:
> 
> g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" 
> g++ -DPACKAGE_
> STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"setup\" 
> -DVERSION=\"0\" -DSTDC_ HEADERS=1 -DHAVE_SYS_TYPES_H=1 
> -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRI NG_H=1 
> -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_UNISTD_H=1 
> -DHAVE_DLFCN_H=1 -
> DHAVE_ALLOCA_H=1  -I. -I. -I./bz2lib -I./libgetopt++/include  
>  -Werror -Winline
> -Wall -Wpointer-arith -Wcast-align -Wwrite-strings 
> -Wstrict-prototypes -Wmissing -prototypes 
> -Wmissing-declarations -Wcomments  -g -O2 -c -o package_db.o 
> `test - f package_db.cc || echo './'`package_db.cc
> package_db.cc: In method `int packagedb::flush()':
> package_db.cc:132: `errno' undeclared (first use this function)
> package_db.cc:132: (Each undeclared identifier is reported only once
> package_db.cc:132: for each function it appears in.)
> cc1plus.exe: warnings being treated as errors
> package_db.cc:161: warning: control reaches end of non-void 
> function `packagedb: :flush()'
> make[2]: *** [package_db.o] Error 1
> make[2]: Leaving directory `/usr/src/setup-0'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/usr/src/setup-0'
> make: *** [all] Error 2
> 
> This is because the #include <errno.h> is guarded by
> #ifdef HAVE_ERRNO_H directive which is missing from the
> g++ command line. I greped the config.log and there is
> no indication that the configure script tries to detect the 
> presence of errno.h.
> 
> 

- Raw text -


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