Ghada-sy / Load-Management

Mobility Load Management in Cellular Networks
8 stars 6 forks source link

Undefined reference to main in scrt1.o #2

Open mohanadali113 opened 2 years ago

mohanadali113 commented 2 years ago

When I try to run step 6 ./waf it gives linking errors undefined reference to main in scrt1.o

Ghada-sy commented 2 years ago

Are you using the same NS3 version ([ns-3.30])?

mohanadali113 commented 2 years ago

We use ns-3.30.1 It throws this error

Sent from Yahoo Mail on Android

On Wed, Mar 16, 2022 at 12:23 PM, @.***> wrote:

Are you using the same NS3 version ([ns-3.30])?

— Reply to this email directly, view it on GitHub, or unsubscribe. Triage notifications on the go with GitHub Mobile for iOS or Android. You are receiving this because you authored the thread.Message ID: @.***>

Ghada-sy commented 2 years ago

The problem is most probably happens because of using wscript of different ns3 version. You can update the wscript of your version rather that replacing it. (you should add a few lines to link cell-individual-offset.cc, cell-individual-offset.h files) you can be guided by comparing your wscript with the one presented in this code.

Regards,