Well, that's getting someplace. Looks like the AVR define fixed
the first error we were (I was) chasing since all the controller
specific whines are gone.

But it looks like we'll have to slowly reverse engineer the whole
compile process and every source file to finally get it right...

The missing /usr/lib/ncc is a big possibility, although you'd think
_something_ would complain directly rather than being so passive-
aggressive about it. Perhaps you can find the nescc install files
and piece it back together? If you are using RPM to load stuff,
there is a way to extract everything manually to look at it all,
but of course I don't remember how...google or search back on this
list (I know someone refe'd it here, perhaps even this year...)

And sorry about the output thing, I should have said

        make ...  >& file

Where the "&" also redirects stderr which is where most of the
messages are being sent. On cygwin/linux I'd say try "man bash"
for full documentation, but I don't know what terminal shell you are
using on the Mac, or if they were nice enough to include man pages.

MS

Greg Turnipseed wrote:
Hi, all, again.  I tried adding the line you requested.  The output's
attached (using >out.txt only captured the first line, so I ran it again
without redirecting the output, copied, and pasted into a text file.)

Thanks,
Greg Turnipseed


From: Michael Schippling <[EMAIL PROTECTED]>
Reply-To: <[EMAIL PROTECTED]>
Date: Thu, 26 Apr 2007 12:38:03 -0600
To: Greg Turnipseed <[EMAIL PROTECTED]>, TINYOS HELP
<[email protected]>, Sarfraz Nawaz <[EMAIL PROTECTED]>
Subject: Re: [Tinyos-help] Compiling on MacOSX 10.4 for MICA

Well that blows one of my pet theories...

The thing you want is your second page with
      PFLAGS += -v
in the Blink/Makefile.

You'll note that it is a bit longer, shows some sub-commands,
and lists all the files it is trying to access. My theory was
that -mmcu=atmega128 was not getting set or something like that,
but there is is plain as day...heck. I also note that whatever
you are doing is making output like sarfraz and not me, because
you have "-_fnesc-include=nesc_nx" but I don't see a message about
preprocessing it. Or one about your nescc version number.

As a last ditch, just in case I'm sort of right about the atmega128
thing, you could try adding this to the PFLAGS:

    PFLAGS += -v -D__AVR_ATmega128__

Which (I hope) will force the definition of the theoretically
missing define needed by avr/io.h. Note that there are 2 underscores
on each end of the text.

But most likely you have some mis-match of compile tools.
Perhaps finding and re-installing the latest working set
is the next step.

And...XLS? errg... You should be able to redirect the output of
your make into a file like this:

make mica2 > output.txt

And send it as a raw text file.

MS



Greg Turnipseed wrote:
All right, I assume the makefile I was supposed to add the line to was the
makefile inside the Blink directory, so that¹s where I made the modification.
It doesn¹t seem to have changed anything, but I¹ll attach what I¹ve got
anyway.  The first sheet is without any modification (i.e., without the added
line).  The second sheet is with exactly what was written (PFLAGS += -v), and
the third sheet is with ³set PFLAGS += -v², just in case my using tcsh
affects that in any way.

Let me know what y¹all see in the output.

Thanks,
Greg Turnipseed


From: Sarfraz Nawaz <[EMAIL PROTECTED]>
Date: Thu, 26 Apr 2007 16:29:33 +1000
To: Greg Turnipseed <[EMAIL PROTECTED]>
Cc: TINYOS HELP <[email protected]>, Michael Schippling
<[EMAIL PROTECTED]>
Subject: Re: [Tinyos-help] Compiling on MacOSX 10.4 for MICA

Greg,

Can you add

PFLAGS += -v

to the Makefile and then send the output. I am attaching my ouput. In my
compile the first thing that is pulled in is /usr/lib/ncc/nesc_nx.h
followed by /opt/tinyos-1.x/tos/system/tos.h and then the compiler goes on
happily compiling Blink.

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

Reply via email to