I am not completely sure about this error but I would suggest to look at the msp430 toolchain and verify that it is working properly.


On 9/21/06, Hamza Ahmed Zia <[EMAIL PROTECTED]> wrote:
Hi Everyone,

On my linux Fedora Core 5 machine, tinyos-1.x all platforms compile correctly, however make telosb gives me the following error

[EMAIL PROTECTED] Blink]# make telosb
mkdir -p build/telosb
    compiling Blink to a telosb binary
ncc -o build/telosb/main.exe -O -Wall -Wshadow -DDEF_TOS_AM_GROUP=0x7d -Wnesc-all -target=telosb -fnesc-cfile=build/telosb/app.c -board= -I%T/lib/Deluge -Wl,--section-start=.text=0x4800,--defsym=_reset_vector__=0x4000 -DIDENT_PROGRAM_NAME=\"Blink\" -DIDENT_USER_ID=\"root\" -DIDENT_HOSTNAME=\"sh-02-01137-148\" -DIDENT_USER_HASH=0x1289f227L -DIDENT_UNIX_TIME=0x45099d06L -DIDENT_UID_HASH=0xb0915405L -mdisable-hwmul -I/opt/ tinyos- 1.x/tos/lib/CC2420Radio Blink.nc -lm
In file included from /opt/tinyos-1.x /tos/platform/msp430/msp430hardware.h:30,
                 from /opt/tinyos-1.x/tos/platform/telosb/hardware.h:4,
                 from /opt/tinyos-1.x/tos/system/tos.h:144:
/opt/msp430/msp430/include/io.h:79:2: warning: #warning "Unknown arch! Please check"
In file included from /opt/ tinyos-1.x/tos/platform/telosb/hardware.h:4,
                 from /opt/tinyos-1.x/tos/system/tos.h:144:
