dcplusplus bzr rev 2390 fails to link in release mode with mingw g++ 4.5.2 and ld 2.21
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
DC++ |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
A reprise of my previous recent bug, but this time using http://
% scons mode=release prefix=
scons: Reading SConscript files ...
Checking for C++ header file htmlhelp.h... (cached) no
Checking for C++ header file natupnp.h... (cached) no
scons: done reading SConscript files.
scons: Building targets ...
Linking build/release-
/opt/mingw/
build/release-
collect2: ld returned 1 exit status
# collect2 4.98 3.50
scons: *** [build/
scons: building terminated because of errors.
% i686-pc-mingw32-g++ --version
i686-pc-mingw32-g++ (GCC) 4.5.2
Copyright (C) 2010 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
% i686-pc-mingw32-ld --version
GNU ld (GNU Binutils) 2.21
Copyright 2010 Free Software Foundation, Inc.
This program is free software; you may redistribute it under the terms of
the GNU General Public License version 3 or (at your option) a later version.
This program has absolutely no warranty.
description: | updated |
Changed in dcplusplus: | |
status: | New → Fix Committed |
this might be yet another mingw / mingw64 incompatibility - the latest openssl binaries in the repositories have been compiled with mingw64. then again, it works on mingw on Windows.
to verify whether this is the cause, try to replace your openssl/include and openssl/lib directories with a previous version that wasn't compiled with mingw64, for example the ones in the DC++ 0.770 source code.