[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[ns] error while using make depend



Hi, there,

I have met a problem when I was using make depend.

I added some new files of mine in which I derived a new class from agent class. After all the necessary changes in Makefile, I used make depend. but I got the following error message:
emulate/net-pcap.cc:60:pcap.h: No such file or directory.

And even later after I deleted the changes that I previously made in the Makefile, and then use make depend, I still got this error. I am using ns-2.1b7a/red linux6.2.

anyone can help me solve this? Your help is greatly appreciated.

BTW, I read from the message board that someone said it's better to modify Makefile.in instead of Makefile, and then do a configuration. I am not sure how to do the configuration? Can someone tell me? Thank you so much.

Li Yang