Author Login
Post Reply
On Friday 06 June 2008, Adam Williamson wrote:
> KDE guys - kdepim build currently fails:
>
> Making all in indexlib
> make[2]: Entering directory `/home/adamw/rpm/BUILD/kdepim-3.5.9/indexlib'
> creating libindex_la.all_cpp.cpp ...
> /bin/sh ../libtool --silent --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H
> -I. -I.. -I../libkdepim -I/opt/kde3/include -I/usr/lib/qt3//include
> -I/usr/include -DQT_THREAD_SUPPORT -D_REENTRANT -D_FILE_OFFSET_BITS=64
> -D_LARGE_FILES=1 -DHAVE_BOOST -Wno-long-long -Wundef -ansi
> -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wchar-subscripts -Wall -W
> -Wpointer-arith -O2 -O2 -g -pipe -Wp,-D_FORTIFY_SOURCE=2 -fexceptions
> -fstack-protector --param=ssp-buffer-size=4 -fomit-frame-pointer
> -march=i586 -mtune=generic -fasynchronous-unwind-tables -Wformat-security
> -Wmissing-format-attribute -Wno-non-virtual-dtor -fno-exceptions
> -fno-check-new -fno-common -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST
> -DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION -include ./compat.h
> -fexceptions -MT libindex_la.all_cpp.lo -MD -MP -MF
> .deps/libindex_la.all_cpp.Tpo -c -o libindex_la.all_cpp.lo
> libindex_la.all_cpp.cpp In file included from libindex_la.all_cpp.cpp:7:
> leafdata.cpp: In member function 'bool leaf_data::can_add(uint32_t) const':
> leafdata.cpp:53: warning: comparison between signed and unsigned integer
> expressions In file included from libindex_la.all_cpp.cpp:12:
> mmap_manager.cpp: In member function 'virtual void
> mmap_manager::resize(unsigned int)': mmap_manager.cpp:78: warning: ignoring
> return value of 'int ftruncate(int, __off64_t)', declared with attribute
> warn_unused_result In file included from libindex_la.all_cpp.cpp:16:
> memvector.h: At global scope:
> memvector.h: In instantiation of 'memory_iterator<const unsigned int>':
> stringset.cpp:93: instantiated from here
> memvector.h:66: warning: type qualifiers ignored on function return type
> mv -f .deps/libindex_la.all_cpp.Tpo .deps/libindex_la.all_cpp.Plo
> /bin/sh ../libtool --silent --tag=CXX --mode=link g++ -DHAVE_BOOST
> -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align
> -Wchar-subscripts -Wall -W -Wpointer-arith -O2 -O2 -g -pipe
> -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector
> --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i586 -mtune=generic
> -fasynchronous-unwind-tables -Wformat-security -Wmissing-format-attribute
> -Wno-non-virtual-dtor -fno-exceptions -fno-check-new -fno-common
> -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_STL -DQT_NO_COMPAT
> -DQT_NO_TRANSLATION -include ./compat.h -fexceptions -Wl,--as-needed
> -Wl,--no-undefined -o libindex.la -rpath /opt/kde3/lib
> libindex_la.all_cpp.lo .libs/libindex_la.all_cpp.o: In function
> `compressed_file::ronly_base(unsigned int) const':
> /home/adamw/rpm/BUILD/kdepim-3.5.9/indexlib/compressed.cpp:77: undefined
> reference to `inflateInit_'
> /home/adamw/rpm/BUILD/kdepim-3.5.9/indexlib/compressed.cpp:84: undefined
> reference to `inflate'
> /home/adamw/rpm/BUILD/kdepim-3.5.9/indexlib/compressed.cpp:86: undefined
> reference to `inflateEnd' .libs/libindex_la.all_cpp.o: In function
> `compressed_file::write_back()':
> /home/adamw/rpm/BUILD/kdepim-3.5.9/indexlib/compressed.cpp:143: undefined
> reference to `compress'
> /home/adamw/rpm/BUILD/kdepim-3.5.9/indexlib/compressed.cpp:151: undefined
> reference to `inflateInit_'
> /home/adamw/rpm/BUILD/kdepim-3.5.9/indexlib/compressed.cpp:156: undefined
> reference to `inflate'
> /home/adamw/rpm/BUILD/kdepim-3.5.9/indexlib/compressed.cpp:158: undefined
> reference to `inflateEnd' .libs/libindex_la.all_cpp.o: In function
> `compressed_file::resize(unsigned int)':
> /home/adamw/rpm/BUILD/kdepim-3.5.9/indexlib/compressed.cpp:118: undefined
> reference to `compress' collect2: ld returned 1 exit status
> make[2]: *** [libindex.la] Error 1
>
> Probably related to the linking changes lately, I guess...anyway, I'm
> not really familiar with kdepim codebase, so I don't know where to fix
> it. Can someone please fix? I want to do some more patches to
> kitchensync, but I need it to build so I can test them :) Thanks!
`inflateInit_', `compress' ???
bling bling..
Sounds like missing zlib link :-)
Welcome to new gcc :-)
I will fix it when arrive at office
--
Helio Castro
Mandriva Development
Brasil Labs