Hi ,

You need add the below line in your Makefile


CFLAGS += -I$(TOSDIR)/lib/printf


and include "printf.h" in your programs.



I think latest 2.x version you can use direct printf's without using PrintC
wiring.I haven't tested it.Please somebody correct me if i'm wrong.

Thanks,
Nandeesh.B


On Mon, Jun 14, 2010 at 2:31 PM, Prabhakar Misra <[email protected]>wrote:

> Hi,
>
> I am using a micaz mote and want to use the printf function. Therefore i
> need to install the jni. I am usig Ubuntu Lucid.
> So the problem I am encountering is in the installation of jni amongst many
> but i think i should begin by resolving this...
>
> So the issue is that it says cant find the "genreric_printf.h" file that
> has been included from file /opt/tinyos-2.1.1/tos/lib/printf/printf.h
>
> Can you people please help me resolve this problem!!
>
> Thanking You,
> Prabhakar.
>
>
> _______________________________________________
> Tinyos-help mailing list
> [email protected]
> https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
>
_______________________________________________
Tinyos-help mailing list
[email protected]
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to