[voikko] Libvoikko ei käänny

Teemu Likonen tlikonen at iki.fi
Tue Jun 26 11:20:22 EEST 2012


Päivitin juuri koneen amd64-arkkitehtuuriin ja asensin
käyttöjärjestelmän uudestaan (Debian 6.0.5).

En saa enää libvoikkoa käännettyä ja tarvitsen apua. Alla on osa
komennon "makevoikkodeb libvoikko svn" tulosteesta. Liitteenä koko
configure+make-tuloste.


libtool: compile: x86_64-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I.. -g -O2
-fvisibility=hidden -Wall -Werror -pedantic -MT fst/Transducer.lo -MD
-MP -MF fst/.deps/Transducer.Tpo -c fst/Transducer.cpp -fPIC -DPIC -o
fst/.libs/Transducer.o

cc1plus: warnings being treated as errors

fst/Transducer.cpp: In function ‘libvoikko::fst::OpFeatureValue
libvoikko::fst::getDiacriticOperation(const std::string&,
std::map<std::basic_string<char, std::char_traits<char>,
std::allocator<char> >, short unsigned int,
std::less<std::basic_string<char, std::char_traits<char>,
std::allocator<char> > >, std::allocator<std::pair<const
std::basic_string<char, std::char_traits<char>, std::allocator<char> >,
short unsigned int> > >&, std::map<std::basic_string<char,
std::char_traits<char>, std::allocator<char> >, short unsigned int,
std::less<std::basic_string<char, std::char_traits<char>,
std::allocator<char> > >, std::allocator<std::pair<const
std::basic_string<char, std::char_traits<char>, std::allocator<char> >,
short unsigned int> > >&)’:

fst/Transducer.cpp:81: error:
‘operation.libvoikko::fst::OpFeatureValue::value’ may be used
uninitialized in this function

fst/Transducer.cpp:81: error:
‘operation.libvoikko::fst::OpFeatureValue::feature’ may be used
uninitialized in this function

fst/Transducer.cpp:81: error:
‘operation.libvoikko::fst::OpFeatureValue::op’ may be used uninitialized
in this function

-------------- next part --------------
./configure --host=x86_64-linux-gnu --build=x86_64-linux-gnu --prefix=/usr --mandir=\${prefix}/share/man --infodir=\${prefix}/share/info --with-dictionary-path=/usr/lib/voikko --enable-vfst
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... no
checking for mawk... mawk
checking whether make sets $(MAKE)... yes
checking for x86_64-linux-gnu-g++... x86_64-linux-gnu-g++
checking whether the C++ compiler works... yes
checking for C++ compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C++ compiler... yes
checking whether x86_64-linux-gnu-g++ accepts -g... yes
checking for style of include used by make... GNU
checking dependency style of x86_64-linux-gnu-g++... gcc3
checking build system type... x86_64-pc-linux-gnu
checking host system type... x86_64-pc-linux-gnu
checking for x86_64-linux-gnu-gcc... x86_64-linux-gnu-gcc
checking whether we are using the GNU C compiler... yes
checking whether x86_64-linux-gnu-gcc accepts -g... yes
checking for x86_64-linux-gnu-gcc option to accept ISO C89... none needed
checking dependency style of x86_64-linux-gnu-gcc... gcc3
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 fgrep... /bin/grep -F
checking for ld used by x86_64-linux-gnu-gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
checking the name lister (/usr/bin/nm -B) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 3458764513820540925
checking whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... yes
checking for /usr/bin/ld option to reload object files... -r
checking for x86_64-linux-gnu-objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for x86_64-linux-gnu-ar... no
checking for ar... ar
checking for x86_64-linux-gnu-strip... no
checking for strip... strip
checking for x86_64-linux-gnu-ranlib... no
checking for ranlib... ranlib
checking command to parse /usr/bin/nm -B output from x86_64-linux-gnu-gcc object... ok
checking how to run the C preprocessor... x86_64-linux-gnu-gcc -E
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 for dlfcn.h... yes
checking whether we are using the GNU C++ compiler... (cached) yes
checking whether x86_64-linux-gnu-g++ accepts -g... (cached) yes
checking dependency style of x86_64-linux-gnu-g++... (cached) gcc3
checking how to run the C++ preprocessor... x86_64-linux-gnu-g++ -E
checking for objdir... .libs
checking if x86_64-linux-gnu-gcc supports -fno-rtti -fno-exceptions... no
checking for x86_64-linux-gnu-gcc option to produce PIC... -fPIC -DPIC
checking if x86_64-linux-gnu-gcc PIC flag -fPIC -DPIC works... yes
checking if x86_64-linux-gnu-gcc static flag -static works... yes
checking if x86_64-linux-gnu-gcc supports -c -o file.o... yes
checking if x86_64-linux-gnu-gcc supports -c -o file.o... (cached) yes
checking whether the x86_64-linux-gnu-gcc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
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... yes
checking for ld used by x86_64-linux-gnu-g++... /usr/bin/ld -m elf_x86_64
checking if the linker (/usr/bin/ld -m elf_x86_64) is GNU ld... yes
checking whether the x86_64-linux-gnu-g++ linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
checking for x86_64-linux-gnu-g++ option to produce PIC... -fPIC -DPIC
checking if x86_64-linux-gnu-g++ PIC flag -fPIC -DPIC works... yes
checking if x86_64-linux-gnu-g++ static flag -static works... yes
checking if x86_64-linux-gnu-g++ supports -c -o file.o... yes
checking if x86_64-linux-gnu-g++ supports -c -o file.o... (cached) yes
checking whether the x86_64-linux-gnu-g++ linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether to enable maintainer-specific portions of Makefiles... no
checking for an ANSI C-conforming const... yes
checking stddef.h usability... yes
checking stddef.h presence... yes
checking for stddef.h... yes
checking for stdlib.h... (cached) yes
checking langinfo.h usability... yes
checking langinfo.h presence... yes
checking for langinfo.h... yes
checking locale.h usability... yes
checking locale.h presence... yes
checking for locale.h... yes
checking wctype.h usability... yes
checking wctype.h presence... yes
checking for wctype.h... yes
checking wchar.h usability... yes
checking wchar.h presence... yes
checking for wchar.h... yes
checking for size_t... yes
checking whether x86_64-linux-gnu-gcc supports the visibility attribute... yes
checking for x86_64-linux-gnu-pkg-config... no
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for the pthreads library -lpthreads... no
checking whether pthreads work without any flags... no
checking whether pthreads work with -Kthread... no
checking whether pthreads work with -kthread... no
checking for the pthreads library -llthread... no
checking whether pthreads work with -pthread... yes
checking for joinable pthread attribute... PTHREAD_CREATE_JOINABLE
checking if more special flags are required for pthreads... no
checking for stdlib.h... (cached) yes
checking for GNU libc compatible malloc... yes
checking for stdlib.h... (cached) yes
checking for GNU libc compatible realloc... yes
checking whether lstat correctly handles trailing slash... yes
checking whether stat accepts an empty string... no
checking for setlocale... yes
checking for mbrlen... yes
checking for memset... yes
checking for strchr... yes
checking for getpwuid_r... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating src/Makefile
config.status: creating src/tools/Makefile
config.status: creating java/Makefile
config.status: creating msvc/Makefile
config.status: creating test/Makefile
config.status: creating cs/Makefile
config.status: creating cl/Makefile
config.status: creating src/libvoikko.pc
config.status: creating config.h
config.status: executing depfiles commands
config.status: executing libtool commands
dh_testdir
# Add here commands to compile the package.
/usr/bin/make
make[1]: Entering directory `/home/dtw/tmp/libvoikko'
/usr/bin/make  all-recursive
make[2]: Entering directory `/home/dtw/tmp/libvoikko'
Making all in src
make[3]: Entering directory `/home/dtw/tmp/libvoikko/src'
python ./autocorrect/triecompiler.py ./../data/autocorrect/fi_FI.xml autocorrect/data.hpp
/usr/bin/make  all-am
make[4]: Entering directory `/home/dtw/tmp/libvoikko/src'
depbase=`echo fst/Configuration.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`;\
        /bin/bash ../libtool --tag=CXX   --mode=compile x86_64-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I..     -g -O2 -fvisibility=hidden -Wall -Werror -pedantic -MT fst/Configuration.lo -MD -MP -MF $depbase.Tpo -c -o fst/Configuration.lo fst/Configuration.cpp &&\
        mv -f $depbase.Tpo $depbase.Plo
