Home > OS >  Deepin under fatal error: sys/cdefs. H: don't have that file or directory
Deepin under fatal error: sys/cdefs. H: don't have that file or directory

Time:10-06

Under the deepin csapp first lab, datalab, according to the instructions, and then I type the command make btest, then there is a pile of error
 make btest 
GCC -o - Wall - m32 - lm - O btest bits. C btest. C decl. C
c tests.In the file included the from/usr/include/stdio, h: 27:0,
The from btest. C: 16:
The/usr/include/features. H: 364:25: fatal error: sys/cdefs. H:
don't have that file or directory# include & lt; Sys/cdefs. H>
^
Compilation terminated.
In the file included the from/usr/include/stdio, h: 27:0,
The from decl. C: 1:
The/usr/include/features. H: 364:25: fatal error: sys/cdefs. H:
don't have that file or directory# include & lt; Sys/cdefs. H>
^
Compilation terminated.
In the file included the from/usr/include/limits. H: 25:0,
The from/usr/lib/GCC/x86_64 - - the gnu/Linux/include 6 - fixed/limits. H: 168,
The from/usr/lib/GCC/x86_64 - - the gnu/Linux/include 6 - fixed/syslimits. H: 7,
The from/usr/lib/GCC/x86_64 - - the gnu/Linux/include 6 - fixed/limits. H: 34,
From tests. C: 3:
The/usr/include/features. H: 364:25: fatal error: sys/cdefs. H:
don't have that file or directory# include & lt; Sys/cdefs. H>
^
Compilation terminated.
The Makefile: 11: the recipe for target 'btest failed
Make: * * */btest Error 1


The first lab is such
To compile and run the btest program, type:

Unix> Make btest
Unix> ./btest [optional CMD line args]

You will need to recompile btest each time You change your bits. C
The program. The When moving from one platform to another, you will want to
Get rid of the old version of btest and generate a new one. Use the
Commands:
  • Related