I'm having a bit of a bizarre indexing issue, and am out of ideas as to how to solve it. ( This is using Juno installed from the CDT tar. )
It first appeared as "Symbol IPPROTO_IP could not be resolved"... the symbol is defined in an enum within <netinet/in.h> and right click -> open declaration takes you to the correct place in that include file.
I then created a quick test:
IPPROTO_IP = 0,
#define IPPROTO_IP IPPROTO_IP
int test = IPPROTO_IP;
Lo and behold, IPPROTO_IP is underlined in red, same unresolved symbol error. However ( and this is the bizarre bit ) I can "fix" it by doing one of two things:
1) Copy the header file into the .c file - i.e. define the enum within the C source.
2) Change IPPROTO_IP to IPPROTO_IP2 wherever it is used. I.e. everything EXACTLY the same, but the name used.
Can anyone who knows more about Eclipse than me ( i.e. anyone ) make any sense of this?