[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: OT: Need help compiling C files



On Tue, Apr 10, 2012 at 09:10:56PM -0700, T Elcor wrote:
> Any ideas why I'm getting these errors while trying to compile F3 flash memory test program? The source is at:
>   http://oss.digirati.com.br/f3/ 
> 
> Tried adding "-I /usr/lib/gcc/x86_64-linux-gnu/4.6/include" option, without quotes, but that didn't help. I'm not a C/C++ developer at all. Thanks
> 
> $ make linux
> gcc -Wall -c utils.c
> In file included from utils.c:1:0:
> utils.h:4:19: fatal error: stdio.h: No such file or directory
> compilation terminated.
> make: *** [linux] Error 1

It works for me.

Please try sudo apt-get install build-essential and then try again; the
headers might not be present.

Kumar
-- 
The first is to ensure your partner understands that nature has root
privileges - nature doesn't have to make sense.
		-- Telsa Gwynne


Reply to: