Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to compile INTERVAL #3

Closed
funchal opened this issue Jan 17, 2017 · 6 comments
Closed

Unable to compile INTERVAL #3

funchal opened this issue Jan 17, 2017 · 6 comments

Comments

@funchal
Copy link

funchal commented Jan 17, 2017

/usr/bin/ld: INTERVAL/chcw.o: relocation R_X86_64_32S against `.bss' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: final link failed: Nonrepresentable section on output

I have tried adding -fPIC to the makefile without success. Also tried crosscompiling to 32 bit (using gcc -m32) which didn't work.

@monadius
Copy link
Member

Which operating system do you use?

@funchal
Copy link
Author

funchal commented Jan 17, 2017

Thanks for the quick reply. I have pasted my OS info below.

BTW, I have also tried the "demo" link (https://www.aptlab.net/p/FPTaylor/FPTaylorVM) too and that didn't work either, but then I was able to find this other page (https://sites.google.com/site/fptaylordemo/installation) with a VM image that works for me.

Distributor ID:	Ubuntu
Description:	Ubuntu 16.10
Release:	16.10
Codename:	yakkety
$ uname -a
Linux xt 4.8.0-34-generic #36-Ubuntu SMP Wed Dec 21 17:24:18 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux```

@funchal
Copy link
Author

funchal commented Jan 17, 2017

image

@monadius
Copy link
Member

I don't know how to fix the INTERVAL library issue. I tried several things in Ubuntu 16.10 without success. You may try Ubuntu 16.04 where everything should work.

I'm going to remove the link to the AptLab demo because it is not the first time when it does not work.

In future, I plan to remove the INTERVAL library from FPTaylor and replace it with a better supported interval arithmetic library (if I find a good candidate).

@funchal
Copy link
Author

funchal commented Jan 17, 2017

Oh well, thanks for trying. Having the link to the VM file (https://sites.google.com/site/fptaylordemo/installation) would be a great instead of AptLab. Thanks again for looking into it.

@funchal funchal closed this as completed Jan 17, 2017
@monadius
Copy link
Member

FPTaylor can be compiled on Ubuntu 16.10 now with the command make fptaylor-simple-interval. Trigonometric functions are not supported yet. See the last comment in #2.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants