You might want to check your search path from which the interfaces are being
picked up. It looks like you might have an older copy of EASAP.nc that the
compiler might be looking at ??
-Avinash
On 7/27/07, Inderjit Singh <[EMAIL PROTECTED]> wrote:
>
> Hi, I have a small problem compiling my module.
>
> I have an interface (EASAP.nc):
>
> interface EASAP
> {
> ...
> command struct Node* findNode(uint8_t id);
> ...
> }
>
> And in my module ( EASAPM.nc)
> {
> ...
> command struct Slot* EASAPImp.findSlot(uint8_t slot)
> {
> ...
> }
>
> ...
> command struct Node* EASAP.findNode(uint8_t id)
> {
> ...
> }
> }
>
> I am get comiling error:
> EASAPM.nc:672: conflicting types for `EASAP.findNode'
> EASAP.nc:59: previous declaration of `EASAP.findNode'
> make: *** [exe0] Error 1
>
>
> I can't find a duplicate of the findNode function anywhere. Can anyone see
> what I can't?
>
> Thanks,
> Inderjir
>
> _______________________________________________
> Tinyos-help mailing list
> [email protected]
> https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
>
>
--
Phd Dept. of Electrical Engineering
University of Southern California
http://www-scf.usc.edu/~asridhar
_______________________________________________
Tinyos-help mailing list
[email protected]
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help