Envoyé par
amimb
Monsieur
j'ai déja installé le NS2.34
donc tu passe au plan B
c'est a dire si vous avez acceder au lien
http://www.antd.nist.gov/seamlessandsecure/files/80216/doc/INSTALL.TXT
qui contient des explications bien détailler meme s'elles sont en anglais
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52
| step1: add the wimax directory in the ns installation
step2: add the tcl/wimax directory
step3: add the tcl/lib/ns-wimax.tcl file
step4: add the mac/mac-stat.h file
step5: edit Makefile.in and:
* add -I ./wimax to the list of directories to include (in the definition of INCLUDE)
* add the object files before the last line (@V_STLOBJ@) of the OBJ_CC list:
wimax/ofdmphy.o \
wimax/mac802_16pkt.o \
wimax/serviceflowqos.o \
wimax/serviceflow.o \
wimax/serviceflowhandler.o \
wimax/connection.o \
wimax/connectionmanager.o \
wimax/peernode.o \
wimax/mac802_16.o \
wimax/mac802_16SS.o \
wimax/mac802_16BS.o \
wimax/sduclassifier.o \
wimax/destclassifier.o \
wimax/mac802_16timer.o \
wimax/wimaxneighborentry.o \
wimax/neighbordb.o \
wimax/scheduling/wimaxscheduler.o \
wimax/scheduling/bsscheduler.o \
wimax/scheduling/ssscheduler.o \
wimax/scheduling/ulsubframetimer.o \
wimax/scheduling/dlsubframetimer.o \
wimax/scheduling/burst.o \
wimax/scheduling/contentionslot.o \
wimax/scheduling/contentionrequest.o \
wimax/scheduling/contentiontimer.o \
wimax/scheduling/dlburst.o \
wimax/scheduling/ulburst.o \
wimax/scheduling/framemap.o \
wimax/scheduling/phypdu.o \
wimax/scheduling/profile.o \
wimax/scheduling/subframe.o \
wimax/scheduling/scanningstation.o \
wimax/scheduling/wimaxctrlagent.o \
* add the ns-wimax.tcl entry before (@V_NS_TCL_LIB_STL@):
tcl/lib/ns-wimax.tcl \
step6: edit the file common/packet.h and add a new packet type PT_WIMAXBS into the packet_t enumeration and "name_[PT_WIMAXBS]="wimaxCtrl";" to the class p_info
step7: edit the file tcl/lib/ns-lib.tcl and add the line "source ns-wimax.tcl"
step8: edit the file tcl/lib/ns-packet.tcl and add "802_16" to the list defined in the list of packets (look for "foreach prot")
step9: re-run "./configure ; make clean ; make" in the ns-2.31 directory. |
donc si vous rencontrer un problème veuillez noter le message d'erreur et vous pouvez l'afficher dans le forum
Partager