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 |
Message-ID: | <012201c2e24f$b813bbf0$78d96f83@pomello> |
From: | "Max Bowsher" <maxb AT ukf DOT net> |
To: | "Manu" <manubee AT wanadoo DOT fr>, <cygwin AT cygwin DOT com> |
References: | <000701c2e1c6$42e87520$05fb0950 AT tbird1000> <000701c2e1c9$bae82f90$78d96f83 AT pomello> <001401c2e1d8$bb816480$6517f9c1 AT tbird1000> |
Subject: | Re: Cygwin setup crashes |
Date: | Tue, 4 Mar 2003 13:12:32 -0000 |
MIME-Version: | 1.0 |
X-Priority: | 3 |
X-MSMail-Priority: | Normal |
X-MimeOLE: | Produced By Microsoft MimeOLE V6.00.2800.1106 |
Manu wrote: > Anyway, I tried to build the CVS sources, but "setup" doesn't link: > > linking setup.exe > [...] > c:/Dev/Sources/Cygwin-Setup/build/libgetopt++/src/OptionSet.cc:76: > undefined reference to `getopt_long' > c:/Dev/Sources/Cygwin-Setup/build/libgetopt++/src/OptionSet.cc:91: > undefined reference to `optarg' > c:/Dev/Sources/Cygwin-Setup/build/libgetopt++/src/OptionSet.cc:95: > undefined reference to `optind' > c:/Dev/Sources/Cygwin-Setup/build/libgetopt++/src/OptionSet.cc:96: > undefined reference to `optind' > [..] > > Strange, since I have libgetopt installed. > > I have done "./libgetopt++/bootstrap.sh", then, > > "./configure -C --enable-dependencies --disable-shared \ > --build=i386-pc-mingw32 'CC=gcc -g' 'CXX=g++ -g' \ > --enable-maintainer-mode && make" > > libgetopt++/src/getopt.c is not compiled, my "MinGW/lib/getopt.a" > is not linked with libgetopt++. You are confused with your configure line. Your --build flag is very incorrect. Either: Drop the --build flag, use the rest as-is to build a cygwin1.dll dependent version of setup. Or: Use the configure line as-is from http://sources.redhat.com/cygwin-apps/setup.html. Max. -- 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 |