Author Topic: tor 0.2.9.2 make erro,openssl1.0.2  (Read 1935 times)

vincent2

  • Vectorite
  • ***
  • Posts: 469
tor 0.2.9.2 make erro,openssl1.0.2
« on: August 26, 2016, 07:35:07 pm »
Bonjour!

Just tried to use tor-0.2.9.2-alpaha, 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 desktop....it 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-0.2.9.2-alpha'

  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-0.2.9.2-alpha'
make: *** [all] Error 2




« Last Edit: August 26, 2016, 07:52:43 pm by vincent2 »

M0E-lnx

  • Administrator
  • Vectorian
  • *****
  • Posts: 3497
Re: tor 0.2.9.2 make erro,openssl1.0.2
« Reply #1 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.