[ECOS] Implicit declaration of function `printf'.....
Tue Mar 8 20:16:00 GMT 2005
On Mon, Mar 07, 2005 at 12:08:43PM -0800, Evandro Newuald wrote:
> Hello all,
> I would like to perform an application on mips platform. I loaded
> Template TX39 minimal simulator.When I performed the GNU make utility,
> I get the folowing error:
> bash-2.05b$ make
> mips-tx39-elf-gcc -c -o basic1.o -g -Wall -I/cygwin/work/mips_install/include -I
> usr/include -ffunction-sections -fdata-sections basic1.c
> basic1.c:2:19: stdio.h: No such file or directory
> basic1.c: In function `main':
> basic1.c:7: warning: implicit declaration of function `printf'
> make: *** [basic1.o] Error 1
I suggest you read the the eCos user guide and in particular
That will show you the correct way to build applications. You can also
take a look at the examples, which include a working makefile.
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss
More information about the Ecos-discuss