Quantcast
Channel: Active questions tagged windows-subsystem-for-linux - Ask Ubuntu
Viewing all articles
Browse latest Browse all 2930

Fatal Error No such file or directory

$
0
0
fatal error: fcntl.h : No such file or directory    2 | #include<fcntl.h >      |         ^~~~~~~~~~compilation terminated.

I am facing this problem while iam compiling file containing fcntl.h header file when using open system call in my c program in Ubuntu (its windows subsystem linux)

I have tried all possible ways/answers given on this askubuntu .com and on other sites, but error is still here. When I execute the following command it displays 6 instead of 45

 dpkg -S fcntl.h| wc -l6

Viewing all articles
Browse latest Browse all 2930

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>