Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

build error #2

Open
ishitachaturvedi opened this issue Feb 2, 2022 · 0 comments
Open

build error #2

ishitachaturvedi opened this issue Feb 2, 2022 · 0 comments

Comments

@ishitachaturvedi
Copy link

running make in root dir asks for gem5/m5ops.h.
running make in bfs gives "ambiguous definition error"->

../../include/cutil_subset.h(108): error: this declaration has no storage class or type specifier

../../include/cutil_subset.h(108): error: variable "printf" has already been defined

../../include/cutil_subset.h(108): error: a value of type "const char *" cannot be used to initialize an entity of type "int"

../../include/cutil_subset.h(108): error: expected a ")"

../../include/cutil_subset.h(109): error: this declaration has no storage class or type specifier

../../include/cutil_subset.h(109): error: variable "printf" has already been defined

../../include/cutil_subset.h(109): error: a value of type "const char *" cannot be used to initialize an entity of type "int"

../../include/cutil_subset.h(109): error: expected a ")"

../../include/cutil_subset.h(110): error: this declaration has no storage class or type specifier

../../include/cutil_subset.h(110): error: variable "printf" has already been defined

../../include/cutil_subset.h(110): error: a value of type "const char *" cannot be used to initialize an entity of type "int"

../../include/cutil_subset.h(110): error: expected a ")"

../../include/cutil_subset.h(111): error: this declaration has no storage class or type specifier

../../include/cutil_subset.h(111): error: variable "printf" has already been defined

../../include/cutil_subset.h(111): error: a value of type "const char *" cannot be used to initialize an entity of type "int"

../../include/cutil_subset.h(111): error: expected a ")"

../../include/cutil_subset.h(112): error: this declaration has no storage class or type specifier

../../include/cutil_subset.h(112): error: variable "printf" has already been defined

../../include/cutil_subset.h(112): error: a value of type "const char *" cannot be used to initialize an entity of type "int"

../../include/cutil_subset.h(112): error: expected a ")"

../../include/cutil_subset.h(113): error: this declaration has no storage class or type specifier

../../include/cutil_subset.h(113): error: variable "printf" has already been defined

../../include/cutil_subset.h(113): error: a value of type "const char *" cannot be used to initialize an entity of type "int"

../../include/cutil_subset.h(113): error: expected a ")"

../../include/cutil_subset.h(114): error: this declaration has no storage class or type specifier

../../include/cutil_subset.h(114): error: variable "printf" has already been defined

../../include/cutil_subset.h(114): error: a value of type "const char *" cannot be used to initialize an entity of type "int"

../../include/cutil_subset.h(114): error: expected a ")"

../../include/cutil_subset.h(115): error: this declaration has no storage class or type specifier

../../include/cutil_subset.h(115): error: variable "printf" has already been defined

../../include/cutil_subset.h(115): error: a value of type "const char *" cannot be used to initialize an entity of type "int"

../../include/cutil_subset.h(115): error: expected a ")"

../../include/cutil_subset.h(117): error: this declaration has no storage class or type specifier

../../include/cutil_subset.h(117): error: variable "printf" has already been defined

../../include/cutil_subset.h(117): error: a value of type "const char *" cannot be used to initialize an entity of type "int"

../../include/cutil_subset.h(117): error: expected a ")"

../../include/cutil_subset.h(118): error: expected a declaration

../../include/cutil_subset.h(119): error: expected a declaration

../../include/worklistc.h(15): error: identifier "zero" is undefined

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant