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

libstax 0-21.x requires GCC 5 or later. #42

Closed
rgwilton opened this issue Apr 24, 2017 · 1 comment
Closed

libstax 0-21.x requires GCC 5 or later. #42

rgwilton opened this issue Apr 24, 2017 · 1 comment

Comments

@rgwilton
Copy link

Hi,

I failed to compile this library (libstax-0-21.1) under xbuntu (in a VM) due to the following error:

Making all in libpsu
make[1]: Entering directory /home/rwilton/datastores-draft/libslax-0.21.0/build/libpsu' CC psualloc.lo CC psuasprintf.lo CC psubase64.lo CC psucpu.lo ../../libpsu/psucpu.c: In function ‘psu_cpu_get_info’: ../../libpsu/psucpu.c:108:5: error: inconsistent operand constraints in an ‘asm’ asm volatile ^ make[1]: *** [psucpu.lo] Error 1 make[1]: Leaving directory /home/rwilton/datastores-draft/libslax-0.21.0/build/libpsu'
make: *** [all-recursive] Error 1

After a bit of googling, it appears that this error is a known issue with my older gcc version:
gcc version 4.8.4 (Ubuntu 4.8.4-2ubuntu1~14.04.3)

Updating to a version 5 of gcc fixed the problem:
gcc version 5.4.1 20160904 (Ubuntu 5.4.1-2ubuntu1~14.04)

Rob

philshafer pushed a commit that referenced this issue Aug 9, 2018
@philshafer
Copy link
Contributor

Fixed in 'develop' branch

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