On 2 September 2011 00:02, Ilya Chernykh <anixxsus@gmail.com> wrote:
On Friday 02 September 2011 03:00:54 you wrote:
On Friday 02 September 2011 02:55:16 Cristian Morales Vega wrote:
And what you need to do is put "-lz" *after* "-ltransform".
Why? This looks very strange for me.
Because it's the documented behaviour. From man ld:
"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."
The code that uses uncompress() is in libtransform.a (specifically in FSTransform.o) and so libz must be later in the command line.
I spent all the day on this package and I do not know how to add it before ltransform :-(
I.e. I meant *after*
SR#80577 -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-factory+help@opensuse.org