avis / mc-fastflow Goto Github PK
View Code? Open in Web Editor NEWLicense: GNU Lesser General Public License v3.0
License: GNU Lesser General Public License v3.0
I tried building as described in the Build.me file.
While running make
the following error occured:
[ 21%] Linking CXX executable mandelbrot_ff
/usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/../../../../x86_64-pc-linux-gnu/bin/ld: CMakeFiles/mandelbrot_ff.dir/renderthread.cpp.o: undefined reference to symbol 'pthread_create@@GLIBC_2.2.5'
/lib64/libpthread.so.0: error adding symbols: DSO missing from command line
collect2: error: ld returned 1 exit status
make[2]: *** [examples/qt-mandelbrot/fastflow/CMakeFiles/mandelbrot_ff.dir/build.make:211: examples/qt-mandelbrot/fastflow/mandelbrot_ff] Error 1
make[1]: *** [CMakeFiles/Makefile2:599: examples/qt-mandelbrot/fastflow/CMakeFiles/mandelbrot_ff.dir/all] Error 2
make: *** [Makefile:139: all] Error 2
My kernel version and system information as of uname -a
is:
4.9.16-gentoo #1 SMP PREEMPT Fri Apr 21 13:14:04 CEST 2017 x86_64 Intel(R) Core(TM) i5-6260U CPU @ 1.80GHz GenuineIntel GNU/Linux
A full log of the terminal output can be found on this gist: https://gist.github.com/slaufmann/3a0d1c6209f921264f098b7c4a794308#file-buildloggentoo
If I could help with providing any additional information please let me know.
Thanks.
After the default build failed I tried building fastflow without the examples as described in the Build.me file.
But the make
command failed with the following errors:
[ 12%] Building CXX object tests/CMakeFiles/perf_test_noalloc.dir/perf_test_noalloc.cpp.o
In file included from /home/students/slaufmann/Software/mc-fastflow/tests/perf_test_noalloc.cpp:34:0:
/home/students/slaufmann/Software/mc-fastflow/ff/mapping_utils.hpp: In function ‘long int ff_getThreadID()’:
/home/students/slaufmann/Software/mc-fastflow/ff/mapping_utils.hpp:37:37: error: ‘syscall’ was not declared in this scope
#define gettid() syscall(__NR_gettid)
^
/home/students/slaufmann/Software/mc-fastflow/ff/mapping_utils.hpp:57:13: note: in expansion of macro ‘gettid’
return gettid();
^~~~~~
/home/students/slaufmann/Software/mc-fastflow/ff/mapping_utils.hpp: In function ‘int ff_setPriority(int)’:
/home/students/slaufmann/Software/mc-fastflow/ff/mapping_utils.hpp:37:37: error: ‘syscall’ was not declared in this scope
#define gettid() syscall(__NR_gettid)
^
/home/students/slaufmann/Software/mc-fastflow/ff/mapping_utils.hpp:123:39: note: in expansion of macro ‘gettid’
if (setpriority(PRIO_PROCESS, gettid(),priority_level) != 0) {
^~~~~~
/home/students/slaufmann/Software/mc-fastflow/ff/mapping_utils.hpp: In function ‘int ff_mapThreadToCpu(int, int)’:
/home/students/slaufmann/Software/mc-fastflow/ff/mapping_utils.hpp:37:37: error: ‘syscall’ was not declared in this scope
#define gettid() syscall(__NR_gettid)
^
/home/students/slaufmann/Software/mc-fastflow/ff/mapping_utils.hpp:174:27: note: in expansion of macro ‘gettid’
if (sched_setaffinity(gettid(), sizeof(mask), &mask) != 0)
^~~~~~
make[2]: *** [tests/CMakeFiles/perf_test_noalloc.dir/build.make:63: tests/CMakeFiles/perf_test_noalloc.dir/perf_test_noalloc.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:281: tests/CMakeFiles/perf_test_noalloc.dir/all] Error 2
make: *** [Makefile:139: all] Error 2
My kernel version and system information as of uname -a
is:
4.9.16-gentoo #1 SMP PREEMPT Fri Apr 21 13:14:04 CEST 2017 x86_64 Intel(R) Core(TM) i5-6260U CPU @ 1.80GHz GenuineIntel GNU/Linux
A full log of the terminal output can be found on this gist: https://gist.github.com/slaufmann/d8ddc91d9897fb8c629adecca6b4bd00#file-buildloggentoo_2
If I could help with providing any additional information please let me know.
Thanks.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.