{"thread":{"id":"569","subject":"GIT compile error on Sun Sparc SB2000","startedAt":"2005-05-11T07:41:27Z","lastAt":"2005-05-11T13:01:25Z","messageCount":8,"participants":["Alexey Nezhdanov","David Greaves","David Woodhouse","Mark Brown"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"3034","messageId":"200505111141.27725.snake@penza-gsm.ru","threadId":"569","inReplyTo":null,"subject":"GIT compile error on Sun Sparc SB2000","fromName":"Alexey Nezhdanov","fromEmail":"snake@penza-gsm.ru","sentAt":"2005-05-11T07:41:27Z","receivedAt":"2005-05-11T07:41:27Z","isPatch":false,"sender":{"key":"snake@penza-gsm.ru","avatar":null},"body":"Hello. GIT refuses to compile on Debian sarge on sparc64.\nProbably some compile flag is incompartible but can't figure out which.\n=============================\nwebmaster@www:/tmp/cogito-0.10$ make\ncc -g -O2 -Wall  '-DSHA1_HEADER=<openssl/sha.h>'   -c -o read-cache.o \nread-cache.c\ncc -g -O2 -Wall  '-DSHA1_HEADER=<openssl/sha.h>'   -c -o sha1_file.o \nsha1_file.c\ncc -g -O2 -Wall  '-DSHA1_HEADER=<openssl/sha.h>'   -c -o usage.o usage.c\ncc -g -O2 -Wall  '-DSHA1_HEADER=<openssl/sha.h>'   -c -o object.o object.c\ncc -g -O2 -Wall  '-DSHA1_HEADER=<openssl/sha.h>'   -c -o commit.o commit.c\ncc -g -O2 -Wall  '-DSHA1_HEADER=<openssl/sha.h>'   -c -o tree.o tree.c\ncc -g -O2 -Wall  '-DSHA1_HEADER=<openssl/sha.h>'   -c -o blob.o blob.c\ncc -g -O2 -Wall  '-DSHA1_HEADER=<openssl/sha.h>'   -c -o tag.o tag.c\ncc -g -O2 -Wall  '-DSHA1_HEADER=<openssl/sha.h>'   -c -o date.o date.c\ncc -g -O2 -Wall  '-DSHA1_HEADER=<openssl/sha.h>'   -c -o strbuf.o strbuf.c\ncc -g -O2 -Wall  '-DSHA1_HEADER=<openssl/sha.h>'   -c -o diff.o diff.c\nar rcs libgit.a read-cache.o sha1_file.o usage.o object.o commit.o tree.o \nblob.o tag.o date.o strbuf.o diff.o\ncc -g -O2 -Wall  '-DSHA1_HEADER=<openssl/sha.h>' -o git-update-cache \nupdate-cache.c libgit.a -lz -lssl\n/usr/bin/ld: skipping \nincompatible /usr/lib/gcc-lib/sparc-linux/3.3.3/../../../libz.so when \nsearching for -lz\n/usr/bin/ld: skipping \nincompatible /usr/lib/gcc-lib/sparc-linux/3.3.3/../../../libz.a when \nsearching for -lz\n/usr/bin/ld: skipping incompatible /usr/bin/../lib/libz.so when searching for \n-lz\n/usr/bin/ld: skipping incompatible /usr/bin/../lib/libz.a when searching for \n-lz\n/usr/bin/ld: skipping incompatible /usr/lib/libz.so when searching for -lz\n/usr/bin/ld: skipping incompatible /usr/lib/libz.a when searching for -lz\n/usr/bin/ld: cannot find -lz\ncollect2: ld returned 1 exit status\nmake: *** [git-update-cache] Error 1\nwebmaster@www:/tmp/cogito-0.10$ \n-- \nRespectfully\nAlexey Nezhdanov\n\n"},{"id":"3036","messageId":"4281BBC4.8060709@dgreaves.com","threadId":"569","inReplyTo":"200505111141.27725.snake@penza-gsm.ru","subject":"Re: GIT compile error on Sun Sparc SB2000","fromName":"David Greaves","fromEmail":"david@dgreaves.com","sentAt":"2005-05-11T08:01:08Z","receivedAt":"2005-05-11T08:01:08Z","isPatch":false,"sender":{"key":"david@dgreaves.com","avatar":"https://gravatar.com/avatar/ca67bad50999edcdd137c9a65da2381557d175bea99ae956afdabc5785e42b79?d=mp&s=160"},"body":"Alexey Nezhdanov wrote:\n\n>Hello. GIT refuses to compile on Debian sarge on sparc64.\n>Probably some compile flag is incompartible but can't figure out which.\n>  \n>\nread the error message:\n\n>/usr/bin/ld: skipping \n>incompatible /usr/lib/gcc-lib/sparc-linux/3.3.3/../../../libz.so when \n>  \n>\nhmm...\nlibz.so\n\n>/usr/bin/ld: cannot find -lz\n>  \n>\nCan't find often equals \"not installed\"\n\nSo go to aptitude, search for zlib\nYou'll find libz-dev\nInstall it\n\nOr just run\napt-get install libz-dev\n\nAnd try again\n\nDavid\n\n"},{"id":"3039","messageId":"200505111332.38491.snake@penza-gsm.ru","threadId":"569","inReplyTo":"4281BBC4.8060709@dgreaves.com","subject":"Re: GIT compile error on Sun Sparc SB2000","fromName":"Alexey Nezhdanov","fromEmail":"snake@penza-gsm.ru","sentAt":"2005-05-11T09:32:38Z","receivedAt":"2005-05-11T09:32:38Z","isPatch":false,"sender":{"key":"snake@penza-gsm.ru","avatar":null},"body":"Wensday, 11 May 2005 12:01 David Greaves wrote:\n> Alexey Nezhdanov wrote:\n> >Hello. GIT refuses to compile on Debian sarge on sparc64.\n> >Probably some compile flag is incompartible but can't figure out which.\n>\n> read the error message:\n> >/usr/bin/ld: skipping\n> >incompatible /usr/lib/gcc-lib/sparc-linux/3.3.3/../../../libz.so when\n>\n> hmm...\n> libz.so\n>\n> >/usr/bin/ld: cannot find -lz\n>\n> Can't find often equals \"not installed\"\nwebmaster@www:/tmp/cogito-0.10$ ls -l /usr/lib/libz.so\nlrwxr-xr-x    1 root     root            9 2005-05-11 11:18 /usr/lib/libz.so \n-> libz.so.1\nwebmaster@www:/tmp/cogito-0.10$ ls -l /usr/lib/libz.a \n-rw-r--r--    1 root     root        83610 2004-12-07 21:38 /usr/lib/libz.a\n\n>\n> So go to aptitude, search for zlib\n> You'll find libz-dev\n> Install it\n>\n> Or just run\n> apt-get install libz-dev\n>\n> And try again\nNope, not helped.\nwww:/home/snake# apt-get install libz-dev\nReading Package Lists... Done\nBuilding Dependency Tree... Done\nNote, selecting zlib1g-dev instead of libz-dev\nzlib1g-dev is already the newest version.\n0 upgraded, 0 newly installed, 0 to remove and 307 not upgraded.\nwww:/home/snake# \n>\n> David\n>\n> -\n> To unsubscribe from this list: send the line \"unsubscribe git\" in\n> the body of a message to majordomo@vger.kernel.org\n> More majordomo info at  http://vger.kernel.org/majordomo-info.html\n\n-- \nRespectfully\nAlexey Nezhdanov\n\n"},{"id":"3041","messageId":"1115809273.16187.493.camel@hades.cambridge.redhat.com","threadId":"569","inReplyTo":"200505111141.27725.snake@penza-gsm.ru","subject":"Re: GIT compile error on Sun Sparc SB2000","fromName":"David Woodhouse","fromEmail":"dwmw2@infradead.org","sentAt":"2005-05-11T11:01:12Z","receivedAt":"2005-05-11T11:01:12Z","isPatch":false,"sender":{"key":"dwmw2@infradead.org","avatar":"https://gravatar.com/avatar/7afd4f07e0cf7d7e046ae2d23678296b37777c96488e6f3451e78a5514154ebd?d=mp&s=160"},"body":"On Wed, 2005-05-11 at 11:41 +0400, Alexey Nezhdanov wrote:\n> /usr/bin/ld: skipping incompatible /usr/lib/libz.so when searching for -lz\n> /usr/bin/ld: skipping incompatible /usr/lib/libz.a when searching for -lz\n> /usr/bin/ld: cannot find -lz\n\nLibraries which are in /usr/lib as opposed to /usr/lib64 are presumably\n64-bit. Since the linker is claiming that they're incompatible, I assume\nyour compiler is defaulting to 64-bit output. Try adding '-m32' to\nCFLAGS, or installing 64-bit libz.\n\n-- \ndwmw2\n\n"},{"id":"3044","messageId":"1115812736.16187.494.camel@hades.cambridge.redhat.com","threadId":"569","inReplyTo":"1115809273.16187.493.camel@hades.cambridge.redhat.com","subject":"Re: GIT compile error on Sun Sparc SB2000","fromName":"David Woodhouse","fromEmail":"dwmw2@infradead.org","sentAt":"2005-05-11T11:58:56Z","receivedAt":"2005-05-11T11:58:56Z","isPatch":false,"sender":{"key":"dwmw2@infradead.org","avatar":"https://gravatar.com/avatar/7afd4f07e0cf7d7e046ae2d23678296b37777c96488e6f3451e78a5514154ebd?d=mp&s=160"},"body":"On Wed, 2005-05-11 at 12:01 +0100, David Woodhouse wrote:\n> Libraries which are in /usr/lib as opposed to /usr/lib64 are presumably\n> 64-bit.\n\nDer.... I mean 32-bit, obviously; otherwise the rest wouldn't make\nsense:\n\n>  Since the linker is claiming that they're incompatible, I assume\n> your compiler is defaulting to 64-bit output. Try adding '-m32' to\n> CFLAGS, or installing 64-bit libz.\n\n-- \ndwmw2\n\n"},{"id":"3046","messageId":"20050511123425.GA28547@projectcolo.org.uk","threadId":"569","inReplyTo":"1115812736.16187.494.camel@hades.cambridge.redhat.com","subject":"Re: GIT compile error on Sun Sparc SB2000","fromName":"Mark Brown","fromEmail":"broonie@sirena.org.uk","sentAt":"2005-05-11T12:34:25Z","receivedAt":"2005-05-11T12:34:25Z","isPatch":false,"sender":{"key":"broonie@sirena.org.uk","avatar":"https://gravatar.com/avatar/9e798c729a4a709279df497d9608ad68422755c9670e92434a5436f7e607cf86?d=mp&s=160"},"body":"On Wed, May 11, 2005 at 12:58:56PM +0100, David Woodhouse wrote:\n> On Wed, 2005-05-11 at 12:01 +0100, David Woodhouse wrote:\n> > Libraries which are in /usr/lib as opposed to /usr/lib64 are presumably\n> > 64-bit.\n\n> Der.... I mean 32-bit, obviously; otherwise the rest wouldn't make\n> sense:\n\nYes, that is the case for Debian.\n\n> >  Since the linker is claiming that they're incompatible, I assume\n> > your compiler is defaulting to 64-bit output. Try adding '-m32' to\n> > CFLAGS, or installing 64-bit libz.\n\n...provided in the lib64z1-dev package.  I'm not sure if there is a 64\nbit libssl package, though.\n\n-- \n\"You grabbed my hand and we fell into it, like a daydream - or a fever.\"\n"},{"id":"3047","messageId":"200505111657.14424.snake@penza-gsm.ru","threadId":"569","inReplyTo":"1115809273.16187.493.camel@hades.cambridge.redhat.com","subject":"Re: GIT compile error on Sun Sparc SB2000","fromName":"Alexey Nezhdanov","fromEmail":"snake@penza-gsm.ru","sentAt":"2005-05-11T12:57:14Z","receivedAt":"2005-05-11T12:57:14Z","isPatch":false,"sender":{"key":"snake@penza-gsm.ru","avatar":null},"body":"Wensday, 11 May 2005 15:01 David Woodhouse wrote:\n> On Wed, 2005-05-11 at 11:41 +0400, Alexey Nezhdanov wrote:\n> > /usr/bin/ld: skipping incompatible /usr/lib/libz.so when searching for\n> > -lz /usr/bin/ld: skipping incompatible /usr/lib/libz.a when searching for\n> > -lz /usr/bin/ld: cannot find -lz\n>\n> Libraries which are in /usr/lib as opposed to /usr/lib64 are presumably\n> 64-bit. Since the linker is claiming that they're incompatible, I assume\n> your compiler is defaulting to 64-bit output. Try adding '-m32' to\n> CFLAGS, or installing 64-bit libz.\nThank you very much.\n-m32 helped.\n64bits libz and libcurl are missing.\n\n-- \nRespectfully\nAlexey Nezhdanov\n\n"},{"id":"3048","messageId":"200505111701.26303.snake@penza-gsm.ru","threadId":"569","inReplyTo":"200505111657.14424.snake@penza-gsm.ru","subject":"Re: GIT compile error on Sun Sparc SB2000","fromName":"Alexey Nezhdanov","fromEmail":"snake@penza-gsm.ru","sentAt":"2005-05-11T13:01:25Z","receivedAt":"2005-05-11T13:01:25Z","isPatch":false,"sender":{"key":"snake@penza-gsm.ru","avatar":null},"body":"Wensday, 11 May 2005 16:57 Alexey Nezhdanov wrote:\n> 64bits libz and libcurl are missing.\nJust to be correct:\nlibssl and libcurl actually.\nBut this already makes no sense.\n\n-- \nRespectfully\nAlexey Nezhdanov\n\n"}]}