Web lists-archives.com

Re: Can't build first git commit

This commit is about 14 years old:

    Date:   Thu Apr 7 15:13:13 2005 -0700

Unless you have a toolchain from around that time, I'd be very surprised
if things build. Notably, there you're having an issue with the symbols
that lssl is exposing (I suspect you're not even using the openssl 1.0.0
series anymore.


On Mon, Mar 04, 2019 at 08:58:37PM +0100, Fabio Aiuto wrote:
> Hi to all,
> 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'
> //usr/lib/i386-linux-gnu/libcrypto.so.1.1: error adding symbols: DSO
> missing from command line
> collect2: error: ld returned 1 exit status
> make: *** [update-cache] Errore 1
> Makefile:16: set di istruzioni per l'obiettivo "update-cache" non
> riuscito
> I run a debian stretch on my machine. Could anyone help me?
> Thanks in advance.
> Fabio.

Attachment: signature.asc
Description: PGP signature