 
            Dera Team,
I am facing this error.
[root@ip-172-31-27-63 libosmo-sccp]# ./configure.ac ./configure.ac: line 1: dnl: command not found ./configure.ac: line 2: syntax error near unexpected token `[libosmo-sccp],' ./configure.ac: line 2: `AC_INIT([libosmo-sccp],' [root@ip-172-31-27-63 libosmo-sccp]#
Kindly help here . Thanks .
Regards, Sandeep Malik
 
            Dear Sandeep,
On Fri, Apr 12, 2024 at 11:31:18AM +0530, Sandeep Kumar wrote:
I am facing this error.
[root@ip-172-31-27-63 libosmo-sccp]# ./configure.ac
configure.ac is not a shell script nor an executable program.
It is an autoconfig file. Please read up on autotools basics like they have remained unchanged for decades. A quick online search found for example https://devmanual.gentoo.org/general-concepts/autotools/index.html#the-confi...
or of course the official documentation at https://www.gnu.org/savannah-checkouts/gnu/autoconf/manual/autoconf-2.72/aut...
The usual build sequence is something like
autoreconf -fi ./configure make
 
            Dear Harald,
Thanks for your help.
After running autoreconf it is generating a configure script . When I am running the ./configure script then I am facing below error.
[root@ip-172-31-27-63 libosmo-sccp]# ./configure
checking pkg-config is at least version 0.20... yes checking for LIBOSMOCORE... no configure: error: Package requirements (libosmocore >= 1.9.0) were not met:
Package 'libosmocore', required by 'virtual:world', not found
Consider adjusting the PKG_CONFIG_PATH environment variable if you installed software in a non-standard prefix.
Alternatively, you may set the environment variables LIBOSMOCORE_CFLAGS and LIBOSMOCORE_LIBS to avoid the need to call pkg-config. See the pkg-config man page for more details. [root@ip-172-31-27-63 libosmo-sccp]#
Kindly help me with this . Thanks in advance.
Regards, Sandeep Malik
On Sat, Apr 13, 2024 at 10:30 PM Harald Welte laforge@osmocom.org wrote:
Dear Sandeep,
On Fri, Apr 12, 2024 at 11:31:18AM +0530, Sandeep Kumar wrote:
I am facing this error.
[root@ip-172-31-27-63 libosmo-sccp]# ./configure.ac
configure.ac is not a shell script nor an executable program.
It is an autoconfig file. Please read up on autotools basics like they have remained unchanged for decades. A quick online search found for example https://devmanual.gentoo.org/general-concepts/autotools/index.html#the-confi...
or of course the official documentation at
https://www.gnu.org/savannah-checkouts/gnu/autoconf/manual/autoconf-2.72/aut...
The usual build sequence is something like
autoreconf -fi ./configure make
--
- Harald Welte laforge@osmocom.org
============================================================================ "Privacy in residential applications is a desirable marketing option." (ETSI EN 300 175-7 Ch. A6)
 
            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
 
            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)
 
            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)
 
            The things you are asking are well documented, and a common standard across many software projects.
Please see https://osmocom.org/projects/cellular-infrastructure/wiki/Binary_Packages and https://osmocom.org/projects/cellular-infrastructure/wiki/Build_from_source and https://osmocom.org/projects/cellular-infrastructure/wiki/Osmocom_Network_In...
Try the examples you should find in there.
~N
On Mon, Apr 15, 2024 at 10:38:17AM +0530, Sandeep Kumar wrote:
Dear Harald,
Thanks for your help.
After running autoreconf it is generating a configure script . When I am running the ./configure script then I am facing below error.
[root@ip-172-31-27-63 libosmo-sccp]# ./configure
checking pkg-config is at least version 0.20... yes checking for LIBOSMOCORE... no configure: error: Package requirements (libosmocore >= 1.9.0) were not met:
Package 'libosmocore', required by 'virtual:world', not found
Consider adjusting the PKG_CONFIG_PATH environment variable if you installed software in a non-standard prefix.
Alternatively, you may set the environment variables LIBOSMOCORE_CFLAGS and LIBOSMOCORE_LIBS to avoid the need to call pkg-config. See the pkg-config man page for more details. [root@ip-172-31-27-63 libosmo-sccp]#
Kindly help me with this . Thanks in advance.
Regards, Sandeep Malik
On Sat, Apr 13, 2024 at 10:30 PM Harald Welte laforge@osmocom.org wrote:
Dear Sandeep,
On Fri, Apr 12, 2024 at 11:31:18AM +0530, Sandeep Kumar wrote:
I am facing this error.
[root@ip-172-31-27-63 libosmo-sccp]# ./configure.ac
configure.ac is not a shell script nor an executable program.
It is an autoconfig file. Please read up on autotools basics like they have remained unchanged for decades. A quick online search found for example https://devmanual.gentoo.org/general-concepts/autotools/index.html#the-confi...
or of course the official documentation at
https://www.gnu.org/savannah-checkouts/gnu/autoconf/manual/autoconf-2.72/aut...
The usual build sequence is something like
autoreconf -fi ./configure make
--
- Harald Welte laforge@osmocom.org
============================================================================ "Privacy in residential applications is a desirable marketing option." (ETSI EN 300 175-7 Ch. A6)
 
            Dear Neels,
Thanks for your support.
Regards, Sandeep Malik
On Tue, Apr 30, 2024 at 6:03 AM Neels Hofmeyr nhofmeyr@sysmocom.de wrote:
The things you are asking are well documented, and a common standard across many software projects.
Please see https://osmocom.org/projects/cellular-infrastructure/wiki/Binary_Packages and https://osmocom.org/projects/cellular-infrastructure/wiki/Build_from_source and
https://osmocom.org/projects/cellular-infrastructure/wiki/Osmocom_Network_In...
Try the examples you should find in there.
~N
On Mon, Apr 15, 2024 at 10:38:17AM +0530, Sandeep Kumar wrote:
Dear Harald,
Thanks for your help.
After running autoreconf it is generating a configure script . When I am running the ./configure script then I am facing below error.
[root@ip-172-31-27-63 libosmo-sccp]# ./configure
checking pkg-config is at least version 0.20... yes checking for LIBOSMOCORE... no configure: error: Package requirements (libosmocore >= 1.9.0) were not
met:
Package 'libosmocore', required by 'virtual:world', not found
Consider adjusting the PKG_CONFIG_PATH environment variable if you installed software in a non-standard prefix.
Alternatively, you may set the environment variables LIBOSMOCORE_CFLAGS and LIBOSMOCORE_LIBS to avoid the need to call pkg-config. See the pkg-config man page for more details. [root@ip-172-31-27-63 libosmo-sccp]#
Kindly help me with this . Thanks in advance.
Regards, Sandeep Malik
On Sat, Apr 13, 2024 at 10:30 PM Harald Welte laforge@osmocom.org
wrote:
Dear Sandeep,
On Fri, Apr 12, 2024 at 11:31:18AM +0530, Sandeep Kumar wrote:
I am facing this error.
[root@ip-172-31-27-63 libosmo-sccp]# ./configure.ac
configure.ac is not a shell script nor an executable program.
It is an autoconfig file. Please read up on autotools basics like they have remained unchanged for decades. A quick online search found for example
https://devmanual.gentoo.org/general-concepts/autotools/index.html#the-confi...
or of course the official documentation at
https://www.gnu.org/savannah-checkouts/gnu/autoconf/manual/autoconf-2.72/aut...
The usual build sequence is something like
autoreconf -fi ./configure make
--
- Harald Welte laforge@osmocom.org
============================================================================
"Privacy in residential applications is a desirable marketing option." (ETSI EN 300 175-7
Ch.
A6)
--
- Neels Hofmeyr nhofmeyr@sysmocom.de https://www.sysmocom.de/
=======================================================================
- sysmocom - systems for mobile communications GmbH
- Siemensstr. 26a
- 10551 Berlin, Germany
- Sitz / Registered office: Berlin, HRB 134158 B
- Geschaeftsfuehrer / Managing Director: Harald Welte



