undefined reference to `asn_encode_to_buffer'

25 views
Skip to first unread message

MD SHAKIRUL ISLAM

unread,
Apr 22, 2025, 1:12:35 AM4/22/25
to ns-3-users
i have been install the ns-3 mmwave by following these steps https://openrangym.com/tutorials/ns-o-ran 
but at the final stage of build ./ns3 build enter ing this command i found this: 

[2439/2994] Linking build/src/csma/examples/ns3.33-csma-broadcast-optimized
[2440/2994] Linking build/src/csma/examples/ns3.33-csma-packet-socket-optimized
[2441/2994] Linking build/src/csma/examples/ns3.33-csma-multicast-optimized
[2442/2994] Linking build/src/csma/examples/ns3.33-csma-raw-ip-socket-optimized
/usr/bin/ld: /usr/local/lib/libe2sim.so: undefined reference to `aper_encode_to_new_buffer'
/usr/bin/ld: /usr/local/lib/libe2sim.so: undefined reference to `xer_decode'
/usr/bin/ld: /usr/local/lib/libe2sim.so: undefined reference to `asn_DEF_RICsubsequentAction'
/usr/bin/ld: /usr/local/lib/libe2sim.so: undefined reference to `asn_DEF_RICsubscriptionRequest_IEs'
/usr/bin/ld: /usr/local/lib/libe2sim.so: undefined reference to `xer_fprint'
/usr/bin/ld: /usr/local/lib/libe2sim.so: undefined reference to `asn_decode'
/usr/bin/ld: /usr/local/lib/libe2sim.so: undefined reference to `asn_check_constraints'
/usr/bin/ld: /usr/local/lib/libe2sim.so: undefined reference to `asn_DEF_E2setupRequest'
/usr/bin/ld: /usr/local/lib/libe2sim.so: undefined reference to `asn_DEF_E2setupRequestIEs'
/usr/bin/ld: /usr/local/lib/libe2sim.so: undefined reference to `asn_DEF_E2AP_PDU'
/usr/bin/ld: /usr/local/lib/libe2sim.so: undefined reference to `asn_encode_to_buffer'
/usr/bin/ld: /usr/local/lib/libe2sim.so: undefined reference to `asn_set_add'
collect2: error: ld returned 1 exit status


Waf: Leaving directory `/home/shakirul/ns-3-mmwave-oran/build'
Build failed
 -> task in 'main-ptr' failed with exit status 1 (run with -v to display more information)
 -> task in 'test-string-value-formatting' failed with exit status 1 (run with -v to display more information)
 -> task in 'sample-random-variable-stream' failed with exit status 1 (run with -v to display more information)
 -> task in 'sample-simulator' failed with exit status 1 (run with -v to display more information)
 -> task in 'system-path-examples' failed with exit status 1 (run with -v to display more information)
 -> task in 'command-line-example' failed with exit status 1 (run with -v to display more information)
 -> task in 'fatal-example' failed with exit status 1 (run with -v to display more information)
 -> task in 'sample-random-variable' failed with exit status 1 (run with -v to display more information)
 -> task in 'length-example' failed with exit status 1 (run with -v to display more information)
 -> task in 'sample-show-progress' failed with exit status 1 (run with -v to display more information)
 -> task in 'sample-log-time-format' failed with exit status 1 (run with -v to display more information)
 -> task in 'hash-example' failed with exit status 1 (run with -v to display more information)
 -> task in 'main-callback' failed with exit status 1 (run with -v to display more information)
 -> task in 'main-test-sync' failed with exit status 1 (run with -v to display more information)
 -> task in 'main-random-variable-stream' failed with exit status 1 (run with -v to display more information)
 -> task in 'config-store-save' failed with exit status 1 (run with -v to display more information)
 -> task in 'outdoor-random-walk-example' failed with exit status 1 (run with -v to display more information)
 -> task in 'buildings-pathloss-profiler' failed with exit status 1 (run with -v to display more information)
 -> task in 'csma-bridge-one-hop' failed with exit status 1 (run with -v to display more information)
 -> task in 'three-gpp-http-example' failed with exit status 1 (run with -v to display more information)
 -> task in 'csma-packet-socket' failed with exit status 1 (run with -v to display more information)
 -> task in 'csma-broadcast' failed with exit status 1 (run with -v to display more information)
 -> task in 'csma-raw-ip-socket' failed with exit status 1 (run with -v to display more information)
 -> task in 'csma-bridge' failed with exit status 1 (run with -v to display more information)
 -> task in 'aodv' failed with exit status 1 (run with -v to display more information)
 -> task in 'csma-one-subnet' failed with exit status 1 (run with -v to display more information)
 -> task in 'empirical-random-variable-example' failed with exit status 1 (run with -v to display more information)
 -> task in 'csma-multicast' failed with exit status 1 (run with -v to display more information)
shakirul@shakirul-B80LV-AD47B6E:~/ns-3-mmwave-oran$ ./waf clean
'clean' finished successfully (0.139s)

this was last status
i think asn1c library was not fetched by ns3mmwave. 
Reply all
Reply to author
Forward
0 new messages