Hi,

On Monday 14 May 2007 13:39, [EMAIL PROTECTED] wrote:
> I'm trying to write a simple serial listener application in C, using
> the tools provided in /support/sdk/c.  I've successfully compiled the
> tools and run the example "seriallistener" program.  However, I'm
> having trouble getting my own programs to compile.  I have a simple
> test program (test.c) that contains a call to open_serial_source.  When
> I try to compile it with
>
> gcc -L/opt/tinyos-2.x/support/sdk/c -lmote -o test.out test.c
>
> I get the following error:
>
> /cygdrive/c/DOCUME~1/student/LOCALS~1/Temp/ccCRG2eq.o:test.c:
> (.text+0x7a): undefined reference to `_open_serial_source'
> collect2: ld returned 1 exit status

It looks like you may be calling _open_serial_source() in test.c when the 
function name has no leading underscore.

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

Reply via email to