How to add antsense protocol for ns2.35?

I am working on ns2.35/ubuntu 14.04 LTS. I want to add ant-sense(ant colony optimization) in NS2. I made changes to the file for INCLUDES & OBJ_CC. And when the make type in the terminal gets this error

make: gcc command not found

make: *** [tcp / linux / tcp_naivereno.o] error 127

+4
source share
1 answer

It seems that make does not know where gcc is located.

Try the following:

Enter gcc --version. If nothing is displayed, you need to find your gcc executable.

After you find the gcc executable ...

export PATH=$PATH:/path/to/gcc/executable.

After that it works make.

0
source

All Articles