git/list[1] front-page[2] threads[3] people[4] search[5] about
 

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
Previous: Alexey NezhdanovNext: David Woodhouse
Message 4 of 8 in “GIT compile error on Sun Sparc SB2000”
  1. Alexey NezhdanovMay 11, 2005
  2. David GreavesMay 11, 2005
  3. Alexey NezhdanovMay 11, 2005
  4. David WoodhouseMay 11, 2005
  5. David WoodhouseMay 11, 2005
  6. Mark BrownMay 11, 2005
  7. Alexey NezhdanovMay 11, 2005
  8. Alexey NezhdanovMay 11, 2005

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.