Skip to content

Instantly share code, notes, and snippets.

@towski
Created November 24, 2014 04:53
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save towski/c4c9fab4788f0e77a1ee to your computer and use it in GitHub Desktop.
Save towski/c4c9fab4788f0e77a1ee to your computer and use it in GitHub Desktop.
gcc -g -o commit-tree commit-tree.o read-cache.o -lssl
/usr/bin/ld: read-cache.o: undefined /reference to usrsymbol '/binSHA1_Update@/ld@OPENSSL_1.0.0: '
/read-/usr/cache.o:lib/x86_64 undefined-linux- referencegnu/libcrypto.so.1.0.0 to: error symbol adding 'symbols: SHA1_Update@DSO missing@OPENSSL_1.0.0 from '
//command/ usrlineusr
//libbin//x86_64ld:-linux read-gnu-cache.o/libcrypto.so.1.0.0: undefined: reference to /symbol error 'SHA1_Updateaddingcollect2: error: ld returned 1 exit status
usr/bin/ @symbols:@OPENSSL_1.0.0 DSO'
missing //usrld: /libfrom /x86_64-command linelinux-read-gnu/cache.o:libcrypto.so.1.0.0
: error adding symbolsundefined : reference DSO missingto symbol from ' commandSHA1_Update@ line@OPENSSL_1.0.0
'
//usr/lib/x86_64-linux-gnu/libcrypto.so.1.0.0: error adding symbols: DSO missing from command line
/collect2: error: ld returned 1 exit status
usr/binMakefile:28: recipe for target 'commit-tree' failed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment