|
View:
New views
2 Messages
—
Rating Filter:
Alert me
|
|
|
Compiling taglib 1.5 under mingw and msys failsHi, I am having problems building the 1.5 release of TabLib using mingw under msys. I downloaded the release and uncompressed/tar to a directory. I then followed the instructions in the INSTALL file - however the build fails. I did manage to build taglib 1.4 under msys/ming however the tags it is writing are causing problems for several different applications (which do support ID 3v2 tags) - which is why I would like to try a more up-to-date version (my application is being developed under msys in order to allow me to port it to Linux). Output from configure and make are included at the bottom of the email. ./configure seems to give a few error/warning messages but it does succeed - however if I then run make that fails. After inspecting the configure output, I took a look at conf.change.pl - however I don't know perl nor do I understand what the script is trying to do. I am running GNU automake 1.10.1 and GNU Autoconf 2.61. Any advice/assistance would be much appreciated as I am not really sure where to go from here. Thanks, Neil. ======= Configure output begins ======= $ ./configure checking build system type... i686-pc-mingw32 checking host system type... i686-pc-mingw32 checking target system type... i686-pc-mingw32 checking for a BSD-compatible install... /bin/install -c checking for -p flag to install... yes checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking for style of include used by make... GNU checking for gcc... gcc checking for C compiler default output file name... a.exe checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... .exe checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking dependency style of gcc... gcc3 checking how to run the C preprocessor... gcc -E checking for g++... g++ checking whether we are using the GNU C++ compiler... yes checking whether g++ accepts -g... yes checking dependency style of g++... gcc3 checking whether gcc is blacklisted... no checking whether g++ supports -Wundef... yes checking whether g++ supports -Wno-long-long... yes checking whether g++ supports -Wno-non-virtual-dtor... yes checking whether g++ supports -fno-reorder-blocks... yes checking whether g++ supports -fno-exceptions... yes checking whether g++ supports -fno-check-new... yes checking whether g++ supports -fno-common... yes checking whether g++ supports -fexceptions... yes checking whether system headers can cope with -O2 -fno-inline... irrelevant checking how to run the C++ preprocessor... g++ -E checking whether g++ supports -O0... yes ./configure: ldd: command not found not using lib directory suffix checking for a sed that does not truncate output... /bin/sed checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -E checking for ld used by gcc... c:/mingw/mingw32/bin/ld.exe checking if the linker (c:/mingw/mingw32/bin/ld.exe) is GNU ld... yes checking for c:/mingw/mingw32/bin/ld.exe option to reload object files... -r checking for BSD-compatible nm... /mingw/bin/nm checking whether ln -s works... no, using cp -p checking how to recognise dependent libraries... file_magic ^x86 archive import|^x86 DLL checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking dlfcn.h usability... no checking dlfcn.h presence... no checking for dlfcn.h... no checking for g77... no checking for xlf... no checking for f77... no checking for frt... no checking for pgf77... no checking for cf77... no checking for fort77... no checking for fl32... no checking for af77... no checking for xlf90... no checking for f90... no checking for pgf90... no checking for pghpf... no checking for epcf90... no checking for gfortran... no checking for g95... no checking for xlf95... no checking for f95... no checking for fort... no checking for ifort... no checking for ifc... no checking for efc... no checking for pgf95... no checking for lf95... no checking for ftn... no checking whether we are using the GNU Fortran 77 compiler... no checking whether accepts -g... no checking the maximum length of command line arguments... 8192 checking command to parse /mingw/bin/nm output from gcc object... ok checking for objdir... .libs checking for ar... ar checking for ranlib... ranlib checking for strip... strip checking if gcc static flag works... yes checking if gcc supports -fno-rtti -fno-exceptions... no checking for gcc option to produce PIC... -DDLL_EXPORT checking if gcc PIC flag -DDLL_EXPORT works... yes checking if gcc supports -c -o file.o... yes checking whether the gcc linker (c:/mingw/mingw32/bin/ld.exe) supports shared libraries... yes checking whether -lc should be explicitly linked in... yes checking dynamic linker characteristics... Win32 ld.exe checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... no configure: creating libtool appending configuration tag "CXX" to libtool checking for ld used by g++... c:/mingw/mingw32/bin/ld.exe checking if the linker (c:/mingw/mingw32/bin/ld.exe) is GNU ld... yes checking whether the g++ linker (c:/mingw/mingw32/bin/ld.exe) supports shared libraries... yes checking for g++ option to produce PIC... -DDLL_EXPORT checking if g++ PIC flag -DDLL_EXPORT works... yes checking if g++ supports -c -o file.o... yes checking whether the g++ linker (c:/mingw/mingw32/bin/ld.exe) supports shared libraries... yes checking dynamic linker characteristics... Win32 ld.exe checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes appending configuration tag "F77" to libtool checking zlib.h usability... yes checking zlib.h presence... yes checking for zlib.h... yes checking cppunit/extensions/HelperMacros.h usability... no checking cppunit/extensions/HelperMacros.h presence... no checking for cppunit/extensions/HelperMacros.h... no checking if bindings should be compiled... yes checking if examples should be compiled... yes checking if taglib should be compiled... yes checking if tests should be compiled... yes configure: creating ./config.status wrong input (flag != 4) at admin/conf.change.pl line 117, <> line 1127. config.status: creating Makefile config.status: creating bindings/Makefile config.status: creating bindings/c/Makefile config.status: creating examples/Makefile config.status: creating taglib/Makefile config.status: creating taglib/ape/Makefile config.status: creating taglib/flac/Makefile config.status: creating taglib/mpc/Makefile config.status: creating taglib/mpeg/Makefile config.status: creating taglib/mpeg/id3v1/Makefile config.status: creating taglib/mpeg/id3v2/Makefile config.status: creating taglib/mpeg/id3v2/frames/Makefile config.status: creating taglib/ogg/Makefile config.status: creating taglib/ogg/flac/Makefile config.status: creating taglib/ogg/speex/Makefile config.status: creating taglib/ogg/vorbis/Makefile config.status: creating taglib/toolkit/Makefile config.status: creating taglib/trueaudio/Makefile config.status: creating taglib/wavpack/Makefile config.status: creating tests/Makefile config.status: creating taglib-config config.status: creating taglib.pc config.status: creating bindings/c/taglib_c.pc config.status: creating config.h config.status: executing depfiles commands Good - your configure finished. Start make now ======= configure output ends ======= ======= Make output ======= $ make make all-recursive make[1]: Entering directory `/d/cprojs/taglib-1.5' Making all in taglib make[2]: Entering directory `/d/cprojs/taglib-1.5/taglib' Making all in toolkit make[3]: Entering directory `/d/cprojs/taglib-1.5/taglib/toolkit' /bin/sh ../../libtool --silent --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../.. -I../../taglib -Wno-long-long -Wundef -Wall -W -Wpointer-arith -O2 -Wno-non-virtual-dtor -fno-exceptions -fno-check-new -fno-common -fexceptions -MT tstring.lo -MD -MP -MF .deps/tstring.Tpo -c -o tstring.lo tstring.cpp tstring.cpp:74: error: definition of static data member 'TagLib::String::null' of dllimport'd class tstring.cpp:305: warning: non-inline function 'TagLib::String TagLib::String::substr(TagLib::uint, TagLib::uint) const' is defined after prior declaration as dllimport: attribute ignored tstring.cpp:305: warning: 'TagLib::String TagLib::String::substr(TagLib::uint, TagLib::uint) const' defined locally after being referenced with dllimport linkage tstring.cpp:343: warning: non-inline function 'TagLib::uint TagLib::String::length() const' is defined after prior declaration as dllimport: attribute ignored tstring.cpp:343: warning: 'TagLib::uint TagLib::String::length() const' defined locally after being referenced with dllimport linkage tstring.cpp:522: warning: non-inline function 'bool TagLib::String::operator==(const TagLib::String&) const' is defined after prior declaration as dllimport: attribute ignored tstring.cpp:522: warning: 'bool TagLib::String::operator==(const TagLib::String&) const' defined locally after being referenced with dllimport linkage tstring.cpp:552: warning: non-inline function 'TagLib::String& TagLib::String::operator+=(wchar_t)' is defined after prior declaration as dllimport: attribute ignored tstring.cpp:552: warning: 'TagLib::String& TagLib::String::operator+=(wchar_t)' defined locally after being referenced with dllimport linkage tstring.cpp:560: warning: non-inline function 'TagLib::String& TagLib::String::operator+=(char)' is defined after prior declaration as dllimport: attribute ignored tstring.cpp:560: warning: 'TagLib::String& TagLib::String::operator+=(char)' defined locally after being referenced with dllimport linkage tstring.cpp:682: warning: non-inline function 'void TagLib::String::detach()' is defined after prior declaration as dllimport: attribute ignored tstring.cpp:682: warning: 'void TagLib::String::detach()' defined locally after being referenced with dllimport linkage tstring.cpp:694: warning: non-inline function 'void TagLib::String::prepare(TagLib::String::Type)' is defined after prior declaration as dllimport: attribute ignored tstring.cpp:694: warning: 'void TagLib::String::prepare(TagLib::String::Type)' defined locally after being referenced with dllimport linkage tstring.cpp: In member function `TagLib::uint TagLib::String::length() const': tstring.cpp:338: warning: non-inline function 'TagLib::uint TagLib::String::size() const' is defined after prior declaration as dllimport: attribute ignored tstring.cpp: In function `std::ostream& operator<<(std::ostream&, const TagLib::String&)': tstring.cpp:206: warning: non-inline function 'std::string TagLib::String::to8Bit(bool) const' is defined after prior declaration as dllimport: attribute ignored tstring.cpp: In static member function `static TagLib::String TagLib::String::number(int)': tstring.cpp:83: warning: non-inline function 'TagLib::String::String(const TagLib::String&)' is defined after prior declaration as dllimport: attribute ignored tstring.cpp: In function `const TagLib::String operator+(const TagLib::String&, const char*)': tstring.cpp:315: warning: non-inline function 'TagLib::String& TagLib::String::append(const TagLib::String&)' is defined after prior declaration as dllimport: attribute ignored tstring.cpp: In member function `TagLib::String TagLib::String::stripWhiteSpace() const': tstring.cpp:110: warning: non-inline function 'TagLib::String::String(const TagLib::wstring&, TagLib::String::Type)' is defined after prior declaration as dllimport: attribute ignored make[3]: *** [tstring.lo] Error 1 make[3]: Leaving directory `/d/cprojs/taglib-1.5/taglib/toolkit' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/d/cprojs/taglib-1.5/taglib' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/d/cprojs/taglib-1.5' make: *** [all] Error 2 ======= Make output ends ======= Try Messenger on your mobile. Text MSN to 63463 Now. _______________________________________________ taglib-devel mailing list taglib-devel@... https://mail.kde.org/mailman/listinfo/taglib-devel |
|
|
Re: Compiling taglib 1.5 under mingw and msys failsOn Ne, 2008-04-06 at 19:29 +0100, Neil Potter wrote:
> Hi, > > I am having problems building the 1.5 release of TabLib using mingw > under msys. > > I downloaded the release and uncompressed/tar to a directory. I then > followed the instructions in the INSTALL file - however the build > fails. > > I did manage to build taglib 1.4 under msys/ming however the tags it > is writing are causing problems for several different applications > (which do support ID 3v2 tags) - which is why I would like to try a > more up-to-date version (my application is being developed under msys > in order to allow me to port it to Linux). > > Output from configure and make are included at the bottom of the > email. > ./configure seems to give a few error/warning messages but it does > succeed - however if I then run make that fails. > > After inspecting the configure output, I took a look at conf.change.pl > - however I don't know perl nor do I understand what the script is > trying to do. > > I am running GNU automake 1.10.1 and GNU Autoconf 2.61. > Any advice/assistance would be much appreciated as I am not really > sure where to go from here. The build needs a MAKE_TAGLIB_LIB macro to be defined, in order to export DLL symbols, rather than trying to import them. You can either patch one of the automake files to define this macro, or better, use CMake. Lukas _______________________________________________ taglib-devel mailing list taglib-devel@... https://mail.kde.org/mailman/listinfo/taglib-devel |
| Free Forum Powered by Nabble | Forum Help |