You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
install-check.sh and install-fluxcapacitor.sh: set -euo pipefail masks installation error log, so that when the installation fails, no log is printed and the temp dir is deleted.
install-check.sh and install-fluxcapacitor.sh: TOPLEVEL is not used and fails when the repo is not git-cloned.
install-check.sh: using out-of-source build causes error reported in check#172.
install-fluxcapacitor.sh: on some systems (my ubuntu 18.04 box), the installation failed due to conflicting function signatures, see below. However, a fresh installed ubuntu 18.04 with the same version of kernel, cmake, gcc does not have this issue. And both systems are using the exactly same header at /usr/include/x86_64-linux-gnu/sys/time.h.
CMakeLists.txt: check_symbol_exists does not work in some environments, for example my ubuntu box and my mac, but a fresh installed ubuntu 18.04 does not have the problem.
fluxcapacitor compilation error
src/preload.c:50:5: error: conflicting types for ‘gettimeofday’
int gettimeofday(struct timeval *tv, struct timezone *tz) {
^~~~~~~~~~~~
In file included from src/preload.c:9:0:
/usr/include/x86_64-linux-gnu/sys/time.h:66:12: note: previous declaration of ‘gettimeofday’ was here
extern int gettimeofday (struct timeval *__restrict __tv,
^~~~~~~~~~~~
Makefile:22: recipe for target 'fluxcapacitor_preload.so' failed
I will fix 1, 2, 3 in the next PR, but I am not sure what is the best way to handle 4 and 5.
The text was updated successfully, but these errors were encountered:
I have encountered a few errors in compilation
set -euo pipefail
masks installation error log, so that when the installation fails, no log is printed and the temp dir is deleted.TOPLEVEL
is not used and fails when the repo is not git-cloned.check_symbol_exists
does not work in some environments, for example my ubuntu box and my mac, but a fresh installed ubuntu 18.04 does not have the problem.fluxcapacitor compilation error
I will fix 1, 2, 3 in the next PR, but I am not sure what is the best way to handle 4 and 5.
The text was updated successfully, but these errors were encountered: