Skip to content

sys/cdef.h not found #48

Answered by kevinjantw
freud96 asked this question in Q&A
May 1, 2023 · 1 comments · 1 reply
Discussion options

You must be logged in to vote

I'm building software emulation on vck machine for a newly created application, I import all source files, finish building software emulation(kernel). I get makefile contains error due to "sys/cdefs.h" not found when I am building configuration for system_hw_link. I've seen in xilinx's discussion thread that I can do echo CPATH="/usr/include/x86_64-linux-gnu" to solve it; in my case (export CPATH="/usr/lib/x86_64-linux-gnu") where the libc6 is located, however I am still getting the error.

Hi,
I found cdefs.h was located in /usr/include/x86_64-linux-gnu/sys/cdefs.h.
Maybe you can try to set export CPATH="/usr/include/x86_64-linux-gnu", but I can not sure CPATH is the lib prefix in your…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@freud96
Comment options

Answer selected by freud96
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