Thread Image::PNG::Simple Problem beim Kompilieren (15 answers)
Opened by rosti at 2017-04-15 07:35

rosti
 2017-04-15 07:35
#186322 #186322
User since
2011-03-19
3472 Artikel
BenutzerIn
[Homepage]
user image
H,

der Autor des Moduls antwortet nicht, also hier mal nachgefragt.



nach Erstellung Makefile, beim Ausführen dmake:

d:/mingw/bin/../lib/gcc/mingw32/5.3.0/../../../libmingwex.a(vsnprintf.o):(.text+0x0):
multiple definition of `vsnprintf'
d:/mingw/bin/../lib/gcc/mingw32/5.3.0/../../../libmsvcrt.a(dfpcbs01290.o):(.text+0x0):
first defined here
collect2.exe: error: ld returned 1 exit status
dmake.exe: Error code 129, while making
'blib\arch\auto\Image\PNG\Simple\Simple.dll'


How can I fix it?

Environment see below:

This is perl 5, version 16, subversion 3 (v5.16.3) built for
MSWin32-x86-multi-thread
(with 1 registered patch, see perl -V for more detail)


D:\cpan\Image-PNG-Simple-0.07>gcc -v
Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=d:/mingw/bin/../libexec/gcc/mingw32/5.3.0/lto-wrapper.exe
Target: mingw32
Configured with:
../src/gcc-5.3.0/configure --build=x86_64-pc-linux-gnu --host=mingw32 --p
refix=/mingw --disable-win32-registry --target=mingw32 --with-arch=i586 --enable-languages
=c,c++,objc,obj-c++,fortran,ada --enable-static --enable-shared --enable-threads
--with-dw
arf2 --disable-sjlj-exceptions --enable-version-specific-runtime-libs --with-libintl-prefi
x=/mingw --enable-libstdcxx-debug --with-tune=generic --enable-libgomp --disable-libvtv
--
enable-nls : (reconfigured)
../src/gcc-5.3.0/configure --build=x86_64-pc-linux-gnu --host=
mingw32 --prefix=/mingw --disable-win32-registry --target=mingw32 --with-arch=i586
--enabl
e-languages=c,c++,objc,obj-c++,fortran,ada --enable-static --enable-shared --enable-thread
s --with-dwarf2 --disable-sjlj-exceptions --enable-version-specific-runtime-libs
--with-li
biconv-prefix=/mingw --with-libintl-prefix=/mingw --enable-libstdcxx-debug --with-tune=gen
eric --enable-libgomp --disable-libvtv --enable-nls
Thread model: win32
gcc version 5.3.0 (GCC)
Last edited: 2017-04-19 15:13:28 +0200 (CEST)

View full thread Image::PNG::Simple Problem beim Kompilieren