linuxdcpp-team team mailing list archive
-
linuxdcpp-team team
-
Mailing list archive
-
Message #02931
[Bug 701391] Re: dcplusplus bzr rev 2390 fails to link in release mode with mingw g++ 4.5.2 and ld 2.21
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.
--
You received this bug notification because you are a member of
Dcplusplus-team, which is subscribed to DC++.
https://bugs.launchpad.net/bugs/701391
Title:
dcplusplus bzr rev 2390 fails to link in release mode with mingw g++ 4.5.2 and ld 2.21
Status in DC++:
New
Bug description:
A reprise of my previous recent bug, but this time using http://mingw-cross-env.nongnu.org/ as suggested. The current release is only still gcc 4.5.1-based, but the development version at http://mingw-cross-env.nongnu.org/#development is 4.5.2, which was claimed to have worked. As with that bug, everything functions fine creating a debug build. In release mode, however, my results are identical to before (this time with a fresh local bzr branch):
% scons mode=release prefix=i686-pc-mingw32-
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-mingw/bin/DCPlusPlus.exe (static)
/opt/mingw/usr/lib/gcc/i686-pc-mingw32/4.5.2/../../../../i686-pc-mingw32/lib/libmsvcrt.a(duyms00667.o):(.text+0x0): multiple definition of `_isxdigit'
build/release-mingw/dcpp/libdcpp.a(SimpleXMLReader.o):/opt/mingw/usr/lib/gcc/i686-pc-mingw32/4.5.2/../../../../i686-pc-mingw32/include/ctype.h:164: first defined here
collect2: ld returned 1 exit status
# collect2 4.98 3.50
scons: *** [build/release-mingw/bin/DCPlusPlus.exe] Error 1
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.
References