This is merely a historical archive of years 2008-2021, before the migration to mailman3.
A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/OpenBSC@lists.osmocom.org/.
Reza Hosseini hosseinisr at outlook.deDera Developers, I am trying to make the “osmo-euse-demo.c“ file to execute it Ubuntu in order to demonstrate the core Network vulnerebalities. But in this Phase i’m facing the following error. Can you please tell me how can i solve this error. Or how can i have Access to the already maked file of “osmo-euse-demo.c“ to execute it . Kind Regards, Reza root at reza-VirtualBox:/home/reza/osmocom/include# cc -v -I/home/reza/osmocom/include osmo-euse-demo.c Using built-in specs. COLLECT_GCC=cc COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-linux-gnu/7/lto-wrapper OFFLOAD_TARGET_NAMES=nvptx-none OFFLOAD_TARGET_DEFAULT=1 Target: x86_64-linux-gnu Configured with: ../src/configure -v --with-pkgversion='Ubuntu 7.5.0-3ubuntu1~18.04' --with-bugurl=file:///usr/share/doc/gcc-7/README.Bugs --enable-languages=c,ada,c++,go,brig,d,fortran,objc,obj-c++ --prefix=/usr --with-gcc-major-version-only --program-suffix=-7 --program-prefix=x86_64-linux-gnu- --enable-shared --enable-linker-build-id --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --libdir=/usr/lib --enable-nls --enable-bootstrap --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --with-default-libstdcxx-abi=new --enable-gnu-unique-object --disable-vtable-verify --enable-libmpx --enable-plugin --enable-default-pie --with-system-zlib --with-target-system-zlib --enable-objc-gc=auto --enable-multiarch --disable-werror --with-arch-32=i686 --with-abi=m64 --with-multilib-list=m32,m64,mx32 --enable-multilib --with-tune=generic --enable-offload-targets=nvptx-none --without-cuda-driver --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu Thread model: posix gcc version 7.5.0 (Ubuntu 7.5.0-3ubuntu1~18.04) COLLECT_GCC_OPTIONS='-v' '-I' '/home/reza/osmocom/include' '-mtune=generic' '-march=x86-64' /usr/lib/gcc/x86_64-linux-gnu/7/cc1 -quiet -v -I /home/reza/osmocom/include -imultiarch x86_64-linux-gnu osmo-euse-demo.c -quiet -dumpbase osmo-euse-demo.c -mtune=generic -march=x86-64 -auxbase osmo-euse-demo -version -fstack-protector-strong -Wformat -Wformat-security -o /tmp/ccz56pXg.s GNU C11 (Ubuntu 7.5.0-3ubuntu1~18.04) version 7.5.0 (x86_64-linux-gnu) compiled by GNU C version 7.5.0, GMP version 6.1.2, MPFR version 4.0.1, MPC version 1.1.0, isl version isl-0.19-GMP GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072 ignoring nonexistent directory "/usr/local/include/x86_64-linux-gnu" ignoring nonexistent directory "/usr/lib/gcc/x86_64-linux-gnu/7/../../../../x86_64-linux-gnu/include" #include "..." search starts here: #include <...> search starts here: /home/reza/osmocom/include /usr/lib/gcc/x86_64-linux-gnu/7/include /usr/local/include /usr/lib/gcc/x86_64-linux-gnu/7/include-fixed /usr/include/x86_64-linux-gnu /usr/include End of search list. GNU C11 (Ubuntu 7.5.0-3ubuntu1~18.04) version 7.5.0 (x86_64-linux-gnu) compiled by GNU C version 7.5.0, GMP version 6.1.2, MPFR version 4.0.1, MPC version 1.1.0, isl version isl-0.19-GMP GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072 Compiler executable checksum: b62ed4a2880cd4159476ea8293b72fa8 COLLECT_GCC_OPTIONS='-v' '-I' '/home/reza/osmocom/include' '-mtune=generic' '-march=x86-64' as -v -I /home/reza/osmocom/include --64 -o /tmp/ccRIXQie.o /tmp/ccz56pXg.s GNU assembler version 2.30 (x86_64-linux-gnu) using BFD version (GNU Binutils for Ubuntu) 2.30 COMPILER_PATH=/usr/lib/gcc/x86_64-linux-gnu/7/:/usr/lib/gcc/x86_64-linux-gnu/7/:/usr/lib/gcc/x86_64-linux-gnu/:/usr/lib/gcc/x86_64-linux-gnu/7/:/usr/lib/gcc/x86_64-linux-gnu/ LIBRARY_PATH=/usr/lib/gcc/x86_64-linux-gnu/7/:/usr/lib/gcc/x86_64-linux-gnu/7/../../../x86_64-linux-gnu/:/usr/lib/gcc/x86_64-linux-gnu/7/../../../../lib/:/lib/x86_64-linux-gnu/:/lib/../lib/:/usr/lib/x86_64-linux-gnu/:/usr/lib/../lib/:/usr/lib/gcc/x86_64-linux-gnu/7/../../../:/lib/:/usr/lib/ COLLECT_GCC_OPTIONS='-v' '-I' '/home/reza/osmocom/include' '-mtune=generic' '-march=x86-64' /usr/lib/gcc/x86_64-linux-gnu/7/collect2 -plugin /usr/lib/gcc/x86_64-linux-gnu/7/liblto_plugin.so -plugin-opt=/usr/lib/gcc/x86_64-linux-gnu/7/lto-wrapper -plugin-opt=-fresolution=/tmp/ccu0YtNb.res -plugin-opt=-pass-through=-lgcc -plugin-opt=-pass-through=-lgcc_s -plugin-opt=-pass-through=-lc -plugin-opt=-pass-through=-lgcc -plugin-opt=-pass-through=-lgcc_s --build-id --eh-frame-hdr -m elf_x86_64 --hash-style=gnu --as-needed -dynamic-linker /lib64/ld-linux-x86-64.so.2 -pie -z now -z relro /usr/lib/gcc/x86_64-linux-gnu/7/../../../x86_64-linux-gnu/Scrt1.o /usr/lib/gcc/x86_64-linux-gnu/7/../../../x86_64-linux-gnu/crti.o /usr/lib/gcc/x86_64-linux-gnu/7/crtbeginS.o -L/usr/lib/gcc/x86_64-linux-gnu/7 -L/usr/lib/gcc/x86_64-linux-gnu/7/../../../x86_64-linux-gnu -L/usr/lib/gcc/x86_64-linux-gnu/7/../../../../lib -L/lib/x86_64-linux-gnu -L/lib/../lib -L/usr/lib/x86_64-linux-gnu -L/usr/lib/../lib -L/usr/lib/gcc/x86_64-linux-gnu/7/../../.. /tmp/ccRIXQie.o -lgcc --push-state --as-needed -lgcc_s --pop-state -lc -lgcc --push-state --as-needed -lgcc_s --pop-state /usr/lib/gcc/x86_64-linux-gnu/7/crtendS.o /usr/lib/gcc/x86_64-linux-gnu/7/../../../x86_64-linux-gnu/crtn.o /tmp/ccRIXQie.o: In function `osmo_gsup_message_type_name': osmo-euse-demo.c:(.text+0x36): undefined reference to `osmo_gsup_message_type_names' osmo-euse-demo.c:(.text+0x3b): undefined reference to `get_value_string' /tmp/ccRIXQie.o: In function `osmo_gsup_session_state_name': osmo-euse-demo.c:(.text+0x54): undefined reference to `osmo_gsup_session_state_names' osmo-euse-demo.c:(.text+0x59): undefined reference to `get_value_string' /tmp/ccRIXQie.o: In function `gsm0480_op_code_name': osmo-euse-demo.c:(.text+0x75): undefined reference to `gsm0480_op_code_names' osmo-euse-demo.c:(.text+0x7a): undefined reference to `get_value_string' /tmp/ccRIXQie.o: In function `euse_tx_ss': osmo-euse-demo.c:(.text+0xf4): undefined reference to `msgb_free' osmo-euse-demo.c:(.text+0x12d): undefined reference to `osmo_strlcpy' osmo-euse-demo.c:(.text+0x171): undefined reference to `msgb_data' osmo-euse-demo.c:(.text+0x187): undefined reference to `msgb_length' osmo-euse-demo.c:(.text+0x19d): undefined reference to `gsm0480_msgb_alloc_name' osmo-euse-demo.c:(.text+0x1d2): undefined reference to `osmo_panic' osmo-euse-demo.c:(.text+0x1eb): undefined reference to `osmo_gsup_encode' osmo-euse-demo.c:(.text+0x1fa): undefined reference to `msgb_free' osmo-euse-demo.c:(.text+0x213): undefined reference to `osmo_gsup_client_send' /tmp/ccRIXQie.o: In function `euse_tx_ussd_reject': osmo-euse-demo.c:(.text+0x261): undefined reference to `gsm0480_gen_reject' osmo-euse-demo.c:(.text+0x274): undefined reference to `log_check_level' osmo-euse-demo.c:(.text+0x2be): undefined reference to `logp2' osmo-euse-demo.c:(.text+0x2ed): undefined reference to `osmo_panic' /tmp/ccRIXQie.o: In function `euse_tx_ussd_resp_7bit': osmo-euse-demo.c:(.text+0x34a): undefined reference to `gsm0480_gen_ussd_resp_7bit' osmo-euse-demo.c:(.text+0x35d): undefined reference to `log_check_level' osmo-euse-demo.c:(.text+0x3b8): undefined reference to `logp2' osmo-euse-demo.c:(.text+0x3e7): undefined reference to `osmo_panic' /tmp/ccRIXQie.o: In function `euse_rx_proc_ss_req': osmo-euse-demo.c:(.text+0x4b9): undefined reference to `gsm0480_parse_facility_ie' osmo-euse-demo.c:(.text+0x509): undefined reference to `log_check_level' osmo-euse-demo.c:(.text+0x595): undefined reference to `logp2' /tmp/ccRIXQie.o: In function `gsupc_read_cb': osmo-euse-demo.c:(.text+0x6e3): undefined reference to `osmo_gsup_decode' osmo-euse-demo.c:(.text+0x701): undefined reference to `log_check_level' osmo-euse-demo.c:(.text+0x714): undefined reference to `msgb_hexdump' osmo-euse-demo.c:(.text+0x746): undefined reference to `logp2' osmo-euse-demo.c:(.text+0x764): undefined reference to `log_check_level' osmo-euse-demo.c:(.text+0x777): undefined reference to `msgb_hexdump' osmo-euse-demo.c:(.text+0x7b6): undefined reference to `logp2' osmo-euse-demo.c:(.text+0x7f9): undefined reference to `log_check_level' osmo-euse-demo.c:(.text+0x83c): undefined reference to `logp2' osmo-euse-demo.c:(.text+0x855): undefined reference to `msgb_free' /tmp/ccRIXQie.o: In function `main': osmo-euse-demo.c:(.text+0x8bd): undefined reference to `talloc_named_const' osmo-euse-demo.c:(.text+0x8d4): undefined reference to `osmo_init_logging2' osmo-euse-demo.c:(.text+0x98c): undefined reference to `osmo_gsup_client_create' osmo-euse-demo.c:(.text+0x99d): undefined reference to `osmo_select_main' collect2: error: ld returned 1 exit status root at reza-VirtualBox:/home/reza/osmocom/include# cc -v -I/home/reza/osmocom/include osmo-euse-demo.c -o osmosample Using built-in specs. COLLECT_GCC=cc COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-linux-gnu/7/lto-wrapper OFFLOAD_TARGET_NAMES=nvptx-none OFFLOAD_TARGET_DEFAULT=1 Target: x86_64-linux-gnu Configured with: ../src/configure -v --with-pkgversion='Ubuntu 7.5.0-3ubuntu1~18.04' --with-bugurl=file:///usr/share/doc/gcc-7/README.Bugs --enable-languages=c,ada,c++,go,brig,d,fortran,objc,obj-c++ --prefix=/usr --with-gcc-major-version-only --program-suffix=-7 --program-prefix=x86_64-linux-gnu- --enable-shared --enable-linker-build-id --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --libdir=/usr/lib --enable-nls --enable-bootstrap --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --with-default-libstdcxx-abi=new --enable-gnu-unique-object --disable-vtable-verify --enable-libmpx --enable-plugin --enable-default-pie --with-system-zlib --with-target-system-zlib --enable-objc-gc=auto --enable-multiarch --disable-werror --with-arch-32=i686 --with-abi=m64 --with-multilib-list=m32,m64,mx32 --enable-multilib --with-tune=generic --enable-offload-targets=nvptx-none --without-cuda-driver --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu Thread model: posix gcc version 7.5.0 (Ubuntu 7.5.0-3ubuntu1~18.04) COLLECT_GCC_OPTIONS='-v' '-I' '/home/reza/osmocom/include' '-o' 'osmosample' '-mtune=generic' '-march=x86-64' /usr/lib/gcc/x86_64-linux-gnu/7/cc1 -quiet -v -I /home/reza/osmocom/include -imultiarch x86_64-linux-gnu osmo-euse-demo.c -quiet -dumpbase osmo-euse-demo.c -mtune=generic -march=x86-64 -auxbase osmo-euse-demo -version -fstack-protector-strong -Wformat -Wformat-security -o /tmp/ccHY0eog.s GNU C11 (Ubuntu 7.5.0-3ubuntu1~18.04) version 7.5.0 (x86_64-linux-gnu) compiled by GNU C version 7.5.0, GMP version 6.1.2, MPFR version 4.0.1, MPC version 1.1.0, isl version isl-0.19-GMP GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072 ignoring nonexistent directory "/usr/local/include/x86_64-linux-gnu" ignoring nonexistent directory "/usr/lib/gcc/x86_64-linux-gnu/7/../../../../x86_64-linux-gnu/include" #include "..." search starts here: #include <...> search starts here: /home/reza/osmocom/include /usr/lib/gcc/x86_64-linux-gnu/7/include /usr/local/include /usr/lib/gcc/x86_64-linux-gnu/7/include-fixed /usr/include/x86_64-linux-gnu /usr/include End of search list. GNU C11 (Ubuntu 7.5.0-3ubuntu1~18.04) version 7.5.0 (x86_64-linux-gnu) compiled by GNU C version 7.5.0, GMP version 6.1.2, MPFR version 4.0.1, MPC version 1.1.0, isl version isl-0.19-GMP GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072 Compiler executable checksum: b62ed4a2880cd4159476ea8293b72fa8 COLLECT_GCC_OPTIONS='-v' '-I' '/home/reza/osmocom/include' '-o' 'osmosample' '-mtune=generic' '-march=x86-64' as -v -I /home/reza/osmocom/include --64 -o /tmp/cciVuWmr.o /tmp/ccHY0eog.s GNU assembler version 2.30 (x86_64-linux-gnu) using BFD version (GNU Binutils for Ubuntu) 2.30 COMPILER_PATH=/usr/lib/gcc/x86_64-linux-gnu/7/:/usr/lib/gcc/x86_64-linux-gnu/7/:/usr/lib/gcc/x86_64-linux-gnu/:/usr/lib/gcc/x86_64-linux-gnu/7/:/usr/lib/gcc/x86_64-linux-gnu/ LIBRARY_PATH=/usr/lib/gcc/x86_64-linux-gnu/7/:/usr/lib/gcc/x86_64-linux-gnu/7/../../../x86_64-linux-gnu/:/usr/lib/gcc/x86_64-linux-gnu/7/../../../../lib/:/lib/x86_64-linux-gnu/:/lib/../lib/:/usr/lib/x86_64-linux-gnu/:/usr/lib/../lib/:/usr/lib/gcc/x86_64-linux-gnu/7/../../../:/lib/:/usr/lib/ COLLECT_GCC_OPTIONS='-v' '-I' '/home/reza/osmocom/include' '-o' 'osmosample' '-mtune=generic' '-march=x86-64' /usr/lib/gcc/x86_64-linux-gnu/7/collect2 -plugin /usr/lib/gcc/x86_64-linux-gnu/7/liblto_plugin.so -plugin-opt=/usr/lib/gcc/x86_64-linux-gnu/7/lto-wrapper -plugin-opt=-fresolution=/tmp/ccDFZPnC.res -plugin-opt=-pass-through=-lgcc -plugin-opt=-pass-through=-lgcc_s -plugin-opt=-pass-through=-lc -plugin-opt=-pass-through=-lgcc -plugin-opt=-pass-through=-lgcc_s --build-id --eh-frame-hdr -m elf_x86_64 --hash-style=gnu --as-needed -dynamic-linker /lib64/ld-linux-x86-64.so.2 -pie -z now -z relro -o osmosample /usr/lib/gcc/x86_64-linux-gnu/7/../../../x86_64-linux-gnu/Scrt1.o /usr/lib/gcc/x86_64-linux-gnu/7/../../../x86_64-linux-gnu/crti.o /usr/lib/gcc/x86_64-linux-gnu/7/crtbeginS.o -L/usr/lib/gcc/x86_64-linux-gnu/7 -L/usr/lib/gcc/x86_64-linux-gnu/7/../../../x86_64-linux-gnu -L/usr/lib/gcc/x86_64-linux-gnu/7/../../../../lib -L/lib/x86_64-linux-gnu -L/lib/../lib -L/usr/lib/x86_64-linux-gnu -L/usr/lib/../lib -L/usr/lib/gcc/x86_64-linux-gnu/7/../../.. /tmp/cciVuWmr.o -lgcc --push-state --as-needed -lgcc_s --pop-state -lc -lgcc --push-state --as-needed -lgcc_s --pop-state /usr/lib/gcc/x86_64-linux-gnu/7/crtendS.o /usr/lib/gcc/x86_64-linux-gnu/7/../../../x86_64-linux-gnu/crtn.o /tmp/cciVuWmr.o: In function `osmo_gsup_message_type_name': osmo-euse-demo.c:(.text+0x36): undefined reference to `osmo_gsup_message_type_names' osmo-euse-demo.c:(.text+0x3b): undefined reference to `get_value_string' /tmp/cciVuWmr.o: In function `osmo_gsup_session_state_name': osmo-euse-demo.c:(.text+0x54): undefined reference to `osmo_gsup_session_state_names' osmo-euse-demo.c:(.text+0x59): undefined reference to `get_value_string' /tmp/cciVuWmr.o: In function `gsm0480_op_code_name': osmo-euse-demo.c:(.text+0x75): undefined reference to `gsm0480_op_code_names' osmo-euse-demo.c:(.text+0x7a): undefined reference to `get_value_string' /tmp/cciVuWmr.o: In function `euse_tx_ss': osmo-euse-demo.c:(.text+0xf4): undefined reference to `msgb_free' osmo-euse-demo.c:(.text+0x12d): undefined reference to `osmo_strlcpy' osmo-euse-demo.c:(.text+0x171): undefined reference to `msgb_data' osmo-euse-demo.c:(.text+0x187): undefined reference to `msgb_length' osmo-euse-demo.c:(.text+0x19d): undefined reference to `gsm0480_msgb_alloc_name' osmo-euse-demo.c:(.text+0x1d2): undefined reference to `osmo_panic' osmo-euse-demo.c:(.text+0x1eb): undefined reference to `osmo_gsup_encode' osmo-euse-demo.c:(.text+0x1fa): undefined reference to `msgb_free' osmo-euse-demo.c:(.text+0x213): undefined reference to `osmo_gsup_client_send' /tmp/cciVuWmr.o: In function `euse_tx_ussd_reject': osmo-euse-demo.c:(.text+0x261): undefined reference to `gsm0480_gen_reject' osmo-euse-demo.c:(.text+0x274): undefined reference to `log_check_level' osmo-euse-demo.c:(.text+0x2be): undefined reference to `logp2' osmo-euse-demo.c:(.text+0x2ed): undefined reference to `osmo_panic' /tmp/cciVuWmr.o: In function `euse_tx_ussd_resp_7bit': osmo-euse-demo.c:(.text+0x34a): undefined reference to `gsm0480_gen_ussd_resp_7bit' osmo-euse-demo.c:(.text+0x35d): undefined reference to `log_check_level' osmo-euse-demo.c:(.text+0x3b8): undefined reference to `logp2' osmo-euse-demo.c:(.text+0x3e7): undefined reference to `osmo_panic' /tmp/cciVuWmr.o: In function `euse_rx_proc_ss_req': osmo-euse-demo.c:(.text+0x4b9): undefined reference to `gsm0480_parse_facility_ie' osmo-euse-demo.c:(.text+0x509): undefined reference to `log_check_level' osmo-euse-demo.c:(.text+0x595): undefined reference to `logp2' /tmp/cciVuWmr.o: In function `gsupc_read_cb': osmo-euse-demo.c:(.text+0x6e3): undefined reference to `osmo_gsup_decode' osmo-euse-demo.c:(.text+0x701): undefined reference to `log_check_level' osmo-euse-demo.c:(.text+0x714): undefined reference to `msgb_hexdump' osmo-euse-demo.c:(.text+0x746): undefined reference to `logp2' osmo-euse-demo.c:(.text+0x764): undefined reference to `log_check_level' osmo-euse-demo.c:(.text+0x777): undefined reference to `msgb_hexdump' osmo-euse-demo.c:(.text+0x7b6): undefined reference to `logp2' osmo-euse-demo.c:(.text+0x7f9): undefined reference to `log_check_level' osmo-euse-demo.c:(.text+0x83c): undefined reference to `logp2' osmo-euse-demo.c:(.text+0x855): undefined reference to `msgb_free' /tmp/cciVuWmr.o: In function `main': osmo-euse-demo.c:(.text+0x8bd): undefined reference to `talloc_named_const' osmo-euse-demo.c:(.text+0x8d4): undefined reference to `osmo_init_logging2' osmo-euse-demo.c:(.text+0x98c): undefined reference to `osmo_gsup_client_create' osmo-euse-demo.c:(.text+0x99d): undefined reference to `osmo_select_main' collect2: error: ld returned 1 exit status root at reza-VirtualBox:/home/reza/osmocom/include# vim osmo osmocom/ osmo-euse-demo.c root at reza-VirtualBox:/home/reza/osmocom/include# vim osmo osmocom/ osmo-euse-demo.c root at reza-VirtualBox:/home/reza/osmocom/include# vim osmo osmocom/ osmo-euse-demo.c root at reza-VirtualBox:/home/reza/osmocom/include# cc -v -I/home/reza/osmocom/include osmo-euse-demo.c -o osmosamplemc Using built-in specs. COLLECT_GCC=cc COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-linux-gnu/7/lto-wrapper OFFLOAD_TARGET_NAMES=nvptx-none OFFLOAD_TARGET_DEFAULT=1 Target: x86_64-linux-gnu Configured with: ../src/configure -v --with-pkgversion='Ubuntu 7.5.0-3ubuntu1~18.04' --with-bugurl=file:///usr/share/doc/gcc-7/README.Bugs --enable-languages=c,ada,c++,go,brig,d,fortran,objc,obj-c++ --prefix=/usr --with-gcc-major-version-only --program-suffix=-7 --program-prefix=x86_64-linux-gnu- --enable-shared --enable-linker-build-id --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --libdir=/usr/lib --enable-nls --enable-bootstrap --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --with-default-libstdcxx-abi=new --enable-gnu-unique-object --disable-vtable-verify --enable-libmpx --enable-plugin --enable-default-pie --with-system-zlib --with-target-system-zlib --enable-objc-gc=auto --enable-multiarch --disable-werror --with-arch-32=i686 --with-abi=m64 --with-multilib-list=m32,m64,mx32 --enable-multilib --with-tune=generic --enable-offload-targets=nvptx-none --without-cuda-driver --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu Thread model: posix gcc version 7.5.0 (Ubuntu 7.5.0-3ubuntu1~18.04) COLLECT_GCC_OPTIONS='-v' '-I' '/home/reza/osmocom/include' '-o' 'osmosamplemc' '-mtune=generic' '-march=x86-64' /usr/lib/gcc/x86_64-linux-gnu/7/cc1 -quiet -v -I /home/reza/osmocom/include -imultiarch x86_64-linux-gnu osmo-euse-demo.c -quiet -dumpbase osmo-euse-demo.c -mtune=generic -march=x86-64 -auxbase osmo-euse-demo -version -fstack-protector-strong -Wformat -Wformat-security -o /tmp/cciw60w9.s GNU C11 (Ubuntu 7.5.0-3ubuntu1~18.04) version 7.5.0 (x86_64-linux-gnu) compiled by GNU C version 7.5.0, GMP version 6.1.2, MPFR version 4.0.1, MPC version 1.1.0, isl version isl-0.19-GMP GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072 ignoring nonexistent directory "/usr/local/include/x86_64-linux-gnu" ignoring nonexistent directory "/usr/lib/gcc/x86_64-linux-gnu/7/../../../../x86_64-linux-gnu/include" #include "..." search starts here: #include <...> search starts here: /home/reza/osmocom/include /usr/lib/gcc/x86_64-linux-gnu/7/include /usr/local/include /usr/lib/gcc/x86_64-linux-gnu/7/include-fixed /usr/include/x86_64-linux-gnu /usr/include End of search list. GNU C11 (Ubuntu 7.5.0-3ubuntu1~18.04) version 7.5.0 (x86_64-linux-gnu) compiled by GNU C version 7.5.0, GMP version 6.1.2, MPFR version 4.0.1, MPC version 1.1.0, isl version isl-0.19-GMP GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072 Compiler executable checksum: b62ed4a2880cd4159476ea8293b72fa8 COLLECT_GCC_OPTIONS='-v' '-I' '/home/reza/osmocom/include' '-o' 'osmosamplemc' '-mtune=generic' '-march=x86-64' as -v -I /home/reza/osmocom/include --64 -o /tmp/ccDvwYka.o /tmp/cciw60w9.s GNU assembler version 2.30 (x86_64-linux-gnu) using BFD version (GNU Binutils for Ubuntu) 2.30 COMPILER_PATH=/usr/lib/gcc/x86_64-linux-gnu/7/:/usr/lib/gcc/x86_64-linux-gnu/7/:/usr/lib/gcc/x86_64-linux-gnu/:/usr/lib/gcc/x86_64-linux-gnu/7/:/usr/lib/gcc/x86_64-linux-gnu/ LIBRARY_PATH=/usr/lib/gcc/x86_64-linux-gnu/7/:/usr/lib/gcc/x86_64-linux-gnu/7/../../../x86_64-linux-gnu/:/usr/lib/gcc/x86_64-linux-gnu/7/../../../../lib/:/lib/x86_64-linux-gnu/:/lib/../lib/:/usr/lib/x86_64-linux-gnu/:/usr/lib/../lib/:/usr/lib/gcc/x86_64-linux-gnu/7/../../../:/lib/:/usr/lib/ COLLECT_GCC_OPTIONS='-v' '-I' '/home/reza/osmocom/include' '-o' 'osmosamplemc' '-mtune=generic' '-march=x86-64' /usr/lib/gcc/x86_64-linux-gnu/7/collect2 -plugin /usr/lib/gcc/x86_64-linux-gnu/7/liblto_plugin.so -plugin-opt=/usr/lib/gcc/x86_64-linux-gnu/7/lto-wrapper -plugin-opt=-fresolution=/tmp/ccbULaab.res -plugin-opt=-pass-through=-lgcc -plugin-opt=-pass-through=-lgcc_s -plugin-opt=-pass-through=-lc -plugin-opt=-pass-through=-lgcc -plugin-opt=-pass-through=-lgcc_s --build-id --eh-frame-hdr -m elf_x86_64 --hash-style=gnu --as-needed -dynamic-linker /lib64/ld-linux-x86-64.so.2 -pie -z now -z relro -o osmosamplemc /usr/lib/gcc/x86_64-linux-gnu/7/../../../x86_64-linux-gnu/Scrt1.o /usr/lib/gcc/x86_64-linux-gnu/7/../../../x86_64-linux-gnu/crti.o /usr/lib/gcc/x86_64-linux-gnu/7/crtbeginS.o -L/usr/lib/gcc/x86_64-linux-gnu/7 -L/usr/lib/gcc/x86_64-linux-gnu/7/../../../x86_64-linux-gnu -L/usr/lib/gcc/x86_64-linux-gnu/7/../../../../lib -L/lib/x86_64-linux-gnu -L/lib/../lib -L/usr/lib/x86_64-linux-gnu -L/usr/lib/../lib -L/usr/lib/gcc/x86_64-linux-gnu/7/../../.. /tmp/ccDvwYka.o -lgcc --push-state --as-needed -lgcc_s --pop-state -lc -lgcc --push-state --as-needed -lgcc_s --pop-state /usr/lib/gcc/x86_64-linux-gnu/7/crtendS.o /usr/lib/gcc/x86_64-linux-gnu/7/../../../x86_64-linux-gnu/crtn.o /tmp/ccDvwYka.o: In function `osmo_gsup_message_type_name': osmo-euse-demo.c:(.text+0x36): undefined reference to `osmo_gsup_message_type_names' osmo-euse-demo.c:(.text+0x3b): undefined reference to `get_value_string' /tmp/ccDvwYka.o: In function `osmo_gsup_session_state_name': osmo-euse-demo.c:(.text+0x54): undefined reference to `osmo_gsup_session_state_names' osmo-euse-demo.c:(.text+0x59): undefined reference to `get_value_string' /tmp/ccDvwYka.o: In function `gsm0480_op_code_name': osmo-euse-demo.c:(.text+0x75): undefined reference to `gsm0480_op_code_names' osmo-euse-demo.c:(.text+0x7a): undefined reference to `get_value_string' /tmp/ccDvwYka.o: In function `euse_tx_ss': osmo-euse-demo.c:(.text+0xf4): undefined reference to `msgb_free' osmo-euse-demo.c:(.text+0x12d): undefined reference to `osmo_strlcpy' osmo-euse-demo.c:(.text+0x171): undefined reference to `msgb_data' osmo-euse-demo.c:(.text+0x187): undefined reference to `msgb_length' osmo-euse-demo.c:(.text+0x19d): undefined reference to `gsm0480_msgb_alloc_name' osmo-euse-demo.c:(.text+0x1d2): undefined reference to `osmo_panic' osmo-euse-demo.c:(.text+0x1eb): undefined reference to `osmo_gsup_encode' osmo-euse-demo.c:(.text+0x1fa): undefined reference to `msgb_free' osmo-euse-demo.c:(.text+0x213): undefined reference to `osmo_gsup_client_send' /tmp/ccDvwYka.o: In function `euse_tx_ussd_reject': osmo-euse-demo.c:(.text+0x261): undefined reference to `gsm0480_gen_reject' osmo-euse-demo.c:(.text+0x274): undefined reference to `log_check_level' osmo-euse-demo.c:(.text+0x2be): undefined reference to `logp2' osmo-euse-demo.c:(.text+0x2ed): undefined reference to `osmo_panic' /tmp/ccDvwYka.o: In function `euse_tx_ussd_resp_7bit': osmo-euse-demo.c:(.text+0x34a): undefined reference to `gsm0480_gen_ussd_resp_7bit' osmo-euse-demo.c:(.text+0x35d): undefined reference to `log_check_level' osmo-euse-demo.c:(.text+0x3b8): undefined reference to `logp2' osmo-euse-demo.c:(.text+0x3e7): undefined reference to `osmo_panic' /tmp/ccDvwYka.o: In function `euse_rx_proc_ss_req': osmo-euse-demo.c:(.text+0x4b9): undefined reference to `gsm0480_parse_facility_ie' osmo-euse-demo.c:(.text+0x509): undefined reference to `log_check_level' osmo-euse-demo.c:(.text+0x595): undefined reference to `logp2' /tmp/ccDvwYka.o: In function `gsupc_read_cb': osmo-euse-demo.c:(.text+0x6e3): undefined reference to `osmo_gsup_decode' osmo-euse-demo.c:(.text+0x701): undefined reference to `log_check_level' osmo-euse-demo.c:(.text+0x714): undefined reference to `msgb_hexdump' osmo-euse-demo.c:(.text+0x746): undefined reference to `logp2' osmo-euse-demo.c:(.text+0x764): undefined reference to `log_check_level' osmo-euse-demo.c:(.text+0x777): undefined reference to `msgb_hexdump' osmo-euse-demo.c:(.text+0x7b6): undefined reference to `logp2' osmo-euse-demo.c:(.text+0x7f9): undefined reference to `log_check_level' osmo-euse-demo.c:(.text+0x83c): undefined reference to `logp2' osmo-euse-demo.c:(.text+0x855): undefined reference to `msgb_free' /tmp/ccDvwYka.o: In function `main': osmo-euse-demo.c:(.text+0x8bd): undefined reference to `talloc_named_const' osmo-euse-demo.c:(.text+0x8d4): undefined reference to `osmo_init_logging2' osmo-euse-demo.c:(.text+0x98c): undefined reference to `osmo_gsup_client_create' osmo-euse-demo.c:(.text+0x99d): undefined reference to `osmo_select_main' collect2: error: ld returned 1 exit status -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.osmocom.org/pipermail/openbsc/attachments/20200406/4ce4db87/attachment.htm>