GIT compile error on Sun Sparc SB2000

From: Alexey Nezhdanov <snake@penza-gsm.ru>
Date: 2005-05-11 17:41:27
Hello. GIT refuses to compile on Debian sarge on sparc64.
Probably some compile flag is incompartible but can't figure out which.
=============================
webmaster@www:/tmp/cogito-0.10$ make
cc -g -O2 -Wall  '-DSHA1_HEADER=<openssl/sha.h>'   -c -o read-cache.o 
read-cache.c
cc -g -O2 -Wall  '-DSHA1_HEADER=<openssl/sha.h>'   -c -o sha1_file.o 
sha1_file.c
cc -g -O2 -Wall  '-DSHA1_HEADER=<openssl/sha.h>'   -c -o usage.o usage.c
cc -g -O2 -Wall  '-DSHA1_HEADER=<openssl/sha.h>'   -c -o object.o object.c
cc -g -O2 -Wall  '-DSHA1_HEADER=<openssl/sha.h>'   -c -o commit.o commit.c
cc -g -O2 -Wall  '-DSHA1_HEADER=<openssl/sha.h>'   -c -o tree.o tree.c
cc -g -O2 -Wall  '-DSHA1_HEADER=<openssl/sha.h>'   -c -o blob.o blob.c
cc -g -O2 -Wall  '-DSHA1_HEADER=<openssl/sha.h>'   -c -o tag.o tag.c
cc -g -O2 -Wall  '-DSHA1_HEADER=<openssl/sha.h>'   -c -o date.o date.c
cc -g -O2 -Wall  '-DSHA1_HEADER=<openssl/sha.h>'   -c -o strbuf.o strbuf.c
cc -g -O2 -Wall  '-DSHA1_HEADER=<openssl/sha.h>'   -c -o diff.o diff.c
ar rcs libgit.a read-cache.o sha1_file.o usage.o object.o commit.o tree.o 
blob.o tag.o date.o strbuf.o diff.o
cc -g -O2 -Wall  '-DSHA1_HEADER=<openssl/sha.h>' -o git-update-cache 
update-cache.c libgit.a -lz -lssl
/usr/bin/ld: skipping 
incompatible /usr/lib/gcc-lib/sparc-linux/3.3.3/../../../libz.so when 
searching for -lz
/usr/bin/ld: skipping 
incompatible /usr/lib/gcc-lib/sparc-linux/3.3.3/../../../libz.a when 
searching for -lz
/usr/bin/ld: skipping incompatible /usr/bin/../lib/libz.so when searching for 
-lz
/usr/bin/ld: skipping incompatible /usr/bin/../lib/libz.a when searching for 
-lz
/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
collect2: ld returned 1 exit status
make: *** [git-update-cache] Error 1
webmaster@www:/tmp/cogito-0.10$ 
-- 
Respectfully
Alexey Nezhdanov

-
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Received on Wed May 11 17:41:56 2005

This archive was generated by hypermail 2.1.8 : 2005-05-11 17:41:56 EST