A
A
Alexander Makarov2017-01-21 03:54:54
linux
Alexander Makarov, 2017-01-21 03:54:54

What is rwlock on ubuntu server?

There is a real-time libre library ( creytiv.com/re.html ). When trying to install it on ubuntu 14.04 via make, the message appears:
$ make
CC build-x86_64/lock/rwlock.o
src/lock/rwlock.c:114:1: fatal error: opening dependency file build-x86_64/lock/rwlock. d: No such file or directory
}
^
compilation terminated.
What is rwlock on ubuntu, why don't I have it and how do I install it? Somebody knows?
Thank you.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
J
jcmvbkbc, 2017-01-21
@consme

CC build-x86_64/lock/rwlock.o
src/lock/rwlock.c:114:1: fatal error: opening dependency file build-x86_64/lock/rwlock.d: No such file or directory
}
...
What is rwlock on ubuntu, why don't I have it and how do I install it?

The message that during the compilation of the file src/lock/rwlock.c from the libre itself, the compiler could not open/create build-x86_64/lock/rwlock.d
I suspect that you compiled it (libre) as root, and then - - under a normal user, where they saw the problem. If so, the solution is to remove build-x86_64 before building.

A
Alexander Makarov, 2017-01-21
@consme

Hooray, deleting build-x86_64 helped! Thank you!

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question