Dear all, When I build osmocom 3G [ https://osmocom.org/projects/cellular-infrastructure/wiki/Getting_Started_wi...] , openbsc branch:vlr_3g make check failed :
ERROR: 32 tests were run,
11 failed unexpectedly. 1 test was skipped.
Clone and build with 3G-config-example from: script: 3G-config-example.tar https://osmocom.org/attachments/2726/3G-config-example.tar
Anybody can help me fix it?
Thanks! ---------------------------------------------------------------------------- 雪碧0xroot renxianyuanqi@gmail.com https:// cn0xroot.com ----------------------------------------------------------------------------
more info from openbsc's testsuite.log :
| | #define PACKAGE_BUGREPORT "openbsc@lists.osmocom.org"
| | #define PACKAGE_URL ""
| | #define PACKAGE "openbsc"
| | #define VERSION "0.15.0.776-3824"
| | #define BUILD_SMPP 1
| | #define BUILD_IU 1
| | /* end confdefs.h. */
| | #include <ac_nonexistent.h>
| configure:6147: result: gcc -E
| configure:6167: gcc -E conftest.c
| configure:6167: $? = 0
| configure:6181: gcc -E conftest.c
| conftest.c:13:28: fatal error: ac_nonexistent.h: No such file or
directory
| compilation terminated.
| configure:6181: $? = 1
| configure: failed program was:
| | /* confdefs.h */
| | #define PACKAGE_NAME "openbsc"
| | #define PACKAGE_TARNAME "openbsc"
| | #define PACKAGE_VERSION "0.15.0.776-3824"
| | #define PACKAGE_STRING "openbsc 0.15.0.776-3824"
| | #define PACKAGE_BUGREPORT "openbsc@lists.osmocom.org"
| | #define PACKAGE_URL ""
| | #define PACKAGE "openbsc"
| | #define VERSION "0.15.0.776-3824"
| | #define BUILD_SMPP 1
| | #define BUILD_IU 1
| | /* end confdefs.h. */
| | #include <ac_nonexistent.h>
| configure:6210: checking for grep that handles long lines and -e
| configure:6268: result: /bin/grep
| configure:6273: checking for egrep
| configure:6335: result: /bin/grep -E
| configure:6340: checking for ANSI C header files
| configure:6360: gcc -c -g -O2 conftest.c >&5
| configure:6360: $? = 0
| configure:6433: gcc -o conftest -g -O2 conftest.c >&5
| configure:6433: $? = 0
| configure:6433: ./conftest
| configure:6433: $? = 0
| configure:6444: result: yes
| configure:6457: checking for sys/types.h
| configure:6457: gcc -c -g -O2 conftest.c >&5
| configure:6457: $? = 0
| configure:6457: result: yes
| configure:6457: checking for sys/stat.h
| configure:6457: gcc -c -g -O2 conftest.c >&5
| configure:6457: $? = 0
| configure:6457: result: yes
| configure:6457: checking for stdlib.h
| configure:6457: gcc -c -g -O2 conftest.c >&5
| configure:6457: $? = 0
| configure:6457: result: yes
| configure:6457: checking for string.h
| configure:6457: gcc -c -g -O2 conftest.c >&5
| configure:6457: $? = 0
| configure:6457: result: yes
| configure:6457: checking for memory.h
| configure:6457: gcc -c -g -O2 conftest.c >&5
| configure:6457: $? = 0
| configure:6457: result: yes
| configure:6457: checking for strings.h
| configure:6457: gcc -c -g -O2 conftest.c >&5
| configure:6457: $? = 0
| configure:6457: result: yes
| configure:6457: checking for inttypes.h
| configure:6457: gcc -c -g -O2 conftest.c >&5
| configure:6457: $? = 0
| configure:6457: result: yes
| configure:6457: checking for stdint.h
| configure:6457: gcc -c -g -O2 conftest.c >&5
| configure:6457: $? = 0
| configure:6457: result: yes
| configure:6457: checking for unistd.h
| configure:6457: gcc -c -g -O2 conftest.c >&5
| configure:6457: $? = 0
| configure:6457: result: yes
| configure:6471: checking dbi/dbd.h usability
| configure:6471: gcc -c -g -O2 conftest.c >&5
| configure:6471: $? = 0
| configure:6471: result: yes
| configure:6471: checking dbi/dbd.h presence
| configure:6471: gcc -E conftest.c
| configure:6471: $? = 0
| configure:6471: result: yes
| configure:6471: checking for dbi/dbd.h
| configure:6471: result: yes
| configure:6487: checking pcap/pcap.h usability
| configure:6487: gcc -c -g -O2 conftest.c >&5
| configure:6487: $? = 0
| configure:6487: result: yes
| configure:6487: checking pcap/pcap.h presence
| configure:6487: gcc -E conftest.c
| configure:6487: $? = 0
| configure:6487: result: yes
| configure:6487: checking for pcap/pcap.h
| configure:6487: result: yes
| configure:6511: checking cdk/cdk.h usability
| configure:6511: gcc -c -g -O2 conftest.c >&5
| conftest.c:58:21: fatal error: cdk/cdk.h: No such file or directory
| compilation terminated.
| configure:6511: $? = 1
| configure: failed program was:
| | /* confdefs.h */
| | #define PACKAGE_NAME "openbsc"
| | #define PACKAGE_TARNAME "openbsc"
| | #define PACKAGE_VERSION "0.15.0.776-3824"
| | #define PACKAGE_STRING "openbsc 0.15.0.776-3824"
| | #define PACKAGE_BUGREPORT "openbsc@lists.osmocom.org"
| | #define PACKAGE_URL ""
| | #define PACKAGE "openbsc"
| | #define VERSION "0.15.0.776-3824"
| | #define BUILD_SMPP 1
| | #define BUILD_IU 1
| | #define STDC_HEADERS 1
| | #define HAVE_SYS_TYPES_H 1
| | #define HAVE_SYS_STAT_H 1
| | #define HAVE_STDLIB_H 1
| | #define HAVE_STRING_H 1
| | #define HAVE_MEMORY_H 1
| | #define HAVE_STRINGS_H 1
| | #define HAVE_INTTYPES_H 1
| | #define HAVE_STDINT_H 1
| | #define HAVE_UNISTD_H 1
| | #define HAVE_DBI_DBD_H 1
| | #define HAVE_PCAP_PCAP_H 1
| | /* end confdefs.h. */
| | #include <stdio.h>
| | #ifdef HAVE_SYS_TYPES_H
| | # include <sys/types.h>
| | #endif
| | #ifdef HAVE_SYS_STAT_H
| | # include <sys/stat.h>
| | #endif
| | #ifdef STDC_HEADERS
| | # include <stdlib.h>
| | # include <stddef.h>
| | #else
| | # ifdef HAVE_STDLIB_H
| | # include <stdlib.h>
| | # endif
| | #endif
| | #ifdef HAVE_STRING_H
| | # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
| | # include <memory.h>
| | # endif
| | # include <string.h>
| | #endif
| | #ifdef HAVE_STRINGS_H
| | # include <strings.h>
| | #endif
| | #ifdef HAVE_INTTYPES_H
| | # include <inttypes.h>
| | #endif
| | #ifdef HAVE_STDINT_H
| | # include <stdint.h>
| | #endif
| | #ifdef HAVE_UNISTD_H
| | # include <unistd.h>
| | #endif
| | #include <cdk/cdk.h>
| configure:6511: result: no
| configure:6511: checking cdk/cdk.h presence
| configure:6511: gcc -E conftest.c
| conftest.c:25:21: fatal error: cdk/cdk.h: No such file or directory
| compilation terminated.
| configure:6511: $? = 1
| configure: failed program was:
| | /* confdefs.h */
| | #define PACKAGE_NAME "openbsc"
| | #define PACKAGE_TARNAME "openbsc"
| | #define PACKAGE_VERSION "0.15.0.776-3824"
| | #define PACKAGE_STRING "openbsc 0.15.0.776-3824"
| | #define PACKAGE_BUGREPORT "openbsc@lists.osmocom.org"
| | #define PACKAGE_URL ""
| | #define PACKAGE "openbsc"
| | #define VERSION "0.15.0.776-3824"
| | #define BUILD_SMPP 1
| | #define BUILD_IU 1
| | #define STDC_HEADERS 1
| | #define HAVE_SYS_TYPES_H 1
| | #define HAVE_SYS_STAT_H 1
| | #define HAVE_STDLIB_H 1
| | #define HAVE_STRING_H 1
| | #define HAVE_MEMORY_H 1
| | #define HAVE_STRINGS_H 1
| | #define HAVE_INTTYPES_H 1
| | #define HAVE_STDINT_H 1
| | #define HAVE_UNISTD_H 1
| | #define HAVE_DBI_DBD_H 1
| | #define HAVE_PCAP_PCAP_H 1
| | /* end confdefs.h. */
| | #include <cdk/cdk.h>
| configure:6511: result: no
| configure:6511: checking for cdk/cdk.h
| configure:6511: result: no
| configure:6535: checking for SQLITE3
| configure:6542: $PKG_CONFIG --exists --print-errors "sqlite3"
| configure:6545: $? = 0
| configure:6559: $PKG_CONFIG --exists --print-errors "sqlite3"
| configure:6562: $? = 0
| configure:6600: result: yes
| configure:6619: checking if gcc supports -fvisibility=hidden
| configure:6625: gcc -c -g -O2 -fvisibility=hidden conftest.c >&5
| configure:6625: $? = 0
| configure:6626: result: yes
| configure:6637: checking whether C compiler accepts -Werror=implicit
| configure:6656: gcc -c -g -O2 -Werror=implicit conftest.c >&5
| configure:6656: $? = 0
| configure:6664: result: yes
| configure:6672: checking whether C compiler accepts
-Werror=maybe-uninitialized
| configure:6691: gcc -c -g -O2 -Werror=implicit
-Werror=maybe-uninitialized conftest.c >&5
| configure:6691: $? = 0
| configure:6699: result: yes
| configure:6707: checking whether C compiler accepts
-Werror=memset-transposed-args
| configure:6726: gcc -c -g -O2 -Werror=implicit
-Werror=maybe-uninitialized -Werror=memset-transposed-args conftest.c >&5
| configure:6726: $? = 0
| configure:6734: result: yes
| configure:6742: checking whether C compiler accepts
-Werror=null-dereference
| configure:6761: gcc -c -g -O2 -Werror=implicit
-Werror=maybe-uninitialized -Werror=memset-transposed-args -Werror=null-dereference conftest.c >&5
| cc1: error: -Werror=null-dereference: no option -Wnull-dereference
| configure:6761: $? = 1
| configure: failed program was:
| | /* confdefs.h */
| | #define PACKAGE_NAME "openbsc"
| | #define PACKAGE_TARNAME "openbsc"
| | #define PACKAGE_VERSION "0.15.0.776-3824"
| | #define PACKAGE_STRING "openbsc 0.15.0.776-3824"
| | #define PACKAGE_BUGREPORT "openbsc@lists.osmocom.org"
| | #define PACKAGE_URL ""
| | #define PACKAGE "openbsc"
| | #define VERSION "0.15.0.776-3824"
| | #define BUILD_SMPP 1
| | #define BUILD_IU 1
| | #define STDC_HEADERS 1
| | #define HAVE_SYS_TYPES_H 1
| | #define HAVE_SYS_STAT_H 1
| | #define HAVE_STDLIB_H 1
| | #define HAVE_STRING_H 1
| | #define HAVE_MEMORY_H 1
| | #define HAVE_STRINGS_H 1
| | #define HAVE_INTTYPES_H 1
| | #define HAVE_STDINT_H 1
| | #define HAVE_UNISTD_H 1
| | #define HAVE_DBI_DBD_H 1
| | #define HAVE_PCAP_PCAP_H 1
| | /* end confdefs.h. */
| |
| | int
| | main ()
| | {
| |
| | ;
| | return 0;
| | }
| configure:6769: result: no
| configure:6777: checking whether C compiler accepts
-Werror=sizeof-array-argument
| configure:6796: gcc -c -g -O2 -Werror=implicit
-Werror=maybe-uninitialized -Werror=memset-transposed-args -Werror=sizeof-array-argument conftest.c >&5
| configure:6796: $? = 0
| configure:6804: result: yes
| configure:6812: checking whether C compiler accepts
-Werror=sizeof-pointer-memaccess
| configure:6831: gcc -c -g -O2 -Werror=implicit
-Werror=maybe-uninitialized -Werror=memset-transposed-args -Werror=sizeof-array-argument -Werror=sizeof-pointer-memaccess conftest.c
&5
| configure:6831: $? = 0
| configure:6839: result: yes
| configure:6849: checking whether to enable code coverage support
| configure:6858: result: no
| configure:6870: checking whether struct tm has tm_gmtoff member
| configure:6894: gcc -o conftest -g -O2 -Werror=implicit
-Werror=maybe-uninitialized -Werror=memset-transposed-args -Werror=sizeof-array-argument -Werror=sizeof-pointer-memaccess conftest.c >&5
| configure:6894: $? = 0
| configure:6904: result: yes
| configure:7176: checking whether to enable VTY/CTRL tests
| configure:7178: result: no
| configure:7302: checking that generated files are newer than configure
| configure:7308: result: done
| configure:7375: creating ./config.status
|
| ## ---------------------- ##
| ## Running config.status. ##
| ## ---------------------- ##
|
| This file was extended by openbsc config.status 0.15.0.776-3824, which
was
| generated by GNU Autoconf 2.69. Invocation command line was
|
| CONFIG_FILES =
| CONFIG_HEADERS =
| CONFIG_LINKS =
| CONFIG_COMMANDS =
| $ ./config.status
|
| on ubuntu
|
| config.status:994: creating openbsc.pc
| config.status:994: creating include/openbsc/Makefile
| config.status:994: creating include/Makefile
| config.status:994: creating src/Makefile
| config.status:994: creating src/libtrau/Makefile
| config.status:994: creating src/libbsc/Makefile
| config.status:994: creating src/libmsc/Makefile
| config.status:994: creating src/libvlr/Makefile
| config.status:994: creating src/libmgcp/Makefile
| config.status:994: creating src/libcommon/Makefile
| config.status:994: creating src/libfilter/Makefile
| config.status:994: creating src/libiu/Makefile
| config.status:994: creating src/libcommon-cs/Makefile
| config.status:994: creating src/osmo-msc/Makefile
| config.status:994: creating src/osmo-bsc/Makefile
| config.status:994: creating src/osmo-bsc_nat/Makefile
| config.status:994: creating src/osmo-bsc_mgcp/Makefile
| config.status:994: creating src/ipaccess/Makefile
| config.status:994: creating src/utils/Makefile
| config.status:994: creating src/gprs/Makefile
| config.status:994: creating tests/Makefile
| config.status:994: creating tests/atlocal
| config.status:994: creating tests/libiudummy/Makefile
| config.status:994: creating tests/gsm0408/Makefile
| config.status:994: creating tests/channel/Makefile
| config.status:994: creating tests/bsc/Makefile
| config.status:994: creating tests/bsc-nat/Makefile
| config.status:994: creating tests/bsc-nat-trie/Makefile
| config.status:994: creating tests/mgcp/Makefile
| config.status:994: creating tests/gprs/Makefile
| config.status:994: creating tests/gbproxy/Makefile
| config.status:994: creating tests/abis/Makefile
| config.status:994: creating tests/smpp/Makefile
| config.status:994: creating tests/trau/Makefile
| config.status:994: creating tests/sgsn/Makefile
| config.status:994: creating tests/subscr/Makefile
| config.status:994: creating tests/oap/Makefile
| config.status:994: creating tests/gtphub/Makefile
| config.status:994: creating tests/mm_auth/Makefile
| config.status:994: creating tests/xid/Makefile
| config.status:994: creating tests/sndcp_xid/Makefile
| config.status:994: creating tests/slhc/Makefile
| config.status:994: creating tests/v42bis/Makefile
| config.status:994: creating tests/nanobts_omlattr/Makefile
| config.status:994: creating tests/vlr/Makefile
| config.status:994: creating tests/sms_queue/Makefile
| config.status:994: creating tests/msc_vlr/Makefile
| config.status:994: creating doc/Makefile
| config.status:994: creating doc/examples/Makefile
| config.status:994: creating Makefile
| config.status:994: creating bscconfig.h
| config.status:1223: executing tests/atconfig commands
| config.status:1223: executing depfiles commands
|
| ## ---------------- ##
| ## Cache variables. ##
| ## ---------------- ##
|
| ac_cv_c_compiler_gnu=yes
| ac_cv_env_CC_set=
| ac_cv_env_CC_value=
| ac_cv_env_CFLAGS_set=
| ac_cv_env_CFLAGS_value=
| ac_cv_env_CPPFLAGS_set=
| ac_cv_env_CPPFLAGS_value=
| ac_cv_env_CPP_set=
| ac_cv_env_CPP_value=
| ac_cv_env_LDFLAGS_set=
| ac_cv_env_LDFLAGS_value=
| ac_cv_env_LIBASN1C_CFLAGS_set=
| ac_cv_env_LIBASN1C_CFLAGS_value=
| ac_cv_env_LIBASN1C_LIBS_set=
| ac_cv_env_LIBASN1C_LIBS_value=
| ac_cv_env_LIBBCG729_CFLAGS_set=
| ac_cv_env_LIBBCG729_CFLAGS_value=
| ac_cv_env_LIBBCG729_LIBS_set=
| ac_cv_env_LIBBCG729_LIBS_value=
| ac_cv_env_LIBCARES_CFLAGS_set=
| ac_cv_env_LIBCARES_CFLAGS_value=
| ac_cv_env_LIBCARES_LIBS_set=
| ac_cv_env_LIBCARES_LIBS_value=
| ac_cv_env_LIBCRYPTO_CFLAGS_set=
| ac_cv_env_LIBCRYPTO_CFLAGS_value=
| ac_cv_env_LIBCRYPTO_LIBS_set=
| ac_cv_env_LIBCRYPTO_LIBS_value=
| ac_cv_env_LIBGTP_CFLAGS_set=
| ac_cv_env_LIBGTP_CFLAGS_value=
| ac_cv_env_LIBGTP_LIBS_set=
| ac_cv_env_LIBGTP_LIBS_value=
| ac_cv_env_LIBOSMOABIS_CFLAGS_set=
| ac_cv_env_LIBOSMOABIS_CFLAGS_value=
| ac_cv_env_LIBOSMOABIS_LIBS_set=
| ac_cv_env_LIBOSMOABIS_LIBS_value=
| ac_cv_env_LIBOSMOCORE_CFLAGS_set=
| ac_cv_env_LIBOSMOCORE_CFLAGS_value=
| ac_cv_env_LIBOSMOCORE_LIBS_set=
| ac_cv_env_LIBOSMOCORE_LIBS_value=
| ac_cv_env_LIBOSMOCTRL_CFLAGS_set=
| ac_cv_env_LIBOSMOCTRL_CFLAGS_value=
| ac_cv_env_LIBOSMOCTRL_LIBS_set=
| ac_cv_env_LIBOSMOCTRL_LIBS_value=
| ac_cv_env_LIBOSMOGB_CFLAGS_set=
| ac_cv_env_LIBOSMOGB_CFLAGS_value=
| ac_cv_env_LIBOSMOGB_LIBS_set=
| ac_cv_env_LIBOSMOGB_LIBS_value=
| ac_cv_env_LIBOSMOGSM_CFLAGS_set=
| ac_cv_env_LIBOSMOGSM_CFLAGS_value=
| ac_cv_env_LIBOSMOGSM_LIBS_set=
| ac_cv_env_LIBOSMOGSM_LIBS_value=
| ac_cv_env_LIBOSMONETIF_CFLAGS_set=
| ac_cv_env_LIBOSMONETIF_CFLAGS_value=
| ac_cv_env_LIBOSMONETIF_LIBS_set=
| ac_cv_env_LIBOSMONETIF_LIBS_value=
| ac_cv_env_LIBOSMORANAP_CFLAGS_set=
| ac_cv_env_LIBOSMORANAP_CFLAGS_value=
| ac_cv_env_LIBOSMORANAP_LIBS_set=
| ac_cv_env_LIBOSMORANAP_LIBS_value=
| ac_cv_env_LIBOSMOSCCP_CFLAGS_set=
| ac_cv_env_LIBOSMOSCCP_CFLAGS_value=
| ac_cv_env_LIBOSMOSCCP_LIBS_set=
| ac_cv_env_LIBOSMOSCCP_LIBS_value=
| ac_cv_env_LIBOSMOSIGTRAN_CFLAGS_set=
| ac_cv_env_LIBOSMOSIGTRAN_CFLAGS_value=
| ac_cv_env_LIBOSMOSIGTRAN_LIBS_set=
| ac_cv_env_LIBOSMOSIGTRAN_LIBS_value=
| ac_cv_env_LIBOSMOVTY_CFLAGS_set=
| ac_cv_env_LIBOSMOVTY_CFLAGS_value=
| ac_cv_env_LIBOSMOVTY_LIBS_set=
| ac_cv_env_LIBOSMOVTY_LIBS_value=
| ac_cv_env_LIBSMPP34_CFLAGS_set=
| ac_cv_env_LIBSMPP34_CFLAGS_value=
| ac_cv_env_LIBSMPP34_LIBS_set=
| ac_cv_env_LIBSMPP34_LIBS_value=
| ac_cv_env_LIBS_set=
| ac_cv_env_LIBS_value=
| ac_cv_env_PKG_CONFIG_LIBDIR_set=
| ac_cv_env_PKG_CONFIG_LIBDIR_value=
| ac_cv_env_PKG_CONFIG_PATH_set=
| ac_cv_env_PKG_CONFIG_PATH_value=
| ac_cv_env_PKG_CONFIG_set=
| ac_cv_env_PKG_CONFIG_value=
| ac_cv_env_PYTHON_set=
| ac_cv_env_PYTHON_value=
| ac_cv_env_SQLITE3_CFLAGS_set=
| ac_cv_env_SQLITE3_CFLAGS_value=
| ac_cv_env_SQLITE3_LIBS_set=
| ac_cv_env_SQLITE3_LIBS_value=
| ac_cv_env_build_alias_set=
| ac_cv_env_build_alias_value=
| ac_cv_env_host_alias_set=
| ac_cv_env_host_alias_value=
| ac_cv_env_target_alias_set=
| ac_cv_env_target_alias_value=
| ac_cv_header_cdk_cdk_h=no
| ac_cv_header_dbi_dbd_h=yes
| ac_cv_header_inttypes_h=yes
| ac_cv_header_memory_h=yes
| ac_cv_header_pcap_pcap_h=yes
| ac_cv_header_stdc=yes
| ac_cv_header_stdint_h=yes
| ac_cv_header_stdlib_h=yes
| ac_cv_header_string_h=yes
| ac_cv_header_strings_h=yes
| ac_cv_header_sys_stat_h=yes
| ac_cv_header_sys_types_h=yes
| ac_cv_header_unistd_h=yes
| ac_cv_objext=o
| ac_cv_path_EGREP='/bin/grep -E'
| ac_cv_path_GREP=/bin/grep
| ac_cv_path_PKG_CONFIG_INSTALLED=/usr/bin/pkg-config
| ac_cv_path_ac_pt_PKG_CONFIG=/usr/bin/pkg-config
| ac_cv_path_install='/usr/bin/install -c'
| ac_cv_path_mkdir=/bin/mkdir
| ac_cv_prog_AWK=mawk
| ac_cv_prog_CPP='gcc -E'
| ac_cv_prog_ac_ct_CC=gcc
| ac_cv_prog_ac_ct_RANLIB=ranlib
| ac_cv_prog_cc_c89=
| ac_cv_prog_cc_g=yes
| ac_cv_prog_make_make_set=yes
| ac_cv_search_dlopen=-ldl
| am_cv_CC_dependencies_compiler_type=gcc3
| am_cv_make_support_nested_variables=yes
| am_cv_prog_cc_c_o=yes
| ax_cv_check_cflags___Werror_implicit=yes
| ax_cv_check_cflags___Werror_maybe_uninitialized=yes
| ax_cv_check_cflags___Werror_memset_transposed_args=yes
| ax_cv_check_cflags___Werror_null_dereference=no
| ax_cv_check_cflags___Werror_sizeof_array_argument=yes
| ax_cv_check_cflags___Werror_sizeof_pointer_memaccess=yes
| osmo_cv_tm_includes_tm_gmtoff=yes
| pkg_cv_LIBASN1C_CFLAGS='-I/usr/local/include/ -I/usr/local/include/asn1c'
| pkg_cv_LIBASN1C_LIBS='-L/usr/local/lib -ltalloc -lasn1c'
| pkg_cv_LIBCARES_CFLAGS=
| pkg_cv_LIBCARES_LIBS=-lcares
| pkg_cv_LIBCRYPTO_CFLAGS=
| pkg_cv_LIBCRYPTO_LIBS=-lcrypto
| pkg_cv_LIBGTP_CFLAGS=-I/usr/local/include/
| pkg_cv_LIBGTP_LIBS='-L/usr/local/lib -lgtp'
| pkg_cv_LIBOSMOABIS_CFLAGS=-I/usr/local/include/
| pkg_cv_LIBOSMOABIS_LIBS='-L/usr/local/lib -losmoabis'
| pkg_cv_LIBOSMOCORE_CFLAGS=-I/usr/local/include/
| pkg_cv_LIBOSMOCORE_LIBS='-L/usr/local/lib -ltalloc -losmocore'
| pkg_cv_LIBOSMOCTRL_CFLAGS=-I/usr/local/include/
| pkg_cv_LIBOSMOCTRL_LIBS='-L/usr/local/lib -ltalloc -losmoctrl -losmogsm
-losmocore'
| pkg_cv_LIBOSMOGB_CFLAGS='-fno-strict-aliasing -I/usr/local/include/'
| pkg_cv_LIBOSMOGB_LIBS='-L/usr/local/lib -ltalloc -losmogb -losmovty
-losmocore'
| pkg_cv_LIBOSMOGSM_CFLAGS=-I/usr/local/include/
| pkg_cv_LIBOSMOGSM_LIBS='-L/usr/local/lib -ltalloc -losmogsm -losmocore'
| pkg_cv_LIBOSMONETIF_CFLAGS=-I/usr/local/include/
| pkg_cv_LIBOSMONETIF_LIBS='-L/usr/local/lib -losmonetif'
| pkg_cv_LIBOSMORANAP_CFLAGS=-I/usr/local/include/
| pkg_cv_LIBOSMORANAP_LIBS='-L/usr/local/lib -losmo-ranap'
| pkg_cv_LIBOSMOSCCP_CFLAGS=-I/usr/local/include/
| pkg_cv_LIBOSMOSCCP_LIBS='-L/usr/local/lib -lsccp'
| pkg_cv_LIBOSMOSIGTRAN_CFLAGS=-I/usr/local/include/
| pkg_cv_LIBOSMOSIGTRAN_LIBS='-L/usr/local/lib -losmo-sigtran'
| pkg_cv_LIBOSMOVTY_CFLAGS=-I/usr/local/include/
| pkg_cv_LIBOSMOVTY_LIBS='-L/usr/local/lib -ltalloc -losmovty -losmocore'
| pkg_cv_LIBSMPP34_CFLAGS=-I/usr/local/include/
| pkg_cv_LIBSMPP34_LIBS='-L/usr/local/lib -lsmpp34'
| pkg_cv_SQLITE3_CFLAGS=
| pkg_cv_SQLITE3_LIBS=-lsqlite3
|
| ## ----------------- ##
| ## Output variables. ##
| ## ----------------- ##
|
| ACLOCAL='${SHELL}
/home/hacksmith/3G/3G-config-example/build/openbsc/openbsc/missing aclocal-1.15'
| AMDEPBACKSLASH=''
| AMDEP_FALSE='#'
| AMDEP_TRUE=''
| AMTAR='$${TAR-tar}'
| AM_BACKSLASH=''
| AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
| AM_DEFAULT_VERBOSITY='0'
| AM_V='$(V)'
| AUTOCONF='${SHELL}
/home/hacksmith/3G/3G-config-example/build/openbsc/openbsc/missing autoconf'
| AUTOHEADER='${SHELL}
/home/hacksmith/3G/3G-config-example/build/openbsc/openbsc/missing autoheader'
| AUTOMAKE='${SHELL}
/home/hacksmith/3G/3G-config-example/build/openbsc/openbsc/missing automake-1.15'
| AWK='mawk'
| BUILD_BSC_FALSE='#'
| BUILD_BSC_TRUE=''
| BUILD_IU_FALSE='#'
| BUILD_IU_TRUE=''
| BUILD_MGCP_TRANSCODING_FALSE=''
| BUILD_MGCP_TRANSCODING_TRUE='#'
| BUILD_NAT_FALSE='#'
| BUILD_NAT_TRUE=''
| BUILD_SMPP_FALSE='#'
| BUILD_SMPP_TRUE=''
| CC='gcc'
| CCDEPMODE='depmode=gcc3'
| CFLAGS='-g -O2 -Werror=implicit -Werror=maybe-uninitialized
-Werror=memset-transposed-args -Werror=sizeof-array-argument -Werror=sizeof-pointer-memaccess'
| COVERAGE_CFLAGS=''
| COVERAGE_LDFLAGS=''
| CPP='gcc -E'
| CPPFLAGS=''
| CYGPATH_W='echo'
| DEFS='-DHAVE_CONFIG_H'
| DEPDIR='.deps'
| ECHO_C=''
| ECHO_N='-n'
| ECHO_T=''
| EGREP='/bin/grep -E'
| ENABLE_EXT_TESTS_FALSE=''
| ENABLE_EXT_TESTS_TRUE='#'
| EXEEXT=''
| GREP='/bin/grep'
| HAVE_LIBCARES_FALSE='#'
| HAVE_LIBCARES_TRUE=''
| HAVE_LIBCDK_FALSE=''
| HAVE_LIBCDK_TRUE='#'
| HAVE_LIBGTP_FALSE='#'
| HAVE_LIBGTP_TRUE=''
| HAVE_PCAP_FALSE='#'
| HAVE_PCAP_TRUE=''
| HAVE_SQLITE3_FALSE='#'
| HAVE_SQLITE3_TRUE=''
| INSTALL_DATA='${INSTALL} -m 644'
| INSTALL_PROGRAM='${INSTALL}'
| INSTALL_SCRIPT='${INSTALL}'
| INSTALL_STRIP_PROGRAM='$(install_sh) -c -s'
| LDFLAGS=''
| LIBASN1C_CFLAGS='-I/usr/local/include/ -I/usr/local/include/asn1c'
| LIBASN1C_LIBS='-L/usr/local/lib -ltalloc -lasn1c'
| LIBBCG729_CFLAGS=''
| LIBBCG729_LIBS=''
| LIBCARES_CFLAGS=''
| LIBCARES_LIBS='-lcares'
| LIBCRYPTO_CFLAGS=''
| LIBCRYPTO_LIBS='-lcrypto'
| LIBGTP_CFLAGS='-I/usr/local/include/'
| LIBGTP_LIBS='-L/usr/local/lib -lgtp'
| LIBOBJS=''
| LIBOSMOABIS_CFLAGS='-I/usr/local/include/'
| LIBOSMOABIS_LIBS='-L/usr/local/lib -losmoabis'
| LIBOSMOCORE_CFLAGS='-I/usr/local/include/'
| LIBOSMOCORE_LIBS='-L/usr/local/lib -ltalloc -losmocore'
| LIBOSMOCTRL_CFLAGS='-I/usr/local/include/'
| LIBOSMOCTRL_LIBS='-L/usr/local/lib -ltalloc -losmoctrl -losmogsm
-losmocore'
| LIBOSMOGB_CFLAGS='-fno-strict-aliasing -I/usr/local/include/'
| LIBOSMOGB_LIBS='-L/usr/local/lib -ltalloc -losmogb -losmovty -losmocore'
| LIBOSMOGSM_CFLAGS='-I/usr/local/include/'
| LIBOSMOGSM_LIBS='-L/usr/local/lib -ltalloc -losmogsm -losmocore'
| LIBOSMONETIF_CFLAGS='-I/usr/local/include/'
| LIBOSMONETIF_LIBS='-L/usr/local/lib -losmonetif'
| LIBOSMORANAP_CFLAGS='-I/usr/local/include/'
| LIBOSMORANAP_LIBS='-L/usr/local/lib -losmo-ranap'
| LIBOSMOSCCP_CFLAGS='-I/usr/local/include/'
| LIBOSMOSCCP_LIBS='-L/usr/local/lib -lsccp'
| LIBOSMOSIGTRAN_CFLAGS='-I/usr/local/include/'
| LIBOSMOSIGTRAN_LIBS='-L/usr/local/lib -losmo-sigtran'
| LIBOSMOVTY_CFLAGS='-I/usr/local/include/'
| LIBOSMOVTY_LIBS='-L/usr/local/lib -ltalloc -losmovty -losmocore'
| LIBRARY_DL='-ldl '
| LIBRARY_GSM=''
| LIBS=''
| LIBSMPP34_CFLAGS='-I/usr/local/include/'
| LIBSMPP34_LIBS='-L/usr/local/lib -lsmpp34'
| LTLIBOBJS=''
| MAKEINFO='${SHELL}
/home/hacksmith/3G/3G-config-example/build/openbsc/openbsc/missing makeinfo'
| MKDIR_P='/bin/mkdir -p'
| OBJEXT='o'
| OSMOTESTEXT_CHECK=''
| PACKAGE='openbsc'
| PACKAGE_BUGREPORT='openbsc@lists.osmocom.org'
| PACKAGE_NAME='openbsc'
| PACKAGE_STRING='openbsc 0.15.0.776-3824'
| PACKAGE_TARNAME='openbsc'
| PACKAGE_URL=''
| PACKAGE_VERSION='0.15.0.776-3824'
| PATH_SEPARATOR=':'
| PKG_CONFIG='/usr/bin/pkg-config'
| PKG_CONFIG_INSTALLED='/usr/bin/pkg-config'
| PKG_CONFIG_LIBDIR=''
| PKG_CONFIG_PATH=''
| PYTHON=''
| PYTHON_EXEC_PREFIX=''
| PYTHON_PLATFORM=''
| PYTHON_PREFIX=''
| PYTHON_VERSION=''
| RANLIB='ranlib'
| SET_MAKE=''
| SHELL='/bin/bash'
| SQLITE3_CFLAGS=''
| SQLITE3_LIBS='-lsqlite3'
| STRIP=''
| SYMBOL_VISIBILITY='-fvisibility=hidden'
| VERSION='0.15.0.776-3824'
| ac_ct_CC='gcc'
| am__EXEEXT_FALSE=''
| am__EXEEXT_TRUE='#'
| am__fastdepCC_FALSE='#'
| am__fastdepCC_TRUE=''
| am__include='include'
| am__isrc=''
| am__leading_dot='.'
| am__nodep='_no'
| am__quote=''
| am__tar='$${TAR-tar} chof - "$$tardir"'
| am__untar='$${TAR-tar} xf -'
| bindir='${exec_prefix}/bin'
| build_alias=''
| datadir='${datarootdir}'
| datarootdir='${prefix}/share'
| docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
| dvidir='${docdir}'
| exec_prefix='${prefix}'
| found_libcares='yes'
| found_libgtp='yes'
| found_libgtp_and_libcares='yes'
| found_sqlite3='yes'
| host_alias=''
| htmldir='${docdir}'
| includedir='${prefix}/include'
| infodir='${datarootdir}/info'
| install_sh='${SHELL}
/home/hacksmith/3G/3G-config-example/build/openbsc/openbsc/install-sh'
| libdir='${exec_prefix}/lib'
| libexecdir='${exec_prefix}/libexec'
| localedir='${datarootdir}/locale'
| localstatedir='${prefix}/var'
| mandir='${datarootdir}/man'
| mkdir_p='$(MKDIR_P)'
| oldincludedir='/usr/include'
| osmo_ac_build_bsc='yes'
| osmo_ac_build_nat='yes'
| osmo_ac_build_smpp='yes'
| osmo_ac_iu='yes'
| osmo_ac_mgcp_transcoding='no'
| pdfdir='${docdir}'
| pkgpyexecdir=''
## ----------------------------------- ##
## openbsc 0.15.0.776-3824 test suite. ##
## ----------------------------------- ##
testsuite: command line was:
$ ./testsuite
## --------- ##
## Platform. ##
## --------- ##
hostname = ubuntu
uname -m = x86_64
uname -r = 4.15.0-36-generic
uname -s = Linux
uname -v = #39~16.04.1-Ubuntu SMP Tue Sep 25 08:59:23 UTC 2018
/usr/bin/uname -p = unknown
/bin/uname -X = unknown
/bin/arch = unknown
/usr/bin/arch -k = unknown
/usr/convex/getsysinfo = unknown
/usr/bin/hostinfo = unknown
/bin/machine = unknown
/usr/bin/oslevel = unknown
/bin/universe = unknown
PATH: /home/hacksmith/3G/3G-config-example/build/openbsc/openbsc/tests
PATH: /usr/local/sbin
PATH: /usr/local/bin
PATH: /usr/sbin
PATH: /usr/bin
PATH: /sbin
PATH: /bin
PATH: /usr/games
PATH: /usr/local/games
testsuite: atconfig:
| # Configurable variable values for building test suites.
| # Generated by ./config.status.
| # Copyright (C) 2012 Free Software Foundation, Inc.
|
| # The test suite will define top_srcdir=/../.. etc.
| at_testdir='tests'
|
abs_builddir='/home/hacksmith/3G/3G-config-example/build/openbsc/openbsc/tests'
"tests/testsuite.log" 11793L, 778307C
1,1 顶端| osmo_ac_mgcp_transcoding='no'
| pdfdir='${docdir}'
| pkgpyexecdir=''
| pkgpythondir=''
| prefix='/usr/local'
| program_transform_name='s,x,x,'
| psdir='${docdir}'
| pyexecdir=''
| pythondir=''
| runstatedir='${localstatedir}/run'
| sbindir='${exec_prefix}/sbin'
| sharedstatedir='${prefix}/com'
| sysconfdir='${prefix}/etc'
| target_alias=''
|
| ## ----------- ##
| ## confdefs.h. ##
| ## ----------- ##
|
| /* confdefs.h */
| #define PACKAGE_NAME "openbsc"
| #define PACKAGE_TARNAME "openbsc"
| #define PACKAGE_VERSION "0.15.0.776-3824"
| #define PACKAGE_STRING "openbsc 0.15.0.776-3824"
| #define PACKAGE_BUGREPORT "openbsc@lists.osmocom.org"
| #define PACKAGE_URL ""
| #define PACKAGE "openbsc"
| #define VERSION "0.15.0.776-3824"
| #define BUILD_SMPP 1
| #define BUILD_IU 1
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_DBI_DBD_H 1
| #define HAVE_PCAP_PCAP_H 1
| #define HAVE_TM_GMTOFF_IN_TM 1
|
| configure: exit 0
11754,1 底端| pkgpythondir=''
| prefix='/usr/local'
| program_transform_name='s,x,x,'
| psdir='${docdir}'
| pyexecdir=''
| pythondir=''
| runstatedir='${localstatedir}/run'
| sbindir='${exec_prefix}/sbin'
| sharedstatedir='${prefix}/com'
| sysconfdir='${prefix}/etc'
| target_alias=''
|
| ## ----------- ##
| ## confdefs.h. ##
| ## ----------- ##
|
| /* confdefs.h */
| #define PACKAGE_NAME "openbsc"
| #define PACKAGE_TARNAME "openbsc"
| #define PACKAGE_VERSION "0.15.0.776-3824"
| #define PACKAGE_STRING "openbsc 0.15.0.776-3824"
| #define PACKAGE_BUGREPORT "openbsc@lists.osmocom.org"
| #define PACKAGE_URL ""
| #define PACKAGE "openbsc"
| #define VERSION "0.15.0.776-3824"
| #define BUILD_SMPP 1
| #define BUILD_IU 1
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_DBI_DBD_H 1
| #define HAVE_PCAP_PCAP_H 1
| #define HAVE_TM_GMTOFF_IN_TM 1
|
| configure: exit 0
root@ubuntu:/home/hacksmith/3G/3G-config-example/build/openbsc/openbsc# ls -la tests/testsuite.log
-rw-r--r-- 1 root root 778307 10月 25 23:53 tests/testsuite.log
root@ubuntu:/home/hacksmith/3G/3G-config-example/build/openbsc/openbsc#
vim tests/testsuite.log
root@ubuntu:/home/hacksmith/3G/3G-config-example/build/openbsc/openbsc#
cat tests/testsuite.log |more
## ----------------------------------- ##
## openbsc 0.15.0.776-3824 test suite. ##
## ----------------------------------- ##
testsuite: command line was:
$ ./testsuite
## --------- ##
## Platform. ##
## --------- ##
hostname = ubuntu
uname -m = x86_64
uname -r = 4.15.0-36-generic
uname -s = Linux
uname -v = #39~16.04.1-Ubuntu SMP Tue Sep 25 08:59:23 UTC 2018
/usr/bin/uname -p = unknown
/bin/uname -X = unknown
/bin/arch = unknown
/usr/bin/arch -k = unknown
/usr/convex/getsysinfo = unknown
/usr/bin/hostinfo = unknown
/bin/machine = unknown
/usr/bin/oslevel = unknown
/bin/universe = unknown
PATH: /home/hacksmith/3G/3G-config-example/build/openbsc/openbsc/tests
PATH: /usr/local/sbin
PATH: /usr/local/bin
PATH: /usr/sbin
PATH: /usr/bin
PATH: /sbin
PATH: /bin
PATH: /usr/games
PATH: /usr/local/games
testsuite: atconfig:
| # Configurable variable values for building test suites.
| # Generated by ./config.status.
| # Copyright (C) 2012 Free Software Foundation, Inc.
|
| # The test suite will define top_srcdir=/../.. etc.
| at_testdir='tests'
|
abs_builddir='/home/hacksmith/3G/3G-config-example/build/openbsc/openbsc/tests'
| at_srcdir='.'
|
abs_srcdir='/home/hacksmith/3G/3G-config-example/build/openbsc/openbsc/tests'
| at_top_srcdir='..'
|
abs_top_srcdir='/home/hacksmith/3G/3G-config-example/build/openbsc/openbsc'
| at_top_build_prefix='../'
|
abs_top_builddir='/home/hacksmith/3G/3G-config-example/build/openbsc/openbsc'
|
| # Backward compatibility with Autotest <= 2.59b:
| at_top_builddir=$at_top_build_prefix
|
| AUTOTEST_PATH='tests'
|
| SHELL=${CONFIG_SHELL-'/bin/bash'}
testsuite: atlocal:
| enable_nat_test='yes'
| enable_smpp_test='yes'
| enable_bsc_test='yes'
| enable_mgcp_transcoding_test='no'
| enable_sgsn_test='yes'
| enable_oap_test='yes'
| enable_gtphub_test='yes'
## ---------------- ##
## Tested programs. ##
## ---------------- ##
## ------------------ ##
## Running the tests. ##
## ------------------ ##
testsuite: starting at: Thu Oct 25 23:53:55 PDT 2018
gsm0408 (testsuite.at:4): ok (0m0.344s 0m0.000s)
bsc_subscr (testsuite.at:10): ok (0m0.005s 0m0.001s)
channel (testsuite.at:17): ok (0m0.005s 0m0.001s)
mgcp (testsuite.at:23): ok (0m0.002s 0m0.007s)
mgcp-trans (testsuite.at:29): skipped (testsuite.at:31)
mgcpgw_client (testsuite.at:36): ok (0m0.006s 0m0.001s)
gprs (testsuite.at:43): ok (0m0.003s 0m0.000s)
bsc-nat (testsuite.at:49): ok (0m0.009s 0m0.004s)
smpp (testsuite.at:59): ok (0m0.003s 0m0.003s)
bsc-nat-trie (testsuite.at:67): ok (0m0.006s 0m0.001s)
abis (testsuite.at:75): ok (0m0.002s 0m0.003s)
bsc (testsuite.at:81): ok (0m0.006s 0m0.000s)
trau (testsuite.at:94): ok (0m0.005s 0m0.000s)
oap (testsuite.at:107): ok (0m0.003s 0m0.003s)
gtphub (testsuite.at:115): ok (0m0.003s 0m0.006s)
mm_auth (testsuite.at:122): ok (0m0.006s 0m0.000s)
xid (testsuite.at:128): ok (0m0.006s 0m0.001s)
sndcp_xid (testsuite.at:135): ok (0m0.006s 0m0.000s)
slhc (testsuite.at:142): ok (0m0.004s 0m0.001s)
v42bis (testsuite.at:149): ok (0m0.009s 0m0.001s)
nanobts_omlattr (testsuite.at:156): ok (0m0.006s 0m0.000s)
sms_queue_test (testsuite.at:162): ok (0m0.005s 0m0.001s)
testsuite: ending at: Thu Oct 25 23:53:57 PDT 2018
testsuite: test suite duration: 0h 0m 2s
## ------------- ##
## Test results. ##
## ------------- ##
ERROR: 32 tests were run,
11 failed unexpectedly.
1 test was skipped.
## ------------------------ ##
## Summary of the failures. ##
## ------------------------ ##
Failed tests:
openbsc 0.15.0.776-3824 test suite test groups:
NUM: FILE-NAME:LINE TEST-GROUP-NAME
KEYWORDS13: testsuite.at:88 gbproxy
gbproxy15: testsuite.at:100 sgsn
sgsn25: testsuite.at:169 msc_vlr_test_no_authen
msc_vlr_test_no_authen26: testsuite.at:176 msc_vlr_test_gsm_authen
msc_vlr_test_gsm_authen27: testsuite.at:183 msc_vlr_test_gsm_ciph
msc_vlr_test_gsm_ciph28: testsuite.at:190 msc_vlr_test_umts_authen
msc_vlr_test_umts_authen29: testsuite.at:197 msc_vlr_test_hlr_reject
msc_vlr_test_hlr_reject30: testsuite.at:204 msc_vlr_test_hlr_timeout
msc_vlr_test_hlr_timeout31: testsuite.at:211 msc_vlr_test_ms_timeout
msc_vlr_test_ms_timeout32: testsuite.at:218 msc_vlr_test_reject_concurrency
msc_vlr_test_reject_concurrency33: testsuite.at:225 msc_vlr_test_rest
msc_vlr_test_restSkipped tests:
openbsc 0.15.0.776-3824 test suite test groups:
NUM: FILE-NAME:LINE TEST-GROUP-NAME
KEYWORDS5: testsuite.at:29 mgcp-trans
mgcp-trans
I am apologize for put error testsuite.log info, already send a new email with userfull info just now. Withdraw this email please. Thanks!
雪碧 0xroot renxianyuanqi@gmail.com 于2018年10月26日周五 下午3:10写道:
Dear all, When I build osmocom 3G [ https://osmocom.org/projects/cellular-infrastructure/wiki/Getting_Started_wi...] , openbsc branch:vlr_3g make check failed :
ERROR: 32 tests were run,
11 failed unexpectedly. 1 test was skipped.
Clone and build with 3G-config-example from: script: 3G-config-example.tar https://osmocom.org/attachments/2726/3G-config-example.tar
Anybody can help me fix it?
Thanks!
雪碧0xroot <renxianyuanqi@gmail.com> https:// cn0xroot.com
more info from openbsc's testsuite.log :
| | #define PACKAGE_BUGREPORT "openbsc@lists.osmocom.org"
| | #define PACKAGE_URL ""
| | #define PACKAGE "openbsc"
| | #define VERSION "0.15.0.776-3824"
| | #define BUILD_SMPP 1
| | #define BUILD_IU 1
| | /* end confdefs.h. */
| | #include <ac_nonexistent.h>
| configure:6147: result: gcc -E
| configure:6167: gcc -E conftest.c
| configure:6167: $? = 0
| configure:6181: gcc -E conftest.c
| conftest.c:13:28: fatal error: ac_nonexistent.h: No such file or
directory
| compilation terminated.
| configure:6181: $? = 1
| configure: failed program was:
| | /* confdefs.h */
| | #define PACKAGE_NAME "openbsc"
| | #define PACKAGE_TARNAME "openbsc"
| | #define PACKAGE_VERSION "0.15.0.776-3824"
| | #define PACKAGE_STRING "openbsc 0.15.0.776-3824"
| | #define PACKAGE_BUGREPORT "openbsc@lists.osmocom.org"
| | #define PACKAGE_URL ""
| | #define PACKAGE "openbsc"
| | #define VERSION "0.15.0.776-3824"
| | #define BUILD_SMPP 1
| | #define BUILD_IU 1
| | /* end confdefs.h. */
| | #include <ac_nonexistent.h>
| configure:6210: checking for grep that handles long lines and -e
| configure:6268: result: /bin/grep
| configure:6273: checking for egrep
| configure:6335: result: /bin/grep -E
| configure:6340: checking for ANSI C header files
| configure:6360: gcc -c -g -O2 conftest.c >&5
| configure:6360: $? = 0
| configure:6433: gcc -o conftest -g -O2 conftest.c >&5
| configure:6433: $? = 0
| configure:6433: ./conftest
| configure:6433: $? = 0
| configure:6444: result: yes
| configure:6457: checking for sys/types.h
| configure:6457: gcc -c -g -O2 conftest.c >&5
| configure:6457: $? = 0
| configure:6457: result: yes
| configure:6457: checking for sys/stat.h
| configure:6457: gcc -c -g -O2 conftest.c >&5
| configure:6457: $? = 0
| configure:6457: result: yes
| configure:6457: checking for stdlib.h
| configure:6457: gcc -c -g -O2 conftest.c >&5
| configure:6457: $? = 0
| configure:6457: result: yes
| configure:6457: checking for string.h
| configure:6457: gcc -c -g -O2 conftest.c >&5
| configure:6457: $? = 0
| configure:6457: result: yes
| configure:6457: checking for memory.h
| configure:6457: gcc -c -g -O2 conftest.c >&5
| configure:6457: $? = 0
| configure:6457: result: yes
| configure:6457: checking for strings.h
| configure:6457: gcc -c -g -O2 conftest.c >&5
| configure:6457: $? = 0
| configure:6457: result: yes
| configure:6457: checking for inttypes.h
| configure:6457: gcc -c -g -O2 conftest.c >&5
| configure:6457: $? = 0
| configure:6457: result: yes
| configure:6457: checking for stdint.h
| configure:6457: gcc -c -g -O2 conftest.c >&5
| configure:6457: $? = 0
| configure:6457: result: yes
| configure:6457: checking for unistd.h
| configure:6457: gcc -c -g -O2 conftest.c >&5
| configure:6457: $? = 0
| configure:6457: result: yes
| configure:6471: checking dbi/dbd.h usability
| configure:6471: gcc -c -g -O2 conftest.c >&5
| configure:6471: $? = 0
| configure:6471: result: yes
| configure:6471: checking dbi/dbd.h presence
| configure:6471: gcc -E conftest.c
| configure:6471: $? = 0
| configure:6471: result: yes
| configure:6471: checking for dbi/dbd.h
| configure:6471: result: yes
| configure:6487: checking pcap/pcap.h usability
| configure:6487: gcc -c -g -O2 conftest.c >&5
| configure:6487: $? = 0
| configure:6487: result: yes
| configure:6487: checking pcap/pcap.h presence
| configure:6487: gcc -E conftest.c
| configure:6487: $? = 0
| configure:6487: result: yes
| configure:6487: checking for pcap/pcap.h
| configure:6487: result: yes
| configure:6511: checking cdk/cdk.h usability
| configure:6511: gcc -c -g -O2 conftest.c >&5
| conftest.c:58:21: fatal error: cdk/cdk.h: No such file or directory
| compilation terminated.
| configure:6511: $? = 1
| configure: failed program was:
| | /* confdefs.h */
| | #define PACKAGE_NAME "openbsc"
| | #define PACKAGE_TARNAME "openbsc"
| | #define PACKAGE_VERSION "0.15.0.776-3824"
| | #define PACKAGE_STRING "openbsc 0.15.0.776-3824"
| | #define PACKAGE_BUGREPORT "openbsc@lists.osmocom.org"
| | #define PACKAGE_URL ""
| | #define PACKAGE "openbsc"
| | #define VERSION "0.15.0.776-3824"
| | #define BUILD_SMPP 1
| | #define BUILD_IU 1
| | #define STDC_HEADERS 1
| | #define HAVE_SYS_TYPES_H 1
| | #define HAVE_SYS_STAT_H 1
| | #define HAVE_STDLIB_H 1
| | #define HAVE_STRING_H 1
| | #define HAVE_MEMORY_H 1
| | #define HAVE_STRINGS_H 1
| | #define HAVE_INTTYPES_H 1
| | #define HAVE_STDINT_H 1
| | #define HAVE_UNISTD_H 1
| | #define HAVE_DBI_DBD_H 1
| | #define HAVE_PCAP_PCAP_H 1
| | /* end confdefs.h. */
| | #include <stdio.h>
| | #ifdef HAVE_SYS_TYPES_H
| | # include <sys/types.h>
| | #endif
| | #ifdef HAVE_SYS_STAT_H
| | # include <sys/stat.h>
| | #endif
| | #ifdef STDC_HEADERS
| | # include <stdlib.h>
| | # include <stddef.h>
| | #else
| | # ifdef HAVE_STDLIB_H
| | # include <stdlib.h>
| | # endif
| | #endif
| | #ifdef HAVE_STRING_H
| | # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
| | # include <memory.h>
| | # endif
| | # include <string.h>
| | #endif
| | #ifdef HAVE_STRINGS_H
| | # include <strings.h>
| | #endif
| | #ifdef HAVE_INTTYPES_H
| | # include <inttypes.h>
| | #endif
| | #ifdef HAVE_STDINT_H
| | # include <stdint.h>
| | #endif
| | #ifdef HAVE_UNISTD_H
| | # include <unistd.h>
| | #endif
| | #include <cdk/cdk.h>
| configure:6511: result: no
| configure:6511: checking cdk/cdk.h presence
| configure:6511: gcc -E conftest.c
| conftest.c:25:21: fatal error: cdk/cdk.h: No such file or directory
| compilation terminated.
| configure:6511: $? = 1
| configure: failed program was:
| | /* confdefs.h */
| | #define PACKAGE_NAME "openbsc"
| | #define PACKAGE_TARNAME "openbsc"
| | #define PACKAGE_VERSION "0.15.0.776-3824"
| | #define PACKAGE_STRING "openbsc 0.15.0.776-3824"
| | #define PACKAGE_BUGREPORT "openbsc@lists.osmocom.org"
| | #define PACKAGE_URL ""
| | #define PACKAGE "openbsc"
| | #define VERSION "0.15.0.776-3824"
| | #define BUILD_SMPP 1
| | #define BUILD_IU 1
| | #define STDC_HEADERS 1
| | #define HAVE_SYS_TYPES_H 1
| | #define HAVE_SYS_STAT_H 1
| | #define HAVE_STDLIB_H 1
| | #define HAVE_STRING_H 1
| | #define HAVE_MEMORY_H 1
| | #define HAVE_STRINGS_H 1
| | #define HAVE_INTTYPES_H 1
| | #define HAVE_STDINT_H 1
| | #define HAVE_UNISTD_H 1
| | #define HAVE_DBI_DBD_H 1
| | #define HAVE_PCAP_PCAP_H 1
| | /* end confdefs.h. */
| | #include <cdk/cdk.h>
| configure:6511: result: no
| configure:6511: checking for cdk/cdk.h
| configure:6511: result: no
| configure:6535: checking for SQLITE3
| configure:6542: $PKG_CONFIG --exists --print-errors "sqlite3"
| configure:6545: $? = 0
| configure:6559: $PKG_CONFIG --exists --print-errors "sqlite3"
| configure:6562: $? = 0
| configure:6600: result: yes
| configure:6619: checking if gcc supports -fvisibility=hidden
| configure:6625: gcc -c -g -O2 -fvisibility=hidden conftest.c >&5
| configure:6625: $? = 0
| configure:6626: result: yes
| configure:6637: checking whether C compiler accepts -Werror=implicit
| configure:6656: gcc -c -g -O2 -Werror=implicit conftest.c >&5
| configure:6656: $? = 0
| configure:6664: result: yes
| configure:6672: checking whether C compiler accepts
-Werror=maybe-uninitialized
| configure:6691: gcc -c -g -O2 -Werror=implicit
-Werror=maybe-uninitialized conftest.c >&5
| configure:6691: $? = 0
| configure:6699: result: yes
| configure:6707: checking whether C compiler accepts
-Werror=memset-transposed-args
| configure:6726: gcc -c -g -O2 -Werror=implicit
-Werror=maybe-uninitialized -Werror=memset-transposed-args conftest.c >&5
| configure:6726: $? = 0
| configure:6734: result: yes
| configure:6742: checking whether C compiler accepts
-Werror=null-dereference
| configure:6761: gcc -c -g -O2 -Werror=implicit
-Werror=maybe-uninitialized -Werror=memset-transposed-args -Werror=null-dereference conftest.c >&5
| cc1: error: -Werror=null-dereference: no option -Wnull-dereference
| configure:6761: $? = 1
| configure: failed program was:
| | /* confdefs.h */
| | #define PACKAGE_NAME "openbsc"
| | #define PACKAGE_TARNAME "openbsc"
| | #define PACKAGE_VERSION "0.15.0.776-3824"
| | #define PACKAGE_STRING "openbsc 0.15.0.776-3824"
| | #define PACKAGE_BUGREPORT "openbsc@lists.osmocom.org"
| | #define PACKAGE_URL ""
| | #define PACKAGE "openbsc"
| | #define VERSION "0.15.0.776-3824"
| | #define BUILD_SMPP 1
| | #define BUILD_IU 1
| | #define STDC_HEADERS 1
| | #define HAVE_SYS_TYPES_H 1
| | #define HAVE_SYS_STAT_H 1
| | #define HAVE_STDLIB_H 1
| | #define HAVE_STRING_H 1
| | #define HAVE_MEMORY_H 1
| | #define HAVE_STRINGS_H 1
| | #define HAVE_INTTYPES_H 1
| | #define HAVE_STDINT_H 1
| | #define HAVE_UNISTD_H 1
| | #define HAVE_DBI_DBD_H 1
| | #define HAVE_PCAP_PCAP_H 1
| | /* end confdefs.h. */
| |
| | int
| | main ()
| | {
| |
| | ;
| | return 0;
| | }
| configure:6769: result: no
| configure:6777: checking whether C compiler accepts
-Werror=sizeof-array-argument
| configure:6796: gcc -c -g -O2 -Werror=implicit
-Werror=maybe-uninitialized -Werror=memset-transposed-args -Werror=sizeof-array-argument conftest.c >&5
| configure:6796: $? = 0
| configure:6804: result: yes
| configure:6812: checking whether C compiler accepts
-Werror=sizeof-pointer-memaccess
| configure:6831: gcc -c -g -O2 -Werror=implicit
-Werror=maybe-uninitialized -Werror=memset-transposed-args -Werror=sizeof-array-argument -Werror=sizeof-pointer-memaccess conftest.c
&5
| configure:6831: $? = 0
| configure:6839: result: yes
| configure:6849: checking whether to enable code coverage support
| configure:6858: result: no
| configure:6870: checking whether struct tm has tm_gmtoff member
| configure:6894: gcc -o conftest -g -O2 -Werror=implicit
-Werror=maybe-uninitialized -Werror=memset-transposed-args -Werror=sizeof-array-argument -Werror=sizeof-pointer-memaccess conftest.c >&5
| configure:6894: $? = 0
| configure:6904: result: yes
| configure:7176: checking whether to enable VTY/CTRL tests
| configure:7178: result: no
| configure:7302: checking that generated files are newer than configure
| configure:7308: result: done
| configure:7375: creating ./config.status
|
| ## ---------------------- ##
| ## Running config.status. ##
| ## ---------------------- ##
|
| This file was extended by openbsc config.status 0.15.0.776-3824, which
was
| generated by GNU Autoconf 2.69. Invocation command line was
|
| CONFIG_FILES =
| CONFIG_HEADERS =
| CONFIG_LINKS =
| CONFIG_COMMANDS =
| $ ./config.status
|
| on ubuntu
|
| config.status:994: creating openbsc.pc
| config.status:994: creating include/openbsc/Makefile
| config.status:994: creating include/Makefile
| config.status:994: creating src/Makefile
| config.status:994: creating src/libtrau/Makefile
| config.status:994: creating src/libbsc/Makefile
| config.status:994: creating src/libmsc/Makefile
| config.status:994: creating src/libvlr/Makefile
| config.status:994: creating src/libmgcp/Makefile
| config.status:994: creating src/libcommon/Makefile
| config.status:994: creating src/libfilter/Makefile
| config.status:994: creating src/libiu/Makefile
| config.status:994: creating src/libcommon-cs/Makefile
| config.status:994: creating src/osmo-msc/Makefile
| config.status:994: creating src/osmo-bsc/Makefile
| config.status:994: creating src/osmo-bsc_nat/Makefile
| config.status:994: creating src/osmo-bsc_mgcp/Makefile
| config.status:994: creating src/ipaccess/Makefile
| config.status:994: creating src/utils/Makefile
| config.status:994: creating src/gprs/Makefile
| config.status:994: creating tests/Makefile
| config.status:994: creating tests/atlocal
| config.status:994: creating tests/libiudummy/Makefile
| config.status:994: creating tests/gsm0408/Makefile
| config.status:994: creating tests/channel/Makefile
| config.status:994: creating tests/bsc/Makefile
| config.status:994: creating tests/bsc-nat/Makefile
| config.status:994: creating tests/bsc-nat-trie/Makefile
| config.status:994: creating tests/mgcp/Makefile
| config.status:994: creating tests/gprs/Makefile
| config.status:994: creating tests/gbproxy/Makefile
| config.status:994: creating tests/abis/Makefile
| config.status:994: creating tests/smpp/Makefile
| config.status:994: creating tests/trau/Makefile
| config.status:994: creating tests/sgsn/Makefile
| config.status:994: creating tests/subscr/Makefile
| config.status:994: creating tests/oap/Makefile
| config.status:994: creating tests/gtphub/Makefile
| config.status:994: creating tests/mm_auth/Makefile
| config.status:994: creating tests/xid/Makefile
| config.status:994: creating tests/sndcp_xid/Makefile
| config.status:994: creating tests/slhc/Makefile
| config.status:994: creating tests/v42bis/Makefile
| config.status:994: creating tests/nanobts_omlattr/Makefile
| config.status:994: creating tests/vlr/Makefile
| config.status:994: creating tests/sms_queue/Makefile
| config.status:994: creating tests/msc_vlr/Makefile
| config.status:994: creating doc/Makefile
| config.status:994: creating doc/examples/Makefile
| config.status:994: creating Makefile
| config.status:994: creating bscconfig.h
| config.status:1223: executing tests/atconfig commands
| config.status:1223: executing depfiles commands
|
| ## ---------------- ##
| ## Cache variables. ##
| ## ---------------- ##
|
| ac_cv_c_compiler_gnu=yes
| ac_cv_env_CC_set=
| ac_cv_env_CC_value=
| ac_cv_env_CFLAGS_set=
| ac_cv_env_CFLAGS_value=
| ac_cv_env_CPPFLAGS_set=
| ac_cv_env_CPPFLAGS_value=
| ac_cv_env_CPP_set=
| ac_cv_env_CPP_value=
| ac_cv_env_LDFLAGS_set=
| ac_cv_env_LDFLAGS_value=
| ac_cv_env_LIBASN1C_CFLAGS_set=
| ac_cv_env_LIBASN1C_CFLAGS_value=
| ac_cv_env_LIBASN1C_LIBS_set=
| ac_cv_env_LIBASN1C_LIBS_value=
| ac_cv_env_LIBBCG729_CFLAGS_set=
| ac_cv_env_LIBBCG729_CFLAGS_value=
| ac_cv_env_LIBBCG729_LIBS_set=
| ac_cv_env_LIBBCG729_LIBS_value=
| ac_cv_env_LIBCARES_CFLAGS_set=
| ac_cv_env_LIBCARES_CFLAGS_value=
| ac_cv_env_LIBCARES_LIBS_set=
| ac_cv_env_LIBCARES_LIBS_value=
| ac_cv_env_LIBCRYPTO_CFLAGS_set=
| ac_cv_env_LIBCRYPTO_CFLAGS_value=
| ac_cv_env_LIBCRYPTO_LIBS_set=
| ac_cv_env_LIBCRYPTO_LIBS_value=
| ac_cv_env_LIBGTP_CFLAGS_set=
| ac_cv_env_LIBGTP_CFLAGS_value=
| ac_cv_env_LIBGTP_LIBS_set=
| ac_cv_env_LIBGTP_LIBS_value=
| ac_cv_env_LIBOSMOABIS_CFLAGS_set=
| ac_cv_env_LIBOSMOABIS_CFLAGS_value=
| ac_cv_env_LIBOSMOABIS_LIBS_set=
| ac_cv_env_LIBOSMOABIS_LIBS_value=
| ac_cv_env_LIBOSMOCORE_CFLAGS_set=
| ac_cv_env_LIBOSMOCORE_CFLAGS_value=
| ac_cv_env_LIBOSMOCORE_LIBS_set=
| ac_cv_env_LIBOSMOCORE_LIBS_value=
| ac_cv_env_LIBOSMOCTRL_CFLAGS_set=
| ac_cv_env_LIBOSMOCTRL_CFLAGS_value=
| ac_cv_env_LIBOSMOCTRL_LIBS_set=
| ac_cv_env_LIBOSMOCTRL_LIBS_value=
| ac_cv_env_LIBOSMOGB_CFLAGS_set=
| ac_cv_env_LIBOSMOGB_CFLAGS_value=
| ac_cv_env_LIBOSMOGB_LIBS_set=
| ac_cv_env_LIBOSMOGB_LIBS_value=
| ac_cv_env_LIBOSMOGSM_CFLAGS_set=
| ac_cv_env_LIBOSMOGSM_CFLAGS_value=
| ac_cv_env_LIBOSMOGSM_LIBS_set=
| ac_cv_env_LIBOSMOGSM_LIBS_value=
| ac_cv_env_LIBOSMONETIF_CFLAGS_set=
| ac_cv_env_LIBOSMONETIF_CFLAGS_value=
| ac_cv_env_LIBOSMONETIF_LIBS_set=
| ac_cv_env_LIBOSMONETIF_LIBS_value=
| ac_cv_env_LIBOSMORANAP_CFLAGS_set=
| ac_cv_env_LIBOSMORANAP_CFLAGS_value=
| ac_cv_env_LIBOSMORANAP_LIBS_set=
| ac_cv_env_LIBOSMORANAP_LIBS_value=
| ac_cv_env_LIBOSMOSCCP_CFLAGS_set=
| ac_cv_env_LIBOSMOSCCP_CFLAGS_value=
| ac_cv_env_LIBOSMOSCCP_LIBS_set=
| ac_cv_env_LIBOSMOSCCP_LIBS_value=
| ac_cv_env_LIBOSMOSIGTRAN_CFLAGS_set=
| ac_cv_env_LIBOSMOSIGTRAN_CFLAGS_value=
| ac_cv_env_LIBOSMOSIGTRAN_LIBS_set=
| ac_cv_env_LIBOSMOSIGTRAN_LIBS_value=
| ac_cv_env_LIBOSMOVTY_CFLAGS_set=
| ac_cv_env_LIBOSMOVTY_CFLAGS_value=
| ac_cv_env_LIBOSMOVTY_LIBS_set=
| ac_cv_env_LIBOSMOVTY_LIBS_value=
| ac_cv_env_LIBSMPP34_CFLAGS_set=
| ac_cv_env_LIBSMPP34_CFLAGS_value=
| ac_cv_env_LIBSMPP34_LIBS_set=
| ac_cv_env_LIBSMPP34_LIBS_value=
| ac_cv_env_LIBS_set=
| ac_cv_env_LIBS_value=
| ac_cv_env_PKG_CONFIG_LIBDIR_set=
| ac_cv_env_PKG_CONFIG_LIBDIR_value=
| ac_cv_env_PKG_CONFIG_PATH_set=
| ac_cv_env_PKG_CONFIG_PATH_value=
| ac_cv_env_PKG_CONFIG_set=
| ac_cv_env_PKG_CONFIG_value=
| ac_cv_env_PYTHON_set=
| ac_cv_env_PYTHON_value=
| ac_cv_env_SQLITE3_CFLAGS_set=
| ac_cv_env_SQLITE3_CFLAGS_value=
| ac_cv_env_SQLITE3_LIBS_set=
| ac_cv_env_SQLITE3_LIBS_value=
| ac_cv_env_build_alias_set=
| ac_cv_env_build_alias_value=
| ac_cv_env_host_alias_set=
| ac_cv_env_host_alias_value=
| ac_cv_env_target_alias_set=
| ac_cv_env_target_alias_value=
| ac_cv_header_cdk_cdk_h=no
| ac_cv_header_dbi_dbd_h=yes
| ac_cv_header_inttypes_h=yes
| ac_cv_header_memory_h=yes
| ac_cv_header_pcap_pcap_h=yes
| ac_cv_header_stdc=yes
| ac_cv_header_stdint_h=yes
| ac_cv_header_stdlib_h=yes
| ac_cv_header_string_h=yes
| ac_cv_header_strings_h=yes
| ac_cv_header_sys_stat_h=yes
| ac_cv_header_sys_types_h=yes
| ac_cv_header_unistd_h=yes
| ac_cv_objext=o
| ac_cv_path_EGREP='/bin/grep -E'
| ac_cv_path_GREP=/bin/grep
| ac_cv_path_PKG_CONFIG_INSTALLED=/usr/bin/pkg-config
| ac_cv_path_ac_pt_PKG_CONFIG=/usr/bin/pkg-config
| ac_cv_path_install='/usr/bin/install -c'
| ac_cv_path_mkdir=/bin/mkdir
| ac_cv_prog_AWK=mawk
| ac_cv_prog_CPP='gcc -E'
| ac_cv_prog_ac_ct_CC=gcc
| ac_cv_prog_ac_ct_RANLIB=ranlib
| ac_cv_prog_cc_c89=
| ac_cv_prog_cc_g=yes
| ac_cv_prog_make_make_set=yes
| ac_cv_search_dlopen=-ldl
| am_cv_CC_dependencies_compiler_type=gcc3
| am_cv_make_support_nested_variables=yes
| am_cv_prog_cc_c_o=yes
| ax_cv_check_cflags___Werror_implicit=yes
| ax_cv_check_cflags___Werror_maybe_uninitialized=yes
| ax_cv_check_cflags___Werror_memset_transposed_args=yes
| ax_cv_check_cflags___Werror_null_dereference=no
| ax_cv_check_cflags___Werror_sizeof_array_argument=yes
| ax_cv_check_cflags___Werror_sizeof_pointer_memaccess=yes
| osmo_cv_tm_includes_tm_gmtoff=yes
| pkg_cv_LIBASN1C_CFLAGS='-I/usr/local/include/
-I/usr/local/include/asn1c'
| pkg_cv_LIBASN1C_LIBS='-L/usr/local/lib -ltalloc -lasn1c'
| pkg_cv_LIBCARES_CFLAGS=
| pkg_cv_LIBCARES_LIBS=-lcares
| pkg_cv_LIBCRYPTO_CFLAGS=
| pkg_cv_LIBCRYPTO_LIBS=-lcrypto
| pkg_cv_LIBGTP_CFLAGS=-I/usr/local/include/
| pkg_cv_LIBGTP_LIBS='-L/usr/local/lib -lgtp'
| pkg_cv_LIBOSMOABIS_CFLAGS=-I/usr/local/include/
| pkg_cv_LIBOSMOABIS_LIBS='-L/usr/local/lib -losmoabis'
| pkg_cv_LIBOSMOCORE_CFLAGS=-I/usr/local/include/
| pkg_cv_LIBOSMOCORE_LIBS='-L/usr/local/lib -ltalloc -losmocore'
| pkg_cv_LIBOSMOCTRL_CFLAGS=-I/usr/local/include/
| pkg_cv_LIBOSMOCTRL_LIBS='-L/usr/local/lib -ltalloc -losmoctrl -losmogsm
-losmocore'
| pkg_cv_LIBOSMOGB_CFLAGS='-fno-strict-aliasing -I/usr/local/include/'
| pkg_cv_LIBOSMOGB_LIBS='-L/usr/local/lib -ltalloc -losmogb -losmovty
-losmocore'
| pkg_cv_LIBOSMOGSM_CFLAGS=-I/usr/local/include/
| pkg_cv_LIBOSMOGSM_LIBS='-L/usr/local/lib -ltalloc -losmogsm -losmocore'
| pkg_cv_LIBOSMONETIF_CFLAGS=-I/usr/local/include/
| pkg_cv_LIBOSMONETIF_LIBS='-L/usr/local/lib -losmonetif'
| pkg_cv_LIBOSMORANAP_CFLAGS=-I/usr/local/include/
| pkg_cv_LIBOSMORANAP_LIBS='-L/usr/local/lib -losmo-ranap'
| pkg_cv_LIBOSMOSCCP_CFLAGS=-I/usr/local/include/
| pkg_cv_LIBOSMOSCCP_LIBS='-L/usr/local/lib -lsccp'
| pkg_cv_LIBOSMOSIGTRAN_CFLAGS=-I/usr/local/include/
| pkg_cv_LIBOSMOSIGTRAN_LIBS='-L/usr/local/lib -losmo-sigtran'
| pkg_cv_LIBOSMOVTY_CFLAGS=-I/usr/local/include/
| pkg_cv_LIBOSMOVTY_LIBS='-L/usr/local/lib -ltalloc -losmovty -losmocore'
| pkg_cv_LIBSMPP34_CFLAGS=-I/usr/local/include/
| pkg_cv_LIBSMPP34_LIBS='-L/usr/local/lib -lsmpp34'
| pkg_cv_SQLITE3_CFLAGS=
| pkg_cv_SQLITE3_LIBS=-lsqlite3
|
| ## ----------------- ##
| ## Output variables. ##
| ## ----------------- ##
|
| ACLOCAL='${SHELL}
/home/hacksmith/3G/3G-config-example/build/openbsc/openbsc/missing aclocal-1.15'
| AMDEPBACKSLASH=''
| AMDEP_FALSE='#'
| AMDEP_TRUE=''
| AMTAR='$${TAR-tar}'
| AM_BACKSLASH=''
| AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
| AM_DEFAULT_VERBOSITY='0'
| AM_V='$(V)'
| AUTOCONF='${SHELL}
/home/hacksmith/3G/3G-config-example/build/openbsc/openbsc/missing autoconf'
| AUTOHEADER='${SHELL}
/home/hacksmith/3G/3G-config-example/build/openbsc/openbsc/missing autoheader'
| AUTOMAKE='${SHELL}
/home/hacksmith/3G/3G-config-example/build/openbsc/openbsc/missing automake-1.15'
| AWK='mawk'
| BUILD_BSC_FALSE='#'
| BUILD_BSC_TRUE=''
| BUILD_IU_FALSE='#'
| BUILD_IU_TRUE=''
| BUILD_MGCP_TRANSCODING_FALSE=''
| BUILD_MGCP_TRANSCODING_TRUE='#'
| BUILD_NAT_FALSE='#'
| BUILD_NAT_TRUE=''
| BUILD_SMPP_FALSE='#'
| BUILD_SMPP_TRUE=''
| CC='gcc'
| CCDEPMODE='depmode=gcc3'
| CFLAGS='-g -O2 -Werror=implicit -Werror=maybe-uninitialized
-Werror=memset-transposed-args -Werror=sizeof-array-argument -Werror=sizeof-pointer-memaccess'
| COVERAGE_CFLAGS=''
| COVERAGE_LDFLAGS=''
| CPP='gcc -E'
| CPPFLAGS=''
| CYGPATH_W='echo'
| DEFS='-DHAVE_CONFIG_H'
| DEPDIR='.deps'
| ECHO_C=''
| ECHO_N='-n'
| ECHO_T=''
| EGREP='/bin/grep -E'
| ENABLE_EXT_TESTS_FALSE=''
| ENABLE_EXT_TESTS_TRUE='#'
| EXEEXT=''
| GREP='/bin/grep'
| HAVE_LIBCARES_FALSE='#'
| HAVE_LIBCARES_TRUE=''
| HAVE_LIBCDK_FALSE=''
| HAVE_LIBCDK_TRUE='#'
| HAVE_LIBGTP_FALSE='#'
| HAVE_LIBGTP_TRUE=''
| HAVE_PCAP_FALSE='#'
| HAVE_PCAP_TRUE=''
| HAVE_SQLITE3_FALSE='#'
| HAVE_SQLITE3_TRUE=''
| INSTALL_DATA='${INSTALL} -m 644'
| INSTALL_PROGRAM='${INSTALL}'
| INSTALL_SCRIPT='${INSTALL}'
| INSTALL_STRIP_PROGRAM='$(install_sh) -c -s'
| LDFLAGS=''
| LIBASN1C_CFLAGS='-I/usr/local/include/ -I/usr/local/include/asn1c'
| LIBASN1C_LIBS='-L/usr/local/lib -ltalloc -lasn1c'
| LIBBCG729_CFLAGS=''
| LIBBCG729_LIBS=''
| LIBCARES_CFLAGS=''
| LIBCARES_LIBS='-lcares'
| LIBCRYPTO_CFLAGS=''
| LIBCRYPTO_LIBS='-lcrypto'
| LIBGTP_CFLAGS='-I/usr/local/include/'
| LIBGTP_LIBS='-L/usr/local/lib -lgtp'
| LIBOBJS=''
| LIBOSMOABIS_CFLAGS='-I/usr/local/include/'
| LIBOSMOABIS_LIBS='-L/usr/local/lib -losmoabis'
| LIBOSMOCORE_CFLAGS='-I/usr/local/include/'
| LIBOSMOCORE_LIBS='-L/usr/local/lib -ltalloc -losmocore'
| LIBOSMOCTRL_CFLAGS='-I/usr/local/include/'
| LIBOSMOCTRL_LIBS='-L/usr/local/lib -ltalloc -losmoctrl -losmogsm
-losmocore'
| LIBOSMOGB_CFLAGS='-fno-strict-aliasing -I/usr/local/include/'
| LIBOSMOGB_LIBS='-L/usr/local/lib -ltalloc -losmogb -losmovty -losmocore'
| LIBOSMOGSM_CFLAGS='-I/usr/local/include/'
| LIBOSMOGSM_LIBS='-L/usr/local/lib -ltalloc -losmogsm -losmocore'
| LIBOSMONETIF_CFLAGS='-I/usr/local/include/'
| LIBOSMONETIF_LIBS='-L/usr/local/lib -losmonetif'
| LIBOSMORANAP_CFLAGS='-I/usr/local/include/'
| LIBOSMORANAP_LIBS='-L/usr/local/lib -losmo-ranap'
| LIBOSMOSCCP_CFLAGS='-I/usr/local/include/'
| LIBOSMOSCCP_LIBS='-L/usr/local/lib -lsccp'
| LIBOSMOSIGTRAN_CFLAGS='-I/usr/local/include/'
| LIBOSMOSIGTRAN_LIBS='-L/usr/local/lib -losmo-sigtran'
| LIBOSMOVTY_CFLAGS='-I/usr/local/include/'
| LIBOSMOVTY_LIBS='-L/usr/local/lib -ltalloc -losmovty -losmocore'
| LIBRARY_DL='-ldl '
| LIBRARY_GSM=''
| LIBS=''
| LIBSMPP34_CFLAGS='-I/usr/local/include/'
| LIBSMPP34_LIBS='-L/usr/local/lib -lsmpp34'
| LTLIBOBJS=''
| MAKEINFO='${SHELL}
/home/hacksmith/3G/3G-config-example/build/openbsc/openbsc/missing makeinfo'
| MKDIR_P='/bin/mkdir -p'
| OBJEXT='o'
| OSMOTESTEXT_CHECK=''
| PACKAGE='openbsc'
| PACKAGE_BUGREPORT='openbsc@lists.osmocom.org'
| PACKAGE_NAME='openbsc'
| PACKAGE_STRING='openbsc 0.15.0.776-3824'
| PACKAGE_TARNAME='openbsc'
| PACKAGE_URL=''
| PACKAGE_VERSION='0.15.0.776-3824'
| PATH_SEPARATOR=':'
| PKG_CONFIG='/usr/bin/pkg-config'
| PKG_CONFIG_INSTALLED='/usr/bin/pkg-config'
| PKG_CONFIG_LIBDIR=''
| PKG_CONFIG_PATH=''
| PYTHON=''
| PYTHON_EXEC_PREFIX=''
| PYTHON_PLATFORM=''
| PYTHON_PREFIX=''
| PYTHON_VERSION=''
| RANLIB='ranlib'
| SET_MAKE=''
| SHELL='/bin/bash'
| SQLITE3_CFLAGS=''
| SQLITE3_LIBS='-lsqlite3'
| STRIP=''
| SYMBOL_VISIBILITY='-fvisibility=hidden'
| VERSION='0.15.0.776-3824'
| ac_ct_CC='gcc'
| am__EXEEXT_FALSE=''
| am__EXEEXT_TRUE='#'
| am__fastdepCC_FALSE='#'
| am__fastdepCC_TRUE=''
| am__include='include'
| am__isrc=''
| am__leading_dot='.'
| am__nodep='_no'
| am__quote=''
| am__tar='$${TAR-tar} chof - "$$tardir"'
| am__untar='$${TAR-tar} xf -'
| bindir='${exec_prefix}/bin'
| build_alias=''
| datadir='${datarootdir}'
| datarootdir='${prefix}/share'
| docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
| dvidir='${docdir}'
| exec_prefix='${prefix}'
| found_libcares='yes'
| found_libgtp='yes'
| found_libgtp_and_libcares='yes'
| found_sqlite3='yes'
| host_alias=''
| htmldir='${docdir}'
| includedir='${prefix}/include'
| infodir='${datarootdir}/info'
| install_sh='${SHELL}
/home/hacksmith/3G/3G-config-example/build/openbsc/openbsc/install-sh'
| libdir='${exec_prefix}/lib'
| libexecdir='${exec_prefix}/libexec'
| localedir='${datarootdir}/locale'
| localstatedir='${prefix}/var'
| mandir='${datarootdir}/man'
| mkdir_p='$(MKDIR_P)'
| oldincludedir='/usr/include'
| osmo_ac_build_bsc='yes'
| osmo_ac_build_nat='yes'
| osmo_ac_build_smpp='yes'
| osmo_ac_iu='yes'
| osmo_ac_mgcp_transcoding='no'
| pdfdir='${docdir}'
| pkgpyexecdir=''
## ----------------------------------- ##
## openbsc 0.15.0.776-3824 test suite. ##
## ----------------------------------- ##
testsuite: command line was:
$ ./testsuite
## --------- ##
## Platform. ##
## --------- ##
hostname = ubuntu
uname -m = x86_64
uname -r = 4.15.0-36-generic
uname -s = Linux
uname -v = #39~16.04.1-Ubuntu SMP Tue Sep 25 08:59:23 UTC 2018
/usr/bin/uname -p = unknown
/bin/uname -X = unknown
/bin/arch = unknown
/usr/bin/arch -k = unknown
/usr/convex/getsysinfo = unknown
/usr/bin/hostinfo = unknown
/bin/machine = unknown
/usr/bin/oslevel = unknown
/bin/universe = unknown
PATH: /home/hacksmith/3G/3G-config-example/build/openbsc/openbsc/tests
PATH: /usr/local/sbin
PATH: /usr/local/bin
PATH: /usr/sbin
PATH: /usr/bin
PATH: /sbin
PATH: /bin
PATH: /usr/games
PATH: /usr/local/games
testsuite: atconfig:
| # Configurable variable values for building test suites.
| # Generated by ./config.status.
| # Copyright (C) 2012 Free Software Foundation, Inc.
|
| # The test suite will define top_srcdir=/../.. etc.
| at_testdir='tests'
|
abs_builddir='/home/hacksmith/3G/3G-config-example/build/openbsc/openbsc/tests'
"tests/testsuite.log" 11793L, 778307C
1,1 顶端| osmo_ac_mgcp_transcoding='no'
| pdfdir='${docdir}'
| pkgpyexecdir=''
| pkgpythondir=''
| prefix='/usr/local'
| program_transform_name='s,x,x,'
| psdir='${docdir}'
| pyexecdir=''
| pythondir=''
| runstatedir='${localstatedir}/run'
| sbindir='${exec_prefix}/sbin'
| sharedstatedir='${prefix}/com'
| sysconfdir='${prefix}/etc'
| target_alias=''
|
| ## ----------- ##
| ## confdefs.h. ##
| ## ----------- ##
|
| /* confdefs.h */
| #define PACKAGE_NAME "openbsc"
| #define PACKAGE_TARNAME "openbsc"
| #define PACKAGE_VERSION "0.15.0.776-3824"
| #define PACKAGE_STRING "openbsc 0.15.0.776-3824"
| #define PACKAGE_BUGREPORT "openbsc@lists.osmocom.org"
| #define PACKAGE_URL ""
| #define PACKAGE "openbsc"
| #define VERSION "0.15.0.776-3824"
| #define BUILD_SMPP 1
| #define BUILD_IU 1
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_DBI_DBD_H 1
| #define HAVE_PCAP_PCAP_H 1
| #define HAVE_TM_GMTOFF_IN_TM 1
|
| configure: exit 0
11754,1 底端| pkgpythondir=''
| prefix='/usr/local'
| program_transform_name='s,x,x,'
| psdir='${docdir}'
| pyexecdir=''
| pythondir=''
| runstatedir='${localstatedir}/run'
| sbindir='${exec_prefix}/sbin'
| sharedstatedir='${prefix}/com'
| sysconfdir='${prefix}/etc'
| target_alias=''
|
| ## ----------- ##
| ## confdefs.h. ##
| ## ----------- ##
|
| /* confdefs.h */
| #define PACKAGE_NAME "openbsc"
| #define PACKAGE_TARNAME "openbsc"
| #define PACKAGE_VERSION "0.15.0.776-3824"
| #define PACKAGE_STRING "openbsc 0.15.0.776-3824"
| #define PACKAGE_BUGREPORT "openbsc@lists.osmocom.org"
| #define PACKAGE_URL ""
| #define PACKAGE "openbsc"
| #define VERSION "0.15.0.776-3824"
| #define BUILD_SMPP 1
| #define BUILD_IU 1
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_DBI_DBD_H 1
| #define HAVE_PCAP_PCAP_H 1
| #define HAVE_TM_GMTOFF_IN_TM 1
|
| configure: exit 0
root@ubuntu:/home/hacksmith/3G/3G-config-example/build/openbsc/openbsc# ls -la tests/testsuite.log
-rw-r--r-- 1 root root 778307 10月 25 23:53 tests/testsuite.log
root@ubuntu:/home/hacksmith/3G/3G-config-example/build/openbsc/openbsc#
vim tests/testsuite.log
root@ubuntu:/home/hacksmith/3G/3G-config-example/build/openbsc/openbsc#
cat tests/testsuite.log |more
## ----------------------------------- ##
## openbsc 0.15.0.776-3824 test suite. ##
## ----------------------------------- ##
testsuite: command line was:
$ ./testsuite
## --------- ##
## Platform. ##
## --------- ##
hostname = ubuntu
uname -m = x86_64
uname -r = 4.15.0-36-generic
uname -s = Linux
uname -v = #39~16.04.1-Ubuntu SMP Tue Sep 25 08:59:23 UTC 2018
/usr/bin/uname -p = unknown
/bin/uname -X = unknown
/bin/arch = unknown
/usr/bin/arch -k = unknown
/usr/convex/getsysinfo = unknown
/usr/bin/hostinfo = unknown
/bin/machine = unknown
/usr/bin/oslevel = unknown
/bin/universe = unknown
PATH: /home/hacksmith/3G/3G-config-example/build/openbsc/openbsc/tests
PATH: /usr/local/sbin
PATH: /usr/local/bin
PATH: /usr/sbin
PATH: /usr/bin
PATH: /sbin
PATH: /bin
PATH: /usr/games
PATH: /usr/local/games
testsuite: atconfig:
| # Configurable variable values for building test suites.
| # Generated by ./config.status.
| # Copyright (C) 2012 Free Software Foundation, Inc.
|
| # The test suite will define top_srcdir=/../.. etc.
| at_testdir='tests'
|
abs_builddir='/home/hacksmith/3G/3G-config-example/build/openbsc/openbsc/tests'
| at_srcdir='.'
|
abs_srcdir='/home/hacksmith/3G/3G-config-example/build/openbsc/openbsc/tests'
| at_top_srcdir='..'
|
abs_top_srcdir='/home/hacksmith/3G/3G-config-example/build/openbsc/openbsc'
| at_top_build_prefix='../'
|
abs_top_builddir='/home/hacksmith/3G/3G-config-example/build/openbsc/openbsc'
|
| # Backward compatibility with Autotest <= 2.59b:
| at_top_builddir=$at_top_build_prefix
|
| AUTOTEST_PATH='tests'
|
| SHELL=${CONFIG_SHELL-'/bin/bash'}
testsuite: atlocal:
| enable_nat_test='yes'
| enable_smpp_test='yes'
| enable_bsc_test='yes'
| enable_mgcp_transcoding_test='no'
| enable_sgsn_test='yes'
| enable_oap_test='yes'
| enable_gtphub_test='yes'
## ---------------- ##
## Tested programs. ##
## ---------------- ##
## ------------------ ##
## Running the tests. ##
## ------------------ ##
testsuite: starting at: Thu Oct 25 23:53:55 PDT 2018
gsm0408 (testsuite.at:4): ok (0m0.344s 0m0.000s)
bsc_subscr (testsuite.at:10): ok (0m0.005s 0m0.001s)
channel (testsuite.at:17): ok (0m0.005s 0m0.001s)
mgcp (testsuite.at:23): ok (0m0.002s 0m0.007s)
mgcp-trans (testsuite.at:29): skipped (testsuite.at:31)
mgcpgw_client (testsuite.at:36): ok (0m0.006s 0m0.001s)
gprs (testsuite.at:43): ok (0m0.003s 0m0.000s)
bsc-nat (testsuite.at:49): ok (0m0.009s 0m0.004s)
smpp (testsuite.at:59): ok (0m0.003s 0m0.003s)
bsc-nat-trie (testsuite.at:67): ok (0m0.006s 0m0.001s)
abis (testsuite.at:75): ok (0m0.002s 0m0.003s)
bsc (testsuite.at:81): ok (0m0.006s 0m0.000s)
trau (testsuite.at:94): ok (0m0.005s 0m0.000s)
oap (testsuite.at:107): ok (0m0.003s 0m0.003s)
gtphub (testsuite.at:115): ok (0m0.003s 0m0.006s)
mm_auth (testsuite.at:122): ok (0m0.006s 0m0.000s)
xid (testsuite.at:128): ok (0m0.006s 0m0.001s)
sndcp_xid (testsuite.at:135): ok (0m0.006s 0m0.000s)
slhc (testsuite.at:142): ok (0m0.004s 0m0.001s)
v42bis (testsuite.at:149): ok (0m0.009s 0m0.001s)
nanobts_omlattr (testsuite.at:156): ok (0m0.006s 0m0.000s)
sms_queue_test (testsuite.at:162): ok (0m0.005s 0m0.001s)
testsuite: ending at: Thu Oct 25 23:53:57 PDT 2018
testsuite: test suite duration: 0h 0m 2s
## ------------- ##
## Test results. ##
## ------------- ##
ERROR: 32 tests were run,
11 failed unexpectedly.
1 test was skipped.
## ------------------------ ##
## Summary of the failures. ##
## ------------------------ ##
Failed tests:
openbsc 0.15.0.776-3824 test suite test groups:
NUM: FILE-NAME:LINE TEST-GROUP-NAME
KEYWORDS13: testsuite.at:88 gbproxy
gbproxy15: testsuite.at:100 sgsn
sgsn25: testsuite.at:169 msc_vlr_test_no_authen
msc_vlr_test_no_authen26: testsuite.at:176 msc_vlr_test_gsm_authen
msc_vlr_test_gsm_authen27: testsuite.at:183 msc_vlr_test_gsm_ciph
msc_vlr_test_gsm_ciph28: testsuite.at:190 msc_vlr_test_umts_authen
msc_vlr_test_umts_authen29: testsuite.at:197 msc_vlr_test_hlr_reject
msc_vlr_test_hlr_reject30: testsuite.at:204 msc_vlr_test_hlr_timeout
msc_vlr_test_hlr_timeout31: testsuite.at:211 msc_vlr_test_ms_timeout
msc_vlr_test_ms_timeout32: testsuite.at:218 msc_vlr_test_reject_concurrency
msc_vlr_test_reject_concurrency33: testsuite.at:225 msc_vlr_test_rest
msc_vlr_test_restSkipped tests:
openbsc 0.15.0.776-3824 test suite test groups:
NUM: FILE-NAME:LINE TEST-GROUP-NAME
KEYWORDS5: testsuite.at:29 mgcp-trans
mgcp-trans
Dear 0xroot,
thanks for your interest in our product.
Please note that the old openbsc.git repository and the OsmoNITB it contains has not been supported for more than a year by now.
3G support has been fully integrated into the new OsmoMSC (and OsmoSGSN) from their respective osmo-msc.git and osmo-sgsn.git repositories.
This is why the page you are referring to has the following big bold warning on top:
======================================
NOTE: we have split openbsc.git in smaller parts: osmo-{msc,mgw,sgsn,bsc}, and we have full 3G support in the master branches of those new repositories.
This wiki page still refers to an earlier development branch in the old openbsc.git. The main difference is that now 3G uses true M3UA, and you need to operate an OsmoSTP, as seen on the Osmocom Network In The Box wiki page.
======================================
So please kindly follow the instructions at https://osmocom.org/projects/cellular-infrastructure/wiki/Osmocom_Network_In...