you've caused code to be included that references an external. The linker is complaining about not being able to find ezcompress.
you will need to research where to get the ezcompress code and will then need to figure out yourself how to include that. this is basic C programming with separate modules. Basic. On Fri, Feb 24, 2012 at 6:48 AM, Mashal al-shboul <[email protected]>wrote: > Hi All, > i am using tinyos 2.1.1 and nesc to write a program for imote2 platform, i > need to use .c file for calling some methods in it, so i put this file and > its .h file in the same directory and wrote > #include "ezcompress.h", which is the file needed > > BUT i got this error: > > /tmp/cc5Ak8tM.o(.text+0x1ad4): In function `main': > : undefined reference to `ezcompress' > collect2: ld returned 1 exit status > make: *** [exe0] Error 1 > > > note: i have experienced including another .h and .c files correctly, but > this time it's rejected !!! :( > > any help is appreciated, Thanks in advance > > Mash'al. > Jordan > > _______________________________________________ > Tinyos-help mailing list > [email protected] > https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help > -- Eric B. Decker Senior (over 50 :-) Researcher
_______________________________________________ Tinyos-help mailing list [email protected] https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
