dsr/linkcache .cc: fatal error: list.h: no such file or directory.

I am using NS2 and Ubuntu 12.04.5 LTS
I uesd "make" to recompile NS2. I got the following error:
dsr/linkcache .cc: fatal error: list.h: no such file or directory.
I used locate list.h and this is its directory
/usr/src/linux-headers-3.2.0-29/include/linux/list.h
That means that the header file list.h exists but it isn't recognized
How can I make list.h recognized?
I assume you added the /usr/src/linux-headers-3.2.0-29/include directory to the include path? If so you might try changing #include "list.h" to #include "linux/list.h" Or add the /usr/src/linux-headers-3.2.0-29/include/linux directory to the include path.
Topic archived. No new replies allowed.