Skip to content

some experiments with libdwarf.a #198

Answered by davea42
lonejack asked this question in Q&A
Discussion options

You must be logged in to vote

I'm feeling a bit confused because with a command line like yours I get
gcc: error: unrecognized command-line option ‘--cflags’
gcc: error: unrecognized command-line option ‘--libs’; did you mean ‘--libs=’?

Oh. This is because you lost the back-quotes, failing to mark your actual line as code to the discussion . Ok. No problem.

Question: in the place you did your libdwarf build there will be a config.h
Please do
grep ZLIB config.h
grep ZSTD config.h

and report what these do.

What I get here is

q3 543: grep ZLIB config.h
#define HAVE_ZLIB 1
#define HAVE_ZLIB_H 1
q3 544: grep ZSTD config.h
#define HAVE_ZSTD 1
#define HAVE_ZSTD_H 1

I suspect you have just
#define HAVE_ZLIB 1
#define HAVE_ZLI…

Replies: 2 comments 2 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
2 replies
@lonejack
Comment options

@lonejack
Comment options

Answer selected by davea42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants