Re: GIT compile error on Sun Sparc SB2000
- From
David Woodhouse <dwmw2@infradead.org>
- Date
- May 11, 2005, 11:01 UTC
- Message-ID
- <1115809273.16187.493.camel@hades.cambridge.redhat.com>
- In-Reply-To
- <200505111141.27725.snake@penza-gsm.ru>
On Wed, 2005-05-11 at 11:41 +0400, Alexey Nezhdanov wrote:
> /usr/bin/ld: skipping incompatible /usr/lib/libz.so when searching for -lz > /usr/bin/ld: skipping incompatible /usr/lib/libz.a when searching for -lz > /usr/bin/ld: cannot find -lz
Libraries which are in /usr/lib as opposed to /usr/lib64 are presumably 64-bit. Since the linker is claiming that they're incompatible, I assume your compiler is defaulting to 64-bit output. Try adding '-m32' to CFLAGS, or installing 64-bit libz.
-- dwmw2