/opt/tinyos-1.x/tos/platform/msp430/msp430hardware.h: In function `__nesc_atomic_sleep':
/opt/tinyos-1.x/tos/platform/msp430/msp430hardware.h:262: `TACTL' undeclared (first use in this function)
/opt/tinyos-1.x/tos/platform/msp430/msp430hardware.h:262: (Each undeclared identifier is reported only once
/opt/tinyos-1.x/tos/platform/msp430/msp430hardware.h:262: for each function it appears in.)
/opt/tinyos- 1.x/tos/platform/msp430/msp430hardware.h:262: `MC_3' undeclared (first use in this function)
/opt/tinyos-1.x/tos/platform/msp430/msp430hardware.h:262: `MC_0' undeclared (first use in this function)
/opt/tinyos-1.x/tos/platform/msp430/msp430hardware.h:262: `TASSEL_3' undeclared (first use in this function)
/opt/tinyos-1.x/tos/platform/msp430/msp430hardware.h:262: `TASSEL_2' undeclared (first use in this function)
/opt/tinyos-1.x/tos/platform/msp430/msp430hardware.h:263: `ME1' undeclared (first use in this function)
/opt/tinyos-1.x/tos/platform/msp430/msp430hardware.h:263: `UTXE0' undeclared (first use in this function)
/opt/tinyos-1.x/tos/platform/msp430/msp430hardware.h:263: `URXE0' undeclared (first use in this function)
/opt/tinyos- 1.x/tos/platform/msp430/msp430hardware.h:263: `U0TCTL' undeclared (first use in this function)
/opt/tinyos-1.x/tos/platform/msp430/msp430hardware.h:263: `SSEL1' undeclared (first use in this function)
/opt/tinyos-1.x /tos/platform/msp430/msp430hardware.h:264: `ME2' undeclared (first use in this function)
/opt/tinyos-1.x/tos/platform/msp430/msp430hardware.h:264: `UTXE1' undeclared (first use in this function)
/opt/tinyos-1.x/tos/platform/msp430/msp430hardware.h:264: `URXE1' undeclared (first use in this function)
/opt/tinyos-1.x/tos/platform/msp430/msp430hardware.h:264: `U1TCTL' undeclared (first use in this function)
make: *** [exe0] Interrupt


Here is the output of my toscheck command

[EMAIL PROTECTED] Blink]# toscheck
Path:
        /usr/kerberos/sbin
        /opt/msp430/bin
        /opt/IBMJava2-142/bin
        /opt/IBMJava2-142/jre/bin
        /opt/tinyos-1.x /tools/src/mspgcc/build/binutils-2.16.1/binutils
        /opt/tinyos-1.x/tools/java/net/tinyos/sim
        /usr/local/bin
        /opt/msp430/bin
        /opt/IBMJava2-142/bin
        /opt/IBMJava2-142/jre/bin
        /opt/tinyos-1.x/tools/src/mspgcc/build/binutils- 2.16.1/binutils
        /tools/java/net/tinyos/sim
        /usr/local/bin
        /usr/kerberos/bin
        /usr/local/bin
        /usr/bin
        /bin
        /usr/X11R6/bin
        /home/hamza/bin

Classpath:
        .
        /opt/tinyos-1.x/tools/java
        /opt/tinyos-1.x/tools/java/jars/Jama-1.0.1.jar
        /opt/ tinyos-1.x/tools/java/jars/xmlParserAPIs.jar
        /opt/tinyos-1.x/tools/java/jars/plotapplet.jar
        /opt/tinyos-1.x/tools/java/jars/log4j-1.2.11.jar
        /opt/tinyos-1.x/tools/java/jars/jazz.jar
        /opt/ tinyos-1.x/tools/java/jars/javax.servlet.jar
        /opt/tinyos-1.x/tools/java/jars/plotapplication.jar
        /opt/tinyos-1.x/tools/java/jars/plot.jar
        /opt/tinyos-1.x/tools/java/jars/org.mortbay.jetty.jar
        /opt/ tinyos-1.x/tools/java/jars/jdom.jar
        /opt/tinyos-1.x/tools/java/jars/JLex.jar
        /opt/tinyos-1.x/tools/java/jars/cup.jar
        /opt/tinyos-1.x/tools/java/jars/gwe.jar
        /opt/ tinyos-1.x/tools/java/jars/junit.jar
        /opt/tinyos-1.x/tools/java/jars/xmlrpc-1.2-b1.jar
        /opt/tinyos- 1.x/tools/java/jars/xercesImpl.jar
        /opt/tinyos-1.x/tools/java/jars/plotmlapplet.jar
        /opt/tinyos-1.x/tools/java/jars/pxgraphapplet.jar
        /opt/tinyos-1.x/tools/java/jars/oalnf.jar
        /opt/tinyos- 1.x/tools/java/jars/pgjdbc2.jar
        .
        /opt/IBMJava2-142



rpms:
        /bin/rpm
        avr-gcc-3.3tinyos-1
        make-3.80tinyos-1
        avarice-2.0.20030825cvs-1
        avr-libc-20030512cvs-1
        tinyos-tools-1.1.0-1
        avr-insight-pre6.0cvs.tinyos-1.3
        nesc-1.1.2b-1
        avr-binutils-2.13.2.1-1


nesc:
        /usr/local/bin/ncc
        Version: ncc: 1.1.3


avr-gcc:
        /usr/local/bin/avr-gcc
        Version: avr-gcc (GCC) 3.3-tinyos


perl:
        /usr/bin/perl
        Version: v5.8.8 built for i386-linux-thread-multi

flex:
        /usr/bin/flex

bison:
        /usr/bin/bison

java:
        /opt/IBMJava2-142/bin/java
        java version "1.4.2"

javax.comm:
        javax.comm ok

uisp:
        /usr/local/bin/uisp
        uisp version 20050519tinyos

--> WARNING: The uisp version found by toscheck is not '20030820tinyos'. Please update your uisp version. The source for uisp version 20030820tinyos can be found in the TinyOS 1.1.0 distribution.

graphviz:
        /usr/bin/dot
        dot version 1.10 (Thu Jul 10 02:30:40 EDT 2003)

avr-as:
        /usr/local/bin/avr-as
        GNU assembler 2.13.2.1

avarice:
        /usr/local/bin/avarice
        AVaRICE version 2.0.20030825cvs, Aug 26 2003 03:14:15

avr-gdb:
        /usr/local/bin/avr-gdb
        GNU gdb cvs-pre6.0- tinyos

msp430-gcc:
        /opt/msp430/bin/msp430-gcc
        Version: msp430-gcc (GCC) 3.2.3



toscheck completed with errors:

--> WARNING: The uisp version found by toscheck is not '20030820tinyos'. Please update your uisp version. The source for uisp version 20030820tinyos can be found in the TinyOS 1.1.0 distribution.



What should i do?

Thanks,

Hamza.

_______________________________________________
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