Skip to content

make get error from bfd.h #5

Description

@louisom

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions