Skip to content

Where is the final executable file gfe_driver for Sortledton? #8

Description

@Anna521

I connected gfe_driver to Sortleton and ran make -j 100% but in the end I did not see the executable file gfe_driver. And these errors may occur :

In file included from /home/anna/gfe_driver_for_sortledton/gfe_driver/sortledton/algorithms/GAPBSAlgorithms.h:8,
from ../library/sortledton/sortledton_driver.cpp:24:
/home/anna/gfe_driver_for_sortledton/gfe_driver/sortledton/third-party/gapbs.h:52:3: error: redefinition of ‘template<class T, class U> T gapbs::fetch_and_add(T&, U)’
52 | T fetch_and_add(T &x, U inc) {
| ^~~~~~~~~~~~~
In file included from ../library/sortledton/sortledton_driver.cpp:11:
../third-party/gapbs/gapbs.hpp:52:3: note: ‘template<class T, class U> T gapbs::fetch_and_add(T&, U)’ previously declared here
52 | T fetch_and_add(T &x, U inc) {
| ^~~~~~~~~~~~~
In file included from /home/anna/gfe_driver_for_sortledton/gfe_driver/sortledton/algorithms/GAPBSAlgorithms.h:8,
from ../library/sortledton/sortledton_driver.cpp:24:
/home/anna/gfe_driver_for_sortledton/gfe_driver/sortledton/third-party/gapbs.h:57:6: error: redefinition of ‘template bool gapbs::compare_and_swap(T&, const T&, const T&)’
57 | bool compare_and_swap(T &x, const T &old_val, const T &new_val) {
| ^~~~~~~~~~~~~~~~
In file included from ../library/sortledton/sortledton_driver.cpp:11:
../third-party/gapbs/gapbs.hpp:57:6: note: ‘template bool gapbs::compare_and_swap(T&, const T&, const T&)’ previously declared here
57 | bool compare_and_swap(T &x, const T &old_val, const T &new_val) {
| ^~~~~~~~~~~~~~~~
In file included from /home/anna/gfe_driver_for_sortledton/gfe_driver/sortledton/algorithms/GAPBSAlgorithms.h:8,
from ../library/sortledton/sortledton_driver.cpp:24:
/home/anna/gfe_driver_for_sortledton/gfe_driver/sortledton/third-party/gapbs.h:62:13: error: redefinition of ‘bool gapbs::compare_and_swap(T&, const T&, const T&) [with T = float]’
62 | inline bool compare_and_swap(float &x, const float &old_val, const float &new_val) {
| ^~~~~~~~~~~~~~~~
In file included from ../library/sortledton/sortledton_driver.cpp:11:
../third-party/gapbs/gapbs.hpp:62:13: note: ‘bool gapbs::compare_and_swap(T&, const T&, const T&) [with T = float]’ previously declared here
62 | inline bool compare_and_swap(float &x, const float &old_val, const float &new_val) {
| ^~~~~~~~~~~~~~~~
In file included from /home/anna/gfe_driver_for_sortledton/gfe_driver/sortledton/algorithms/GAPBSAlgorithms.h:8,
from ../library/sortledton/sortledton_driver.cpp:24:
/home/anna/gfe_driver_for_sortledton/gfe_driver/sortledton/third-party/gapbs.h:69:13: error: redefinition of ‘bool gapbs::compare_and_swap(T&, const T&, const T&) [with T = double]’
69 | inline bool compare_and_swap(double &x, const double &old_val, const double &new_val) {
| ^~~~~~~~~~~~~~~~
In file included from ../library/sortledton/sortledton_driver.cpp:11:
../third-party/gapbs/gapbs.hpp:69:13: note: ‘bool gapbs::compare_and_swap(T&, const T&, const T&) [with T = double]’ previously declared here
69 | inline bool compare_and_swap(double &x, const double &old_val, const double &new_val) {
| ^~~~~~~~~~~~~~~~
In file included from /home/anna/gfe_driver_for_sortledton/gfe_driver/sortledton/algorithms/GAPBSAlgorithms.h:8,
from ../library/sortledton/sortledton_driver.cpp:24:
/home/anna/gfe_driver_for_sortledton/gfe_driver/sortledton/third-party/gapbs.h:164:7: error: redefinition of ‘class gapbs::Bitmap’
164 | class Bitmap {
| ^~~~~~
In file included from ../library/sortledton/sortledton_driver.cpp:11:
../third-party/gapbs/gapbs.hpp:164:7: note: previous definition of ‘class gapbs::Bitmap’
164 | class Bitmap {
| ^~~~~~
In file included from /home/anna/gfe_driver_for_sortledton/gfe_driver/sortledton/algorithms/GAPBSAlgorithms.h:8,
from ../library/sortledton/sortledton_driver.cpp:24:
/home/anna/gfe_driver_for_sortledton/gfe_driver/sortledton/third-party/gapbs.h:223:7: error: redefinition of ‘class gapbs::SlidingQueue’
223 | class SlidingQueue {
| ^~~~~~~~~~~~
In file included from ../library/sortledton/sortledton_driver.cpp:11:
../third-party/gapbs/gapbs.hpp:223:7: note: previous definition of ‘class gapbs::SlidingQueue’
223 | class SlidingQueue {
| ^~~~~~~~~~~~
In file included from /home/anna/gfe_driver_for_sortledton/gfe_driver/sortledton/algorithms/GAPBSAlgorithms.h:8,
from ../library/sortledton/sortledton_driver.cpp:24:
/home/anna/gfe_driver_for_sortledton/gfe_driver/sortledton/third-party/gapbs.h:275:7: error: redefinition of ‘class gapbs::QueueBuffer’
275 | class QueueBuffer {
| ^~~~~~~~~~~
In file included from ../library/sortledton/sortledton_driver.cpp:11:
../third-party/gapbs/gapbs.hpp:275:7: note: previous definition of ‘class gapbs::QueueBuffer’
275 | class QueueBuffer {
| ^~~~~~~~~~~
In file included from /home/anna/gfe_driver_for_sortledton/gfe_driver/sortledton/algorithms/GAPBSAlgorithms.h:8,
from ../library/sortledton/sortledton_driver.cpp:24:
/home/anna/gfe_driver_for_sortledton/gfe_driver/sortledton/third-party/gapbs.h:318:7: error: redefinition of ‘class gapbs::pvector<T_>’
318 | class pvector {
| ^~~~~~~
In file included from ../library/sortledton/sortledton_driver.cpp:11:
../third-party/gapbs/gapbs.hpp:318:7: note: previous definition of ‘class gapbs::pvector<T_>’
318 | class pvector {
| ^~~~~~~

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions