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

Re: Can't build first git commit

From
FAFabio Aiuto <polinice83@libero.it>
Date
Mar 5, 2019, 18:42 UTC
Message-ID
<1551811374.1607.3.camel@libero.it>
In-Reply-To
<20190304204007.GA32691@sigill.intra.peff.net>

Thank you Jeff I'll have news within few days!!! Il giorno lun, 04/03/2019 alle 15.40 -0500, Jeff King ha scritto:

Show 30 quoted lines
> On Mon, Mar 04, 2019 at 08:58:37PM +0100, Fabio Aiuto wrote:
> 
> > I'm trying to build first commit of git made by Linus. I mean the
> > one
> > named e83c5163316f89bfbde7d9ab23... (I think this is enough).
> > But at building stage i have the following error:
> > 
> > make all 
> > gcc -g -o update-cache update-cache.o read-cache.o -lssl
> > /usr/bin/ld: update-cache.o: undefined reference to symbol
> > 'SHA1_Update@@OPENSSL_1_1_0'
> 
> The sha1 routines are in libcrypto. See 3be4b61aa4 (Link with
> -lcrypto
> instead of -lssl when using openssl libraries., 2005-05-10). I also
> needed -lz. See 9426167765 (Add "-lz" to link line to get in zlib.,
> 2005-04-08).
> 
> You can patch the Makefile, or just override it like:
> 
>   make LIBS='-lcrypto -lz'
> 
> which builds for me on current Debian unstable. I don't think you can
> actually fetch with that old build, but I used periodically check
> that
> Git v1.0 can fetch happily from GitHub. I haven't in a while, so let
> me
> know if you try it and it doesn't work. ;)
> 
> -Peff
Previous: Jeff KingNext: Jeff King
Message 8 of 18 in “Can't build first git commit”
  1. Fabio AiutoMar 4, 2019
  2. Santiago TorresMar 4, 2019
  3. Fabio AiutoMar 4, 2019
  4. Santiago TorresMar 4, 2019
  5. asymptosisMar 4, 2019
  6. Jonathan NiederMar 4, 2019
  7. Jeff KingMar 4, 2019
  8. Fabio AiutoMar 5, 2019
  9. Jeff KingMar 5, 2019
  10. Fabio AiutoMar 6, 2019
  11. Jeff KingMar 6, 2019
  12. Fabio AiutoMar 6, 2019
  13. Santiago TorresMar 6, 2019
  14. Jeff KingMar 6, 2019
  15. Fabio AiutoMar 6, 2019
  16. Jeff KingMar 6, 2019
  17. Jeff KingMar 7, 2019
  18. Fabio AiutoMar 7, 2019

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.