Mailing-List: contact cygwin-apps-help AT cygwin DOT com; run by ezmlm Sender: cygwin-apps-owner AT cygwin DOT com List-Subscribe: List-Archive: List-Post: List-Help: , 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 Content-Type: text/plain; charset="us-ascii" 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: X-MS-Has-Attach: X-MS-TNEF-Correlator: From: "Robert Collins" To: "Pavel Tsekov" , Content-Transfer-Encoding: 8bit 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 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. > >