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

fatal error: dyninstversion.h #10

Open
nanshihui opened this issue Jul 16, 2018 · 8 comments
Open

fatal error: dyninstversion.h #10

nanshihui opened this issue Jul 16, 2018 · 8 comments

Comments

@nanshihui
Copy link

recently. i got the following error ,when i typed 'make ' command
`
afl-dyninst.cpp:19:28: fatal error: dyninstversion.h: 没有那个文件或目录

`

@vanhauser-thc
Copy link
Contributor

#include "dyninstversion.h" // if this include errors, compile and install https://github.com/dyninst/dyninst

you should do that.

@nanshihui
Copy link
Author

i had already installed dyninst.

@vanhauser-thc
Copy link
Contributor

what does the output of "find / -name dyninstversion.h" show?
did you clone the dynsinst git or did you download a release? you must clone the git.

@nanshihui
Copy link
Author

i finally change the code from dyninstversion.h to version.h. it did work

@vanhauser-thc
Copy link
Contributor

maybe dyninst changed the filename in the last week(s). I will look into it.

@vanhauser-thc
Copy link
Contributor

vanhauser-thc commented Jul 17, 2018

can you please provide the output of the following commands:
find / -name dyninstversion.h
grep DYNINST /usr/local/include/*version*.h

thanks

@nanshihui
Copy link
Author

/local/include/version.h
#if !defined(DYNINST_VERSION_H)
#define DYNINST_VERSION_H
#define DYNINST_MAJOR_VERSION 9
#define DYNINST_MINOR_VERSION 3
#define DYNINST_PATCH_VERSION 2
#endif // DYNINST_VERSION_H

@nanshihui
Copy link
Author

by the way, would mind helping me to solve the following problem.
when i typed 'cmake .',
it returned '/usr/bin/ld: cloud not find -lpthreads'
however i had already installed libthread

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

2 participants