| delorie.com/archives/browse.cgi | search |
| Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
| List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
| List-Archive: | <http://sources.redhat.com/ml/cygwin/> |
| List-Post: | <mailto:cygwin AT cygwin DOT com> |
| List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs> |
| Sender: | cygwin-owner AT cygwin DOT com |
| Mail-Followup-To: | cygwin AT cygwin DOT com |
| Delivered-To: | mailing list cygwin AT cygwin DOT com |
| X-Originating-IP: | [129.42.208.186] |
| From: | "Thomas Chadwick" <j_tetazoo AT hotmail DOT com> |
| To: | cygwin AT cygwin DOT com |
| Subject: | Errors when building setup.exe |
| Date: | Wed, 20 Nov 2002 13:53:40 -0500 |
| Mime-Version: | 1.0 |
| Message-ID: | <F28tYwlib4g3Sv0YKpD00000076@hotmail.com> |
| X-OriginalArrivalTime: | 20 Nov 2002 18:53:40.0448 (UTC) FILETIME=[242A6E00:01C290C6] |
| Note-from-DJ: | This may be spam |
I downloaded the source for the Cygwin setup program (via setup), ran
configure, and then make. All went smoothly until this:
Making all in libgetopt++
make[2]: Entering directory `/usr/src/setup-0/libgetopt++'
source='src/GetOption.cc' object='src/GetOption.lo' libtool=yes \
depfile='src/.deps/GetOption.Plo' tmpdepfile='src/.deps/GetOption.TPlo' \
depmode=gcc3 /bin/bash ./cfgaux/depcomp \
/bin/bash ./libtool --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I./include
-I./include -g -O2 -c -o src/GetOption.lo `test -f 'src/GetOption.cc' ||
echo './'`src/GetOption.cc
mkdir src/.libs
g++ -DHAVE_CONFIG_H -I. -I. -I./include -I./include -g -O2 -c
src/GetOption.cc -MT src/GetOption.lo -MD -MP -MF src/.deps/GetOption.TPlo
-DPIC -o src/.libs/GetOption.o
In file included from include/getopt++/GetOption.h:19,
from src/GetOption.cc:19:
include/getopt++/OptionSet.h:31: `ostream' was not declared in this scope
include/getopt++/OptionSet.h:31: parse error before `)' token
In file included from src/GetOption.cc:20:
include/getopt++/Option.h:33: ISO C++ forbids declaration of `string' with
no
type
include/getopt++/Option.h:33: `string' declared as a `virtual' field
include/getopt++/Option.h:33: parse error before `const'
include/getopt++/Option.h:35: ISO C++ forbids declaration of `string' with
no
type
include/getopt++/Option.h:35: `string' declared as a `virtual' field
include/getopt++/Option.h:35: declaration of `int Option::string'
include/getopt++/Option.h:33: conflicts with previous declaration `int
Option::string'
include/getopt++/Option.h:35: parse error before `const'
include/getopt++/Option.h:35: duplicate member `Option::string'
make[2]: *** [src/GetOption.lo] Error 1
make[2]: Leaving directory `/usr/src/setup-0/libgetopt++'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/src/setup-0'
make: *** [all] Error 2
Shouldn't this package build cleanly "out of the box"? Am I missing
something?
_________________________________________________________________
STOP MORE SPAM with the new MSN 8 and get 2 months FREE*
http://join.msn.com/?page=features/junkmail
--
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/
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |