Dear Harald,
Gentle reminder if possible please suggest it to us. Thanks..
Regards, Sandeep Malik
https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail Virus-free.www.avast.com https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail <#DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>
On Tue, Apr 16, 2024 at 4:46 PM Sandeep Kumar < sandeep.kumar@telcovasworld.com> wrote:
Dear Harald,
After installing all the osmocom specific packages like libosmocore and other required packages . I am trying to build libosmo-sccp. We are facing below linking errors.
make[2]: Leaving directory '/home/Openstack/libosmo-sccp/tests' Making all in examples make[2]: Entering directory '/home/Openstack/libosmo-sccp/examples' CC sccp_demo_user.o CC sccp_test_server.o CC sccp_test_vty.o CCLD sccp_demo_user ../src/.libs/libosmo-sigtran.so: undefined reference to `osmo_sctp_spinfo_state_str' ../src/.libs/libosmo-sigtran.so: undefined reference to `osmo_sock_multiaddr_get_ip_and_port' ../src/.libs/libosmo-sigtran.so: undefined reference to `osmo_sock_multiaddr_del_local_addr' ../src/.libs/libosmo-sigtran.so: undefined reference to `osmo_stream_cli_get_iofd' ../src/.libs/libosmo-sigtran.so: undefined reference to `osmo_stream_cli_set_segmentation_cb' ../src/.libs/libosmo-sigtran.so: undefined reference to `osmo_stream_cli_get_fd' ../src/.libs/libosmo-sigtran.so: undefined reference to `osmo_stream_srv_get_fd' ../src/.libs/libosmo-sigtran.so: undefined reference to `osmo_sock_sctp_get_peer_addr_info' ../src/.libs/libosmo-sigtran.so: undefined reference to `osmo_multiaddr_ip_and_port_snprintf' ../src/.libs/libosmo-sigtran.so: undefined reference to `osmo_sctp_sstat_state_str' ../src/.libs/libosmo-sigtran.so: undefined reference to `osmo_stream_srv_get_iofd' ../src/.libs/libosmo-sigtran.so: undefined reference to `osmo_sock_multiaddr_add_local_addr' ../src/.libs/libosmo-sigtran.so: undefined reference to `osmo_stream_srv_link_get_fd' collect2: error: ld returned 1 exit status make[2]: *** [Makefile:376: sccp_demo_user] Error 1
We are also getting the warning while compiling the src folder of libosmo-sccp.
/home/Openstack/libosmo-sccp/src' CC sccp.o AR libsccp.a CC mtp_pcap.o AR libmtp.a CC libxua_a-xua_msg.o AR libxua.a CC ipa.lo CC m3ua.lo CC osmo_ss7.lo CC osmo_ss7_as.lo CC osmo_ss7_asp.lo osmo_ss7_asp.c: In function ‘ss7_asp_apply_new_local_address’: osmo_ss7_asp.c:209:8: warning: implicit declaration of function ‘osmo_stream_srv_get_fd’; did you mean ‘osmo_stream_srv_get_ofd’? [-Wimplicit-function-declaration] fd = osmo_stream_srv_get_fd(asp->server);
I checked the Makefile of /home/Openstack/libosmo-sccp/examples . It is using CCLD libosmo-sigtran.la libarary. Can you please help us why it is giving a linking error ?
I am using Redhat Centos 8 and below is the gcc version.
[root@ip-172-31-27-63 libosmo-sccp]# /bin/gcc -v Using built-in specs. COLLECT_GCC=/bin/gcc COLLECT_LTO_WRAPPER=/usr/libexec/gcc/x86_64-redhat-linux/8/lto-wrapper OFFLOAD_TARGET_NAMES=nvptx-none OFFLOAD_TARGET_DEFAULT=1 Target: x86_64-redhat-linux Configured with: ../configure --enable-bootstrap --enable-languages=c,c++,fortran,lto --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --with-bugurl= http://bugzilla.redhat.com/bugzilla --enable-shared --enable-threads=posix --enable-checking=release --enable-multilib --with-system-zlib --enable-__cxa_atexit --disable-libunwind-exceptions --enable-gnu-unique-object --enable-linker-build-id --with-gcc-major-version-only --with-linker-hash-style=gnu --enable-plugin --enable-initfini-array --with-isl --disable-libmpx --enable-offload-targets=nvptx-none --without-cuda-driver --enable-gnu-indirect-function --enable-cet --with-tune=generic --with-arch_32=x86-64 --build=x86_64-redhat-linux Thread model: posix gcc version 8.5.0 20210514 (Red Hat 8.5.0-21) (GCC) [root@ip-172-31-27-63 libosmo-sccp]#
Thanks in advance.
Regards, Sandeep Malik
On Mon, Apr 15, 2024 at 1:02 PM Harald Welte laforge@gnumonks.org wrote:
Dear Sandeep,
checking for LIBOSMOCORE... no configure: error: Package requirements (libosmocore >= 1.9.0) were not
met:
Package 'libosmocore', required by 'virtual:world', not found
I'm sorry to say, but if that message is not specific/helpful enough, then you do not appear to be a Linux software developer with sufficient background to build software packages from source code. Nothing about this is osmocom speficic.
In this case I'd strongly advise to simply use the pre-built binary packages we release, exactly for users who are users and not developers. See https://osmocom.org/projects/cellular-infrastructure/wiki/Binary_Packages
Thanks for your understanding, Harald
--
- Harald Welte laforge@gnumonks.org
============================================================================ "Privacy in residential applications is a desirable marketing option." (ETSI EN 300 175-7 Ch. A6)