Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , 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: <000801c2e1e3$9b64de60$03f90950@tbird1000> From: "Manu" To: "Max Bowsher" , Subject: Re: Cygwin setup crashes Date: Tue, 4 Mar 2003 01:17:57 +0100 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6600 After a few editing in the Makefiles, (I don't have much time :) I've built setup.exe from CVS sources, with debug symbols. Dr. MinGW gives an interesting clue: Manu. ---- SETUP.EXE caused an Access Violation at location 00406816 in module SETUP.EXE Reading from location ffffffff. Registers: eax=00000000 ebx=01199d50 ecx=0169ffbc edx=000000a0 esi=01199d50 edi=01064d64 eip=00406816 esp=0169ba94 ebp=0169baa8 iopl=0 nv up ei pl nz ac pe nc cs=015f ss=0167 ds=0167 es=0167 fs=503f gs=0000 efl=00010212 Call stack: 00406816 SETUP.EXE:00406816 compress_gz::destroy() compress_gz.cc:472 ... free (outbuf); if (original) > delete original; } ... 004069D0 SETUP.EXE:004069D0 compress_gz::~compress_gz() compress_gz.cc:490 ... } destroy (); > destroyed = 1; return; } ... 0041B0CB SETUP.EXE:0041B0CB install_one_source(packagemeta&, packagesource&, String const&, String const&, package_type_t) install.cc:186 ... if (lst->error ()) { > delete lst; lst = NULL; } ... 0041B73C SETUP.EXE:0041B73C install_one(packagemeta&) install.cc:379 ... if (pkg.installed != pkg.desired && pkg.desired.picked()) { > errors += install_one_source (pkg, *pkg.desired.source(), "cygfile://","/", package_binary); ... 0041BFC4 SETUP.EXE:0041BFC4 do_install_thread(HINSTANCE__*, HWND__*) install.cc:570 ... int e = 0; e += install_one (pkg); > if (e) errors++; } ... 0041C2C5 SETUP.EXE:0041C2C5 do_install_reflector(void*) install.cc:626 ... // Tell the progress page that we're done downloading > Progress.PostMessage (WM_APP_INSTALL_THREAD_COMPLETE); ExitThread (0); ... BFF88EF7 KERNEL32.DLL:BFF88EF7 ReadConsoleOutputA BFF86966 KERNEL32.DLL:BFF86966 Heap32First ----- Original Message ----- From: "Manu" To: "Max Bowsher" ; Sent: Monday, March 03, 2003 11:59 PM Subject: Re: Cygwin setup crashes > Max Bowsher wrote: > > > > Manu wrote: > > > Cygwin's setup.exe crashes when installing from a local directory. > > > I'm running Win98. > > > > Odd. What is your net connection like? Can I email you a debug build of > > setup.exe to try? (1.26MB zip, or 1.07MB .bz2) > > I have a slow RTC connection unfortunately. > 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++. > > Manu. > -- 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/