2011/1/5 Ilya Chernykh
I have problems with linking when building KVim. It builds well for 11.1 but not for 11.2 and further. It seems the linker does not see the very basic libraries such as qt and kdelibs despite them being explicitely included in the linker's call.
The "-l namespec" option in the ld manual says: "The linker will search an archive only once, at the location where it is specified on the command line. If the archive defines a symbol which was undefined in some object which appeared before the archive on the command line, the linker will include the appropriate file(s) from the archive. However, an undefined symbol in an object appearing later on the command line will not cause the linker to search the archive again." So the order is wrong. Fix it or use "export SUSE_ASNEEDED=0" (with the side effect of perhaps making your package require libraries that the binary doesn't really use). -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-packaging+help@opensuse.org