From: SourceForge.net <no...@so...> - 2006-04-22 15:21:27
|
Bugs item #1474234, was opened at 2006-04-21 14:40 Message generated for change (Comment added) made by keithmarshall You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=102435&aid=1474234&group_id=2435 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: mingwPORT Group: None Status: Open Resolution: None Priority: 5 Submitted By: Keith Marshall (keithmarshall) >Assigned to: Keith Marshall (keithmarshall) Summary: Build of wget-1.9.1-mingwPORT Fails Initial Comment: Attempting to build this mingwPORT, I observe three errors, viz:- 1) wget-1.9.1/src/mswindows.c:140: warning: unreachable code at beginning of switch statement Although only a warning, this isn't one which I am comfortable leaving without investigation. 2) gcc -O3 -s -mms-bitfields -march=i686 -o wget.exe ... object_files... -lws2_32 ftp.o(.text+0x2f2f):ftp.c: undefined reference to `ftruncate' http.o(.text+0x2fee):http.c: undefined reference to `ftruncate' It's this missing reference to the one symbol, `ftruncate' which actually breaks the build. 3) After failing the `make' phase, the mingwPORT continues to attempt a `make install' from the incomplete build. This causes a repeated attempt to link `wget.exe', but this time *without reference to `-lws2_32'*, resulting in many more misleading `undefined reference' errors. ---------------------------------------------------------------------- >Comment By: Keith Marshall (keithmarshall) Date: 2006-04-22 15:21 Message: Logged In: YES user_id=823908 Hmm. The missing `ftruncate' is addressed by providing an inline function definition in current `unistd.h'. Mine must be too old; guess it's time for an upgrade :-) Its companion, `truncate' doesn't seem to be provided; perhaps we should consider adding it too. I'll keep this ticket open for now, as reminder to fix portmaker, to suppress the `make' and `make install' phases, after a failing `configure', and the `make install' after a failing `make'. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=102435&aid=1474234&group_id=2435 |