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

make get error from bfd.h #5

Open
louisom opened this issue Aug 3, 2016 · 0 comments
Open

make get error from bfd.h #5

louisom opened this issue Aug 3, 2016 · 0 comments

Comments

@louisom
Copy link

louisom commented Aug 3, 2016

I'm on archlinux with gcc, g++ 6.1.1
when I use make , I got those response

[ 50%] Building CXX object CMakeFiles/quickstack.dir/quickstack.cc.o
In file included from /home/kernel/quickstack/quickstack.h:4:0,
                 from /home/kernel/quickstack/quickstack.cc:1:
/usr/include/bfd.h:35:2: error: #error config.h must be included before this header
 #error config.h must be included before this header
  ^~~~~
CMakeFiles/quickstack.dir/build.make:62: recipe for target 'CMakeFiles/quickstack.dir/quickstack.cc.o' failed

after some searching, I put

#define PACKAGE 1
#define PACKAGE_VERSION 1

to avoid this problem.

Maybe we should try to avoid this problem without this kind of dirty trick.

Thanks.

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