bsc-nat: add 'Native_FunctionDefs.cc' to regen_makefile.sh

Some modules from library depend on these native functions.
Without them the compilation fails during linkage:

  Native_Functions.so: undefined reference to `Native__Functions::f__str__tolower(CHARSTRING const&)'
  Native_Functions.so: undefined reference to `Native__Functions::f__inet__hntoa(OCTETSTRING const&)'
  Native_Functions.so: undefined reference to `Native__Functions::f__inet__haddr(CHARSTRING const&)'
  BSSMAP_Templates.so: undefined reference to `Native__Functions::f__inet6__addr(CHARSTRING const&)'
  BSSMAP_Templates.so: undefined reference to `Native__Functions::f__inet__addr(CHARSTRING const&)'
  Native_Functions.so: undefined reference to `Native__Functions::f__str__toupper(CHARSTRING const&)'
  Native_Functions.so: undefined reference to `Native__Functions::f__inet__ntoa(OCTETSTRING const&)'
  collect2: error: ld returned 1 exit status
  make[1]: *** [BSCNAT_Tests] Error 1

Change-Id: I81227db58850375f0ce48e5c6e013381291a5904
This commit is contained in:
Vadim Yanitskiy 2021-02-27 17:21:00 +01:00
parent eef4607203
commit 1491c64114
1 changed files with 1 additions and 1 deletions

View File

@ -2,7 +2,7 @@
MAIN=BSCNAT_Tests.ttcn
FILES="*.ttcn *.ttcnpp SCCP_EncDec.cc IPA_CodecPort_CtrlFunctDef.cc IPL4asp_PT.cc IPL4asp_discovery.cc TCCConversion.cc TCCInterface.cc RTP_EncDec.cc SDP_EncDec.cc *.c MGCP_CodecPort_CtrlFunctDef.cc TELNETasp_PT.cc"
FILES="*.ttcn *.ttcnpp SCCP_EncDec.cc IPA_CodecPort_CtrlFunctDef.cc IPL4asp_PT.cc IPL4asp_discovery.cc TCCConversion.cc TCCInterface.cc RTP_EncDec.cc SDP_EncDec.cc *.c MGCP_CodecPort_CtrlFunctDef.cc TELNETasp_PT.cc Native_FunctionDefs.cc"
export CPPFLAGS_TTCN3="-DIPA_EMULATION_SCCP -DIPA_EMULATION_MGCP -DIPA_EMULATION_CTRL -DRAN_EMULATION_BSSAP -DRAN_EMULATION_MGCP -DRAN_EMULATION_CTRL -DUSE_MTP3_DISTRIBUTOR"