# Error Compiling

**URL:** <https://forum.zcashcommunity.com/t/error-compiling/2507>\
**Category:** Technical Support\
**Created:** [October 12, 2016, 5:07am UTC](https://forum.zcashcommunity.com/t/error-compiling/2507 "2016-10-12T05:07:18Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![titoplomo](https://avatars.discourse-cdn.com/v4/letter/t/da6949/32.png) [@titoplomo](https://forum.zcashcommunity.com/u/titoplomo)\
**Post date:** [October 12, 2016, 5:07am UTC](https://forum.zcashcommunity.com/t/error-compiling/2507/1 "2016-10-12T05:07:18Z")

</div>

./.libs/libbitcoinconsensus.a -ldb\_cxx-5.3 -lssl -ldl -lminiupnpc libzcash.a -lsnark /home/johann/zcash/depends/x86\_64-unknown-linux-gnu/lib/libgmpxx.a /home/johann/zcash/depends/x86\_64-unknown-linux-gnu/lib/libgmp.a -lboost\_system-mt -lcrypto /home/johann/zcash/depends/x86\_64-unknown-linux-gnu/lib/libsodium.a -lanl -fopenmp -pthread  
collect2: error: ld returned 1 exit status  
collect2: error: ld returned 1 exit status  
Makefile:3069: fallo en las instrucciones para el objetivo ‘zcash-gtest’  
make[2]: \*\*\* [zcash-gtest] Error 1  
make[2]: \*\*\* Se espera a que terminen otras tareas…  
Makefile:3010: fallo en las instrucciones para el objetivo ‘test/test\_bitcoin’  
make[2]: \*\*\* [test/test\_bitcoin] Error 1  
make[2]: se sale del directorio ‘/home/johann/zcash/src’  
Makefile:7345: fallo en las instrucciones para el objetivo ‘all-recursive’  
make[1]: \*\*\* [all-recursive] Error 1  
make[1]: se sale del directorio ‘/home/johann/zcash/src’  
Makefile:644: fallo en las instrucciones para el objetivo ‘all-recursive’  
make: \*\*\* [all-recursive] Error 1

help me whath happen

---

<div class="post-metadata">

**Author:** ![abromide](https://sea2.discourse-cdn.com/zcash/user_avatar/forum.zcashcommunity.com/abromide/32/731_2.png) [@abromide](https://forum.zcashcommunity.com/u/abromide)\
**Post date:** [October 12, 2016, 5:53am UTC](https://forum.zcashcommunity.com/t/error-compiling/2507/2 "2016-10-12T05:53:33Z")

</div>

Try:

> rm -rf ~/.zcash/testnet3 ./zcutil/build.sh -j$(nproc)

if that doesn’t work and you are upgrading from an older version:

> cd zcash/ make clean  
> git fetch origin git checkout v1.0.0-beta2  
> $ ./zcutil/fetch-params.sh

then try compiling again

> ./zcutil/build.sh -j(nproc)

---

<div class="post-metadata">

**Author:** ![titoplomo](https://avatars.discourse-cdn.com/v4/letter/t/da6949/32.png) [@titoplomo](https://forum.zcashcommunity.com/u/titoplomo)\
**Post date:** [October 12, 2016, 11:44am UTC](https://forum.zcashcommunity.com/t/error-compiling/2507/3 "2016-10-12T11:44:32Z")

</div>

i try and the error continues, other sugestion?
