Re: Can't build first git commit
- Date: Tue, 05 Mar 2019 19:42:54 +0100
- From: Fabio Aiuto <polinice83@xxxxxxxxx>
- Subject: Re: Can't build first git commit
Thank you Jeff I'll have news within few days!!!
Il giorno lun, 04/03/2019 alle 15.40 -0500, Jeff King ha scritto:
> 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
> 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.,
> 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
> Git v1.0 can fetch happily from GitHub. I haven't in a while, so let
> know if you try it and it doesn't work. ;)