libtool: compile:  x86_64-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I.. -g -O2 -fvisibility=hidden -Wall -Werror -pedantic -MT fst/Configuration.lo -MD -MP -MF fst/.deps/Configuration.Tpo -c fst/Configuration.cpp  -fPIC -DPIC -o fst/.libs/Configuration.o
libtool: compile:  x86_64-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I.. -g -O2 -fvisibility=hidden -Wall -Werror -pedantic -MT fst/Configuration.lo -MD -MP -MF fst/.deps/Configuration.Tpo -c fst/Configuration.cpp -o fst/Configuration.o >/dev/null 2>&1
depbase=`echo fst/Transducer.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`;\
        /bin/bash ../libtool --tag=CXX   --mode=compile x86_64-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I..     -g -O2 -fvisibility=hidden -Wall -Werror -pedantic -MT fst/Transducer.lo -MD -MP -MF $depbase.Tpo -c -o fst/Transducer.lo fst/Transducer.cpp &&\
        mv -f $depbase.Tpo $depbase.Plo
libtool: compile:  x86_64-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I.. -g -O2 -fvisibility=hidden -Wall -Werror -pedantic -MT fst/Transducer.lo -MD -MP -MF fst/.deps/Transducer.Tpo -c fst/Transducer.cpp  -fPIC -DPIC -o fst/.libs/Transducer.o
cc1plus: warnings being treated as errors
fst/Transducer.cpp: In function ‘libvoikko::fst::OpFeatureValue libvoikko::fst::getDiacriticOperation(const std::string&, std::map<std::basic_string<char, std::char_traits<char>, std::allocator<char> >, short unsigned int, std::less<std::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::allocator<std::pair<const std::basic_string<char, std::char_traits<char>, std::allocator<char> >, short unsigned int> > >&, std::map<std::basic_string<char, std::char_traits<char>, std::allocator<char> >, short unsigned int, std::less<std::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::allocator<std::pair<const std::basic_string<char, std::char_traits<char>, std::allocator<char> >, short unsigned int> > >&)’:
fst/Transducer.cpp:81: error: ‘operation.libvoikko::fst::OpFeatureValue::value’ may be used uninitialized in this function
fst/Transducer.cpp:81: error: ‘operation.libvoikko::fst::OpFeatureValue::feature’ may be used uninitialized in this function
fst/Transducer.cpp:81: error: ‘operation.libvoikko::fst::OpFeatureValue::op’ may be used uninitialized in this function
make[4]: *** [fst/Transducer.lo] Error 1
make[4]: Leaving directory `/home/dtw/tmp/libvoikko/src'
make[3]: *** [all] Error 2
make[3]: Leaving directory `/home/dtw/tmp/libvoikko/src'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/dtw/tmp/libvoikko'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/home/dtw/tmp/libvoikko'
make: *** [build-stamp] Error 2


More information about the voikko mailing list