---------- Forwarded message ----------
From: jagan nath <[EMAIL PROTECTED]>
Date: May 13, 2006 3:31 PM
Subject: Re: [Tinyos-help] compilation error
To: Cory Sharp <[EMAIL PROTECTED]>


Ok I got it, there was some problem in my make file.....

jagan

On 5/13/06, jagan nath <[EMAIL PROTECTED]> wrote:
I have included that , I think this error is due to some thing else,
my configuration file is like this....

includes MyADC;

configuration Sampling{}

implementation {
  components Main,SamplingM,TimerJiffyAsyncNewC,LedsC,ADCC,FramerM,UART,TimerC;

        Main.StdControl->SamplingM;
        Main.StdControl -> ADCC;
        Main.StdControl->TimerJiffyAsyncNewC;
        Main.StdControl->TimerC;

        SamplingM.UARTControl -> FramerM;
        SamplingM.UARTSend -> FramerM;
        SamplingM.UARTReceive -> FramerM;
        SamplingM.UARTTokenReceive -> FramerM;

        SamplingM.TimerJiffyAsync->TimerJiffyAsyncNewC;
        SamplingM.ADC -> ADCC.ADC[TOS_MYADC_PORT];
        SamplingM.ADCControl -> ADCC;
        SamplingM.Leds -> LedsC;
        SamplingM.Timer->TimerC.Timer[unique("Timer")];

        FramerM.ByteControl -> UART;
        FramerM.ByteComm -> UART;

}

what else can be the error, can anybody locate........

regards
jagan

On 5/13/06, Cory Sharp <[EMAIL PROTECTED]> wrote:
> You did not include Main in your application component list.  - Cory
>
> On 5/12/06, jagan nath <[EMAIL PROTECTED]> wrote:
> > Hi all can any body tell what does this error mean.
> >
> > 1. I'm trying to use TimerjiffyAsync interface, to sample at 3KHz.
> > 2. i have made a copy of TimerJiffyAsyncC.nc and changed the timer
> > from B4 to B5. Does this create a problem.
> >
> > mkdir -p build/telosb
> >     compiling Sampling; to a telosb binary
> > ncc -o build/telosb/main.exe -O -DTOSH_MAX_TASKS_LOG2=8 -Wall -Wshadow
> > -DDEF_TOS_AM_GROUP=0x7d
> >  -Wnesc-all -target=telosb -fnesc-cfile=build/telosb/app.c -board=
> > -DOSCOPE_MAX_CHANNELS=6 -I%T/lib/Deluge
> > -Wl,--section-start=.text=0x4800,--defsym=_reset_vector__=0x4000
> > -DIDENT_PROGRAM_NAME=\"Sampling
> > ;\" -DIDENT_USER_ID=\"jagan\" -DIDENT_HOSTNAME=\"iitk-jagan\"
> > -DIDENT_USER_HASH=0x233116baL -DIDENT_UNIX_TIME
> > =0x44656bf7L -DIDENT_UID_HASH=0x10527ff3L -mdisable-hwmul
> > -I/opt/tinyos-1.x/tos/lib/CC2420Radio Sampling;
> > .nc -lm
> > 
/usr/local/mspgcc/lib/gcc-lib/msp430/3.2.3/msp2/libgcc.a(_reset_vector__.o)(.init+0x38):
> > In function `_reset_vector__':
> > 
/home/Cory/tinyos/tinyos-1.x/tools/src/mspgcc/build/gcc-3.2.3/gcc/config/msp430/libgcc.S:
> > undefined reference to `main'
> > ": not found
> > .nc: not found
> > make: *** [exe0] Error 127
> >
> >
> > regards
> > jagan
> >
> > _______________________________________________
> > Tinyos-help mailing list
> > Tinyos-help@Millennium.Berkeley.EDU
> > https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
> >
>


_______________________________________________
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to