On Tue, Jun 14, 2011 at 9:06 PM, Yee Wei Law <[email protected]> wrote:

> Hi David, I think the problem lies in mig, which I had the same problem
> with. Apple installed its Mach Interface Generator at /usr/bin which
> conflicts with TinyOS' Message Interface Generator. You have to replace
> Apple's with TinyOS'.
>

A better approach would be to install TinyOS mig in a different directory
and then adjust your path to find that mig first.


> On 10 June 2011 00:34, David Swords <[email protected]> wrote:
>
>> Running into some difficulties with the install. I cannot find reference
>> to it anywhere else.
>> In the java component I get the follow errors from the make.
>>
>> cat: SerialPacket.java: No such file or directory
>> i686-apple-darwin10-gcc-4.2.1: .: linker input file unused because linking
>> not done
>> mig: fatal: "<no name yet>", line -1: no SubSystem declaration
>> warning: option "-java-classname=net.tinyos.message.SerialPacket" after
>> filename(s) ignored
>> /usr/bin/mig: line 207:
>> /var/folders/lm/lmF5C5ABHeCcERkrccClUU+++TI/-Tmp-//mig.bMdbqS/java.35935.c:
>> No such file or directory
>> i686-apple-darwin10-gcc-4.2.1:
>> /var/folders/lm/lmF5C5ABHeCcERkrccClUU+++TI/-Tmp-//mig.bMdbqS/java.35935.c:
>> No such file or directory
>> mig: fatal: "<no name yet>", line -1: no SubSystem declaration
>> /usr/bin/mig: line 207:
>> /var/folders/lm/lmF5C5ABHeCcERkrccClUU+++TI/-Tmp-//mig.bMdbqS/Serial.h.35935.c:
>> No such file or directory
>> i686-apple-darwin10-gcc-4.2.1:
>> /var/folders/lm/lmF5C5ABHeCcERkrccClUU+++TI/-Tmp-//mig.bMdbqS/Serial.h.35935.c:
>> No such file or directory
>> mig: fatal: "<no name yet>", line -1: no SubSystem declaration
>> /usr/bin/mig: line 207:
>> /var/folders/lm/lmF5C5ABHeCcERkrccClUU+++TI/-Tmp-//mig.bMdbqS/serial_packet.35935.c:
>> No such file or directory
>> i686-apple-darwin10-gcc-4.2.1:
>> /var/folders/lm/lmF5C5ABHeCcERkrccClUU+++TI/-Tmp-//mig.bMdbqS/serial_packet.35935.c:
>> No such file or directory
>> mig: fatal: "<no name yet>", line -1: no SubSystem declaration
>> warning: option
>> "-I/Users/Neodymium/Documents/RUBICON/tinyos-2.x/tos/types" after
>> filename(s) ignored
>> rmdir: /var/folders/lm/lmF5C5ABHeCcERkrccClUU+++TI/-Tmp-//mig.bMdbqS: No
>> such file or directory
>> javac SerialPacket.java
>> javac: file not found: SerialPacket.java
>> Usage: javac <options> <source files>
>> use -help for a list of possible options
>> make: *** [SerialPacket.class] Error 2
>>
>> If anyone can cut through this fog, I would really appreciate it.
>> Otherwise I will try and get a linux machine.
>>
>> --
>> - David Swords
>>
>> _______________________________________________
>> 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
>



-- 
Eric B. Decker
Senior (over 50 :-) Researcher
_______________________________________________
Tinyos-help mailing list
[email protected]
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to