mersenneforum.org  

Go Back   mersenneforum.org > Great Internet Mersenne Prime Search > Software

Reply
 
Thread Tools
Old 2017-03-30, 20:52   #1
diep
 
diep's Avatar
 
Sep 2006
The Netherlands

13318 Posts
Default bilding mprime

hi!

I tried building mprime but run in trouble.

Downloaded p95v2810.source.zip
Then i went to directory gwnum and did there:

make -f make64

Then went to directory linux64 and typed there:

make clean <== as my first attempt had failed there as gwnum.a didn't exist
make

Now i get loads of errors.

Just a few of them:
OUTPUT(mprime elf64-x86-64)
/usr/lib/gcc/x86_64-linux-gnu/4.9/../../../x86_64-linux-gnu/libcurl.a(libcurl_gnutls_la-strerror.o): In function `Curl_idn_strerror':
(.text+0x753): undefined reference to `idna_strerror'
/usr/lib/gcc/x86_64-linux-gnu/4.9/../../../x86_64-linux-gnu/libcurl.a(libcurl_gnutls_la-url.o): In function `Curl_disconnect':
(.text+0x51a2): undefined reference to `idn_free'
/usr/lib/gcc/x86_64-linux-gnu/4.9/../../../x86_64-linux-gnu/libcurl.a(libcurl_gnutls_la-url.o): In function `Curl_disconnect':
(.text+0x51b3): undefined reference to `idn_free'
/usr/lib/gcc/x86_64-linux-gnu/4.9/../../../x86_64-linux-gnu/libcurl.a(libcurl_gnutls_la-url.o): In function `fix_hostname':
...
...
[snip]
..
..
In function `Curl_ntlm_core_mk_nt_hash':
(.text+0x38b): undefined reference to `nettle_md4_update'
/usr/lib/gcc/x86_64-linux-gnu/4.9/../../../x86_64-linux-gnu/libcurl.a(libcurl_gnutls_la-curl_ntlm_core.o): In function `Curl_ntlm_core_mk_nt_hash':
(.text+0x39b): undefined reference to `nettle_md4_digest'
collect2: error: ld returned 1 exit status
makefile:31: recipe for target 'mprime' failed
make: *** [mprime] Error 1

What did i fail to do?

Kind regards,
Vincent

p.s. debian linux here, L5420 Xeon processors i bought for 18 dollar a piece years ago :)
diep is offline   Reply With Quote
Old 2017-03-30, 21:23   #2
Dubslow
Basketry That Evening!
 
Dubslow's Avatar
 
"Bunslow the Bold"
Jun 2011
40<A<43 -89<O<-88

3·29·83 Posts
Default

Do you have the curl library installed? It is a dependency of Prime95.
Dubslow is offline   Reply With Quote
Old 2017-03-31, 01:39   #3
diep
 
diep's Avatar
 
Sep 2006
The Netherlands

36 Posts
Default

Quote:
Originally Posted by Dubslow View Post
Do you have the curl library installed? It is a dependency of Prime95.
Didn't have it. Installed 'curl'. Still doesn't compile. Still same 'curl' errors.
Yet it mentions there libcurl
i did install 'apt-get install curl'
yet there is many libcurl flavours.
should i try one of those?

[snip]
/usr/lib/gcc/x86_64-linux-gnu/4.9/../../../x86_64-linux-gnu/libcurl.a(libcurl_gnutls_la-curl_ntlm_core.o): In function `Curl_ntlm_core_mk_lm_hash':
(.text+0x1ff): undefined reference to `nettle_des_set_key'
/usr/lib/gcc/x86_64-linux-gnu/4.9/../../../x86_64-linux-gnu/libcurl.a(libcurl_gnutls_la-curl_ntlm_core.o): In function `Curl_ntlm_core_mk_lm_hash':
(.text+0x216): undefined reference to `nettle_des_encrypt'
/usr/lib/gcc/x86_64-linux-gnu/4.9/../../../x86_64-linux-gnu/libcurl.a(libcurl_gnutls_la-curl_ntlm_core.o): In function `Curl_ntlm_core_mk_lm_hash':
(.text+0x22d): undefined reference to `nettle_des_set_key'
/usr/lib/gcc/x86_64-linux-gnu/4.9/../../../x86_64-linux-gnu/libcurl.a(libcurl_gnutls_la-curl_ntlm_core.o): In function `Curl_ntlm_core_mk_lm_hash':
(.text+0x246): undefined reference to `nettle_des_encrypt'
/usr/lib/gcc/x86_64-linux-gnu/4.9/../../../x86_64-linux-gnu/libcurl.a(libcurl_gnutls_la-curl_ntlm_core.o): In function `Curl_ntlm_core_mk_nt_hash':
(.text+0x37c): undefined reference to `nettle_md4_init'
/usr/lib/gcc/x86_64-linux-gnu/4.9/../../../x86_64-linux-gnu/libcurl.a(libcurl_gnutls_la-curl_ntlm_core.o): In function `Curl_ntlm_core_mk_nt_hash':
(.text+0x38b): undefined reference to `nettle_md4_update'
/usr/lib/gcc/x86_64-linux-gnu/4.9/../../../x86_64-linux-gnu/libcurl.a(libcurl_gnutls_la-curl_ntlm_core.o): In function `Curl_ntlm_core_mk_nt_hash':
(.text+0x39b): undefined reference to `nettle_md4_digest'
collect2: error: ld returned 1 exit status
makefile:31: recipe for target 'mprime' failed
make: *** [mprime] Error 1
diep@thegathering:/home/69/p95v2810/linux64$

And the libcurl flavours:
root@thegathering:/home/69/p95v2810/linux64# apt-cache search libcurl
libcupt3-0-downloadmethod-curl - flexible package manager -- libcurl download method
libcurl3 - easy-to-use client-side URL transfer library (OpenSSL flavour)
libcurl3-dbg - debugging symbols for libcurl (OpenSSL, GnuTLS and NSS flavours)
libcurl3-gnutls - easy-to-use client-side URL transfer library (GnuTLS flavour)
libcurl3-nss - easy-to-use client-side URL transfer library (NSS flavour)
libcurl4-doc - documentation for libcurl
libcurl4-gnutls-dev - development files and documentation for libcurl (GnuTLS flavour)
libcurl4-nss-dev - development files and documentation for libcurl (NSS flavour)
libcurl4-openssl-dev - development files and documentation for libcurl (OpenSSL flavour)
libcurlpp-dev - c++ wrapper for libcurl (development files)
libcurlpp0 - c++ wrapper for libcurl
falconpl-curl - Curl bindings for Falcon P.L
fp-units-net - Free Pascal - networking units dependency package
fp-units-net-2.6.4 - Free Pascal - networking units
gnupg - GNU privacy guard - a free PGP replacement
gnupg-curl - GNU privacy guard - a free PGP replacement (cURL)
libghc-curl-dev - GHC libraries for the libcurl Haskell bindings
libghc-curl-doc - Documentation for the libcurl Haskell bindings; documentation
libghc-curl-prof - Profiling libraries for the libcurl Haskell bindings; profiling libraries
libghc-hxt-curl-dev - LibCurl interface for HXT
libghc-hxt-curl-doc - LibCurl interface for HXT; documentation
libghc-hxt-curl-prof - LibCurl interface for HXT; profiling libraries
libwww-curl-perl - Perl bindings to libcurl
lua-curl - libcURL bindings for the Lua language
lua-curl-dev - libcURL development files for the Lua language
libcurl-ocaml - OCaml curl bindings (Runtime Library)
libcurl-ocaml-dev - OCaml libcurl bindings (Development package)
python-pycurl - Python bindings to libcurl
python-pycurl-dbg - Python bindings to libcurl (debug extension)
python-pycurl-doc - Python bindings to libcurl (documentation)
python3-pycurl - Python bindings to libcurl (Python 3)
python3-pycurl-dbg - Python bindings to libcurl (debug extension, Python 3)
ruby-curb - Ruby libcurl bindings
ruby-ethon - libcurl wrapper using ffi
ruby-typhoeus - parallel HTTP library on top of ethon
libstrongswan-extra-plugins - strongSwan utility and crypto library (extra plugins)
tclcurl - Tcl bindings to libcurl
root@thegathering:/home/69/p95v2810/linux64#
diep is offline   Reply With Quote
Old 2017-03-31, 02:57   #4
Mark Rose
 
Mark Rose's Avatar
 
"/X\(‘-‘)/X\"
Jan 2013

2·5·293 Posts
Default

Try apt-get install libcurl4-gnutls-dev
Mark Rose is offline   Reply With Quote
Old 2017-03-31, 09:34   #5
diep
 
diep's Avatar
 
Sep 2006
The Netherlands

36 Posts
Default

Quote:
Originally Posted by Mark Rose View Post
Try apt-get install libcurl4-gnutls-dev
Seems like that one already was installed.
diep is offline   Reply With Quote
Old 2017-04-01, 04:37   #6
Dubslow
Basketry That Evening!
 
Dubslow's Avatar
 
"Bunslow the Bold"
Jun 2011
40<A<43 -89<O<-88

722110 Posts
Default

What about libcurl4-nss-dev and libcurl4-openssl-dev?

Not sure which variant is correct, but in any case you want *some* -dev version. Dev packages are the ones that you need to compile with.
Dubslow is offline   Reply With Quote
Reply



Similar Threads
Thread Thread Starter Forum Replies Last Post
mPrime over SSH Vincanis Information & Answers 4 2011-06-30 13:36
./mprime -B in 257 Lazlow PrimeNet 3 2008-10-29 20:40
64 bit mprime? aaronl Linux 1 2005-11-10 16:50
ECM using gmp-ecm and mprime on a P4 geoff Factoring 60 2004-12-02 07:16
Problem with mprime (Fixed with mprime -d) antiroach Software 2 2004-07-19 04:07

All times are UTC. The time now is 17:31.


Sun Aug 1 17:31:47 UTC 2021 up 9 days, 12 hrs, 0 users, load averages: 1.58, 1.54, 1.39

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2021, Jelsoft Enterprises Ltd.

This forum has received and complied with 0 (zero) government requests for information.

Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.2 or any later version published by the Free Software Foundation.
A copy of the license is included in the FAQ.