openaicellular / srsRAN-e2

srsRAN cellular stack enabled with the E2 agent
GNU Affero General Public License v3.0
8 stars 3 forks source link

Issues building asn1c #4

Closed jgaeddert closed 2 years ago

jgaeddert commented 2 years ago

Additional packages needed:

sudo apt install libtool autoconf

Even still,

autoreconf -iv
autoreconf: Entering directory `.'
autoreconf: configure.ac: not using Gettext
autoreconf: running: aclocal -I m4
configure.ac:6: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body
../../lib/autoconf/lang.m4:193: AC_LANG_CONFTEST is expanded from...
../../lib/autoconf/general.m4:2672: _AC_LINK_IFELSE is expanded from...
../../lib/autoconf/general.m4:2689: AC_LINK_IFELSE is expanded from...
m4/libtool.m4:1018: _LT_SYS_MODULE_PATH_AIX is expanded from...
m4/libtool.m4:4127: _LT_LINKER_SHLIBS is expanded from...
m4/libtool.m4:5198: _LT_LANG_C_CONFIG is expanded from...
m4/libtool.m4:138: _LT_SETUP is expanded from...
m4/libtool.m4:67: LT_INIT is expanded from...
m4/libtool.m4:103: AM_PROG_LIBTOOL is expanded from...
configure.ac:6: the top level
configure.ac:6: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body
../../lib/autoconf/lang.m4:193: AC_LANG_CONFTEST is expanded from...
../../lib/autoconf/general.m4:2672: _AC_LINK_IFELSE is expanded from...
../../lib/autoconf/general.m4:2689: AC_LINK_IFELSE is expanded from...
m4/libtool.m4:4127: _LT_LINKER_SHLIBS is expanded from...
m4/libtool.m4:5198: _LT_LANG_C_CONFIG is expanded from...
m4/libtool.m4:138: _LT_SETUP is expanded from...
m4/libtool.m4:67: LT_INIT is expanded from...
m4/libtool.m4:103: AM_PROG_LIBTOOL is expanded from...
configure.ac:6: the top level
configure.ac:6: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body
../../lib/autoconf/lang.m4:193: AC_LANG_CONFTEST is expanded from...
../../lib/autoconf/general.m4:2672: _AC_LINK_IFELSE is expanded from...
../../lib/autoconf/general.m4:2689: AC_LINK_IFELSE is expanded from...
m4/libtool.m4:1018: _LT_SYS_MODULE_PATH_AIX is expanded from...
m4/libtool.m4:4127: _LT_LINKER_SHLIBS is expanded from...
m4/libtool.m4:5198: _LT_LANG_C_CONFIG is expanded from...
m4/libtool.m4:138: _LT_SETUP is expanded from...
m4/libtool.m4:67: LT_INIT is expanded from...
m4/libtool.m4:103: AM_PROG_LIBTOOL is expanded from...
configure.ac:6: the top level
configure.ac:6: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body
../../lib/autoconf/lang.m4:193: AC_LANG_CONFTEST is expanded from...
../../lib/autoconf/general.m4:2672: _AC_LINK_IFELSE is expanded from...
../../lib/autoconf/general.m4:2689: AC_LINK_IFELSE is expanded from...
m4/libtool.m4:4127: _LT_LINKER_SHLIBS is expanded from...
m4/libtool.m4:5198: _LT_LANG_C_CONFIG is expanded from...
m4/libtool.m4:138: _LT_SETUP is expanded from...
m4/libtool.m4:67: LT_INIT is expanded from...
m4/libtool.m4:103: AM_PROG_LIBTOOL is expanded from...
configure.ac:6: the top level
autoreconf: configure.ac: tracing
configure.ac:6: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body
../../lib/autoconf/lang.m4:193: AC_LANG_CONFTEST is expanded from...
../../lib/autoconf/general.m4:2672: _AC_LINK_IFELSE is expanded from...
../../lib/autoconf/general.m4:2689: AC_LINK_IFELSE is expanded from...
m4/libtool.m4:1018: _LT_SYS_MODULE_PATH_AIX is expanded from...
m4/libtool.m4:4127: _LT_LINKER_SHLIBS is expanded from...
m4/libtool.m4:5198: _LT_LANG_C_CONFIG is expanded from...
m4/libtool.m4:138: _LT_SETUP is expanded from...
m4/libtool.m4:67: LT_INIT is expanded from...
m4/libtool.m4:103: AM_PROG_LIBTOOL is expanded from...
configure.ac:6: the top level
configure.ac:6: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body
../../lib/autoconf/lang.m4:193: AC_LANG_CONFTEST is expanded from...
../../lib/autoconf/general.m4:2672: _AC_LINK_IFELSE is expanded from...
../../lib/autoconf/general.m4:2689: AC_LINK_IFELSE is expanded from...
m4/libtool.m4:4127: _LT_LINKER_SHLIBS is expanded from...
m4/libtool.m4:5198: _LT_LANG_C_CONFIG is expanded from...
m4/libtool.m4:138: _LT_SETUP is expanded from...
m4/libtool.m4:67: LT_INIT is expanded from...
m4/libtool.m4:103: AM_PROG_LIBTOOL is expanded from...
configure.ac:6: the top level
autoreconf: running: libtoolize --copy
libtoolize: putting auxiliary files in '.'.
libtoolize: copying file './ltmain.sh'
libtoolize: putting macros in AC_CONFIG_MACRO_DIRS, 'm4'.
libtoolize: copying file 'm4/libtool.m4'
libtoolize: copying file 'm4/ltoptions.m4'
libtoolize: copying file 'm4/ltsugar.m4'
libtoolize: copying file 'm4/ltversion.m4'
libtoolize: copying file 'm4/lt~obsolete.m4'
autoreconf: running: /usr/bin/autoconf
autoreconf: running: /usr/bin/autoheader
autoreconf: running: automake --add-missing --copy --no-force
configure.ac:6: installing './compile'
parallel-tests: installing './test-driver'
automake: warnings are treated as errors
/usr/share/automake-1.16/am/ltlibrary.am: warning: 'libasn1compiler.la': linking libtool libraries using a non-POSIX
/usr/share/automake-1.16/am/ltlibrary.am: archiver requires 'AM_PROG_AR' in 'configure.ac'
libasn1compiler/Makefile.am:8:   while processing Libtool library 'libasn1compiler.la'
/usr/share/automake-1.16/am/ltlibrary.am: warning: 'libasn1fix.la': linking libtool libraries using a non-POSIX
/usr/share/automake-1.16/am/ltlibrary.am: archiver requires 'AM_PROG_AR' in 'configure.ac'
libasn1fix/Makefile.am:6:   while processing Libtool library 'libasn1fix.la'
/usr/share/automake-1.16/am/ltlibrary.am: warning: 'libasn1parser.la': linking libtool libraries using a non-POSIX
/usr/share/automake-1.16/am/ltlibrary.am: archiver requires 'AM_PROG_AR' in 'configure.ac'
libasn1parser/Makefile.am:6:   while processing Libtool library 'libasn1parser.la'
/usr/share/automake-1.16/am/ltlibrary.am: warning: 'libasn1print.la': linking libtool libraries using a non-POSIX
/usr/share/automake-1.16/am/ltlibrary.am: archiver requires 'AM_PROG_AR' in 'configure.ac'
libasn1print/Makefile.am:7:   while processing Libtool library 'libasn1print.la'
/usr/share/automake-1.16/am/ltlibrary.am: warning: 'libasn1cskeletons.la': linking libtool libraries using a non-POSIX
/usr/share/automake-1.16/am/ltlibrary.am: archiver requires 'AM_PROG_AR' in 'configure.ac'
skeletons/Makefile.am:13:   while processing Libtool library 'libasn1cskeletons.la'
autoreconf: automake failed with exit status: 1
jgaeddert commented 2 years ago

Is there a reason we have to install from source? Can't we install using a package manager, via sudo apt-get install asn1c?

jgaeddert commented 2 years ago

OBE. I recompiled and it worked fine.

jgaeddert commented 2 years ago

@pratheeksu Actually, your recent note git checkout velichkov_s1ap_plus_option_group fixed it. I thought I had mistakenly skipped this line, but realized you just now added it. Thanks!

pratheeksu commented 2 years ago

@jgaeddert Thanks for pointing this issue out. I'll update the instruction set to include the additional libraries (libtool, autoconf).