The nuts and bolts => Software General => Topic started by: vincent2 on August 26, 2016, 07:35:07 pm

Title: tor make erro,openssl1.0.2
Post by: vincent2 on August 26, 2016, 07:35:07 pm

Just tried to use tor-, then compiled from tor source, but stalled at make error.....

before compiling,i upgraded openssl from 0.9.8 version(vl7.0, 64 bit) to  the latest 1.0.2at vector 7.2 test repo, currently i'm using  vector7.0 64 bit as might be something wrong with openssl or other   depndencies packages, how to fix the isssue?

or inform the link to download openssl0.9.8 for vl7.0, 64 bit as curretly no more openssl 0.9.8 on vl7.0 64 bit repo any more...

following is the erro message in compiling tor


make[1]: Entering directory `/home/.~/tor-'

  CC       src/common/crypto.o
In file included from /usr/include/sys/syscall.h:31:0,
                 from src/common/crypto.c:68:
src/common/crypto.c: In function ‘crypto_strongest_rand_syscall’:
src/common/crypto.c:2782:21: error: ‘__NR_getrandom’ undeclared (first use in this function)
       ret = syscall(SYS_getrandom, out, out_len, flags);
src/common/crypto.c:2782:21: note: each undeclared identifier is reported only once for each function it appears in
make[1]: *** [src/common/crypto.o] Error 1
make[1]: Leaving directory `/home/.~/tor-'
make: *** [all] Error 2

Title: Re: tor make erro,openssl1.0.2
Post by: M0E-lnx on August 27, 2016, 06:56:54 am
If you updated openssl that way I suspect you will have worse problems than tor not compiling.  Openssl is not something you just update like that.  Please update to the latest available within your version.