Hi everyone,

I solved that problem.

$(MIG) -I/opt/avr/include -java-classname=$(PACKAGE).OscopeMsg $(APP)/OscopeMsg.h OscopeMsg -o $@

Adding -I to this makefile helps.


On Sun, 9 Apr 2006, Sameer Tilak wrote:


locate inttypes.h says:
/usr/include/inttypes.h
/usr/lib/i386-redhat-linux7/include/inttypes.h
/opt/avr/include/inttypes.h

How do I specify make to use the .h files from the /opt/avr/include etc.?

Here is my problem:

Inside /opt/tinyos/tinyos-1.x/tools/java/net/tinyos/oscope, if I do make
I get the following errors:
... /opt/tinyos/tinyos-1.x/tools/java/net/tinyos/oscope
mig java -java-classname=net.tinyos.oscope.OscopeMsg /opt/tinyos/tinyos-1.x/tos/../apps/Oscilloscope/OscopeMsg.h OscopeMsg -o OscopeMsg.java /opt/tinyos/tinyos-1.x/tos/system/tos.h:47:22: inttypes.h: No such file or directory /opt/tinyos/tinyos-1.x/tos/system/tos.h:71:20: string.h: No such file or directory /opt/tinyos/tinyos-1.x/tos/system/tos.h:72:20: stdlib.h: No such file or directory /opt/tinyos/tinyos-1.x/tos/system/tos.h:73:18: math.h: No such file or directory /opt/tinyos/tinyos-1.x/tos/system/tos.h:75:19: ctype.h: No such file or directory
In file included from /opt/tinyos/tinyos-1.x/tos/platform/mica/hardware.h:49,
                from /opt/tinyos/tinyos-1.x/tos/system/tos.h:132:

and bunch of other errors. I get the same problem with other surge etc.


_______________________________________________
Tinyos-help mailing list
[email protected]
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

_______________________________________________
Tinyos-help mailing list
[email protected]
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to