Re: Can't build first git commit

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



It happens. 

Something that I liked playing with to get myself a better handle of how
git works is using libgit2 and its python bindings. I find the codebase
a little bit smaller and its bindings to higher-level languages can help
you abstract the memory management and other low-level stuff that is
sometimes distracting.

Good luck!
-Santiago.


On Mon, Mar 04, 2019 at 09:19:52PM +0100, Fabio Aiuto wrote:
> What a pity, It would have been very useful for me, to debug around
> that simple version, to understand how everithing works.
> Thank you Santiago.
> Fabio.
> Il giorno lun, 04/03/2019 alle 15.10 -0500, Santiago Torres ha scritto:
> > 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.
> > 
> > Thanks,
> > -Santiago.
> > 
> > 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


[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]

  Powered by Linux