Help > Programming

[SOLVED] gcc "fatal error: stdio.h" on NuTyX



Since a few days i'm learning C language and all worked ok, but when I upgraded NutyX reciently I have problems to compile my C files for this:

--- Code: ---ferran [ ~/Plantilles/projecte ]$ gcc -o fitxer fitxer.c
fitxer.c:12:10: fatal error: stdio.h: El fitxer o directori no existeix
   12 | #include <stdio.h>

--- End code ---

I search stdio.h and all seems ok on include...

--- Code: ---ferran [ ~/Plantilles/projecte ]$ sudo find / -name stdio.h
[sudo] contrasenya per a ferran:
find: ?/run/user/1000/gvfs?: S?ha denegat el perm?s

--- End code ---

I tried too to reinstall gcc and glibc and occurs the same  :'(

Some idea to fix it ?

Thank you in advance.


Tout avait bien Thierry, merci beaucoup

Now works fine. Thank you.

Thank you for marking [SOLVED]


[0] Message Index

Go to full version