Neelam, it is possible that your problem is in the library "IP.h", where you probably defined "struct ip_msg_t".
I suggest you to verify this structure definition. ***************** João Giacomin Prof-DCC-UFLA ***************** ---------- Original Message ----------- From: "Neelam Chaubey" <[EMAIL PROTECTED]> To: [email protected], [EMAIL PROTECTED] Sent: Wed, 26 Nov 2008 00:02:47 -0800 Subject: [Tinyos-help] need help.. > Hi > > This particular code is header file which iam using in the testhc.c code . > but when i compile it gives the error > > expected ' ) ' before ' * ' token > > #ifndef _LIB6LOWPANIP_H_#define _LIB6LOWPANIP_H_#include "IP.h"/* * This file > presents an interface for parsing IP and UDP headers in a * 6loWPAN packet. > */extern uint8_t globalPrefix;extern ip6_addr_t my_address;extern uint8_t > multicast_prefix[8];uint8_t cmpPfx(ip6_addr_t a, uint8_t *pfx);int > getCompressedLen(packed_lowmsg_t *pkt);uint8_t *packHeaders(struct ip_msg_t > *msg, uint8_t *buf, uint8_t len);int packs_header(struct ip_msg_t *msg);#endif > It gives an error saying > "expected ' ) ' before '*' token" > for line 21 and 22 of this header filewhich iam including in the testhc.c > code which are indicated by yellow can u please explain me where am i going > wrong. > -- > Neelam Chaubey > Indrion Technologies ------- End of Original Message -------
_______________________________________________ Tinyos-help mailing list [email protected] https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
