[Tinyos-help] Deluge GoldenImage compilation __eplm_inline error

Sriram Rajan sr153 at ra.msstate.edu
Fri Mar 18 14:43:07 PST 2005


I am unable to locate the install file (tar, gz, or bz2) for avr-lib
1.0.4. Could you please send me a link if available.

Thank you.

Sriram

On Thu, 17 Mar 2005 jwhui at EECS.Berkeley.EDU wrote:

>
> It looks like they've removed elpm_inline() from avr-libc after 1.0.4.
> In version <= 1.0.4, elpm_inline() is defined in include/avr/pgmspace.h.
> For now, I suggest down-grading to avr-libc 1.0.4. In the meantime, I
> will look into fixing it for newer versions of avr-libc.
>
> --
> Jonathan W. Hui
> jwhui at cs.berkeley.edu
> http://www.cs.berkeley.edu/~jwhui/
>
> ----- Original Message -----
> From: Sriram Rajan <sr153 at ra.msstate.edu>
> Date: Thursday, March 17, 2005 7:59 pm
> Subject: [Tinyos-help] Deluge GoldenImage compilation __eplm_inline error
>
> > I am trying to compile the GoldenImage application in tinyos 1.10 CVS
> > version. Somewhere, I was required to install avr-libc 1.0.4 for
> > Deluge. I
> > installed the avr-libc 1.0.5 that was the only one available at
> > http://savannah.nongnu.org/projects/avr-libc/
> >
> > Since then, the GoldenImage application fails to compile for mica2.
> >
> > -----Output from Cygwin Window ------------------
> > -----(line breaks may appear out of order)-------
> >
> > Sriram at suchitra /opt/tinyos-1.x/apps/TestDEluge/GoldenImage
> > $ make mica2
> > mkdir -p build/mica2
> >    compiling GoldenImageWriter to a mica2 binary
> > ncc -o build/mica2/main.exe -Os -I./include -DDELUGE_GOLDEN_IMAGE
> > -DDELUGE_LEDS
> > -finline-limit=100000 -I%T/lib/Deluge -I%T/lib/Deluge/TOSBoot/include
> > -Wall -Wsh
> > adow -DDEF_TOS_AM_GROUP=0x7d -Wnesc-all -target=mica2
> > -fnesc-cfile=build/mica2/a
> > pp.c -board=micasb -DTOSH_MAX_TASKS_LOG2=7
> > -DIDENT_PROGRAM_NAME="GoldenIma" -DID
> > ENT_PROGRAM_NAME_BYTES="71,111,108,100,101,110,73,109,97,0"
> > -DIDENT_USER_HASH=0x
> > 7f002331L -DIDENT_UNIX_TIME=0x423a4f8dL GoldenImageWriter.nc -lm
> > GoldenImageWriterM.nc: In function `fillBuf':
> > GoldenImageWriterM.nc:76: implicit declaration of function
> > `__elpm_inline'make: *** [exe0] Error 1
> >
> > Sriram at suchitra /opt/tinyos-1.x/apps/TestDEluge/GoldenImage
> > $
> > -------------------------------------------------------------------
> > ---
> >
> > Solutions tried
> > -----------------
> > 1. Searched archives and did not find relevant results.
> >
> > 2. I tried to force install  tinyos-1.1.9 where I last ad it working,
> > without much success.
> >
> > 3. I located the function __eplm_inline(x) in include folder in
> > GoldenImage directory in file GoldenImageWriter_mica2.
> >
> > 44  #define  GIW_GET_BYTE(x) (__elpm_inline(x))
> >
> > The declaration in The file GoldenImageWriter.nc was as follows:
> >
> > 76          buf[curBufPtr++] = GIW_GET_BYTE(base + (offset-target));
> >
> > There was no __eplm_inline function anywhere significant in my entire
> > Tinyos distribution (used grep with find from root directory).
> >
> > 4. I downloaded all of the Deluge and GoldenImage files from the CVS
> > repository and updated the exisitng files to the most current
> > versions.
> > /opt/tinyos-1.x/tools/java/Deluge.java
> > /opt/tinyos-1.x/tos/lib/Deluge/*
> > /opt/tinyos-1.x/apps/TestDeluge/*
> >
> > Even these would not work.
> >
> > Please let me know if there is something I am missing in this issue.
> >
> > Thank you.
> >
> > Sriram
> > _______________________________________________
> > Tinyos-help mailing list
> > Tinyos-help at Millennium.Berkeley.EDU
> > http://mail.Millennium.Berkeley.EDU/mailman/listinfo/tinyos-help
> >
>
>
>


More information about the Tinyos-help mailing list