mersenneforum.org  

Go Back   mersenneforum.org > Extra Stuff > Blogorrhea > EdH

Reply
 
Thread Tools
Old 2020-12-09, 17:21   #111
EdH
 
EdH's Avatar
 
"Ed Hall"
Dec 2009
Adirondack Mtns

5×727 Posts
Default

Quote:
Originally Posted by Plutie View Post
I have tried with both make clean and fresh download. I set the GCC in the makefile to specifically gcc-7.
gcc-7 has a bunch of dependencies. I wonder if any of those are met by gcc-10 installed libraries.

The only other idea I can up with for now, would be a basic virtual machine install of Ubuntu 18.04, make YAFU in the VM and then copy it to the host. But, that would be a bit of work and somewhat time consuming to install all the packages.
EdH is offline   Reply With Quote
Old 2020-12-11, 23:55   #112
Plutie
 
Dec 2020
Montreal

24 Posts
Default

I actually tried doing that earlier, I'm getting missing symbol errors when running on my host though.


./yafu: symbol lookup error: ./yafu: undefined symbol: __gmpn_add_nc
Plutie is offline   Reply With Quote
Old 2020-12-12, 01:18   #113
EdH
 
EdH's Avatar
 
"Ed Hall"
Dec 2009
Adirondack Mtns

5×727 Posts
Default

Quote:
Originally Posted by Plutie View Post
I actually tried doing that earlier, I'm getting missing symbol errors when running on my host though.


./yafu: symbol lookup error: ./yafu: undefined symbol: __gmpn_add_nc
To my untrained eyes that looks like a GMP mismatch - Bummer! Maybe B2 will come up with something else. But, it looks like there's a lot of work involved going the extern route.

Did you compile GMP or did you use the libgmp-dev from the repository?
EdH is offline   Reply With Quote
Old 2020-12-12, 18:01   #114
Plutie
 
Dec 2020
Montreal

24 Posts
Default

I used the same release of GMP on both host and VM. (6.2.0)
Plutie is offline   Reply With Quote
Old 2020-12-23, 15:01   #115
Plutie
 
Dec 2020
Montreal

100002 Posts
Default

late update: turns out I just needed to build it as a statically linked binary (added -static to CFLAGS). It's working fine now, so that's good.
Plutie is offline   Reply With Quote
Old 2020-12-23, 15:08   #116
EdH
 
EdH's Avatar
 
"Ed Hall"
Dec 2009
Adirondack Mtns

5·727 Posts
Default

Quote:
Originally Posted by Plutie View Post
late update: turns out I just needed to build it as a statically linked binary (added -static to CFLAGS). It's working fine now, so that's good.
Great to read! Thanks for keeping us apprised. I'll keep it in mind for the future. Not sure I'll add anything to the lead post right now, but maybe later.
EdH is offline   Reply With Quote
Reply

Thread Tools


Similar Threads
Thread Thread Starter Forum Replies Last Post
How I Install CADO-NFS onto my Ubuntu Machines EdH EdH 3 2019-06-24 03:42
How I Install GMP-ECM onto my Ubuntu Machines EdH EdH 12 2019-04-16 09:28
How I Install msieve onto my Ubuntu Machines EdH EdH 0 2018-02-23 14:43
How I Install ggnfs onto my Ubuntu Machines EdH EdH 0 2018-02-22 03:31
How I Install GMP onto my Ubuntu Machines EdH EdH 0 2018-02-21 23:48

All times are UTC. The time now is 11:29.

Mon Mar 8 11:29:55 UTC 2021 up 95 days, 7:41, 0 users, load averages: 2.01, 1.84, 1.71

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.