Closed subhacom closed 9 years ago
The current version fails to build on latest cygwin:
g++ -Wall io.o linalg.o log.o parameters.o precomputations.o util.o memorytracking.o klustakwik.o -o KlustaKwik klustakwik.o:klustakwik.cpp:(.text.startup+0x937): undefined reference to `available_physical_memory()' klustakwik.o:klustakwik.cpp:(.text.startup+0x937): relocation truncated to fit: R_X86_64_PC32 against undefined symbol `available_physical_memory()' collect2: error: ld returned 1 exit status makefile:31: recipe for target 'executable' failed make: *** [executable] Error 1
The following change in memorytracking.cpp fixes it:
#if defined( __linux__ ) || defined( __CYGWIN__)
in stead of
#ifdef __linux__
Thanks for the report and fix! I put that in the master branch now.
The current version fails to build on latest cygwin:
The following change in memorytracking.cpp fixes it:
in stead of