Page 1 of 1

Automake error in ld

Posted: Fri Jul 24, 2020 6:29 am
by nexos
Hello,
I am building my binutils toolchain, but ran into a problem with ld. When running automake on ld, I get the error
Makefile.am:1934: error: Libtool library used but 'LIBTOOL' is undefined
Makefile.am:1934: The usual way to define 'LIBTOOL' is to add 'LT_INIT'
Makefile.am:1934: to 'configure.ac' and run 'aclocal' and 'autoconf' again.
Makefile.am:1934: If 'LT_INIT' is in 'configure.ac', make sure
Makefile.am:1934: its definition is in aclocal's search path.
I have the packages libtool and libtool-bin installed. Also I have autoconf 2.65, automake 1.16.1, and libtool 2.46
Thanks,
nexos

Re: Automake error in ld

Posted: Fri Jul 24, 2020 6:39 am
by nexos
It is already in there is whats strange.

Re: Automake error in ld

Posted: Fri Jul 24, 2020 6:41 am
by crosssans
nexos wrote:It is already in there is whats strange.
I actually misread your initial post, so I thought that this was your own project; my bad #-o - I have found this on SO, suggesting to run `libtoolize` + `aclocal` + `autoheader`: https://stackoverflow.com/questions/189 ... -undefined

Re: Automake error in ld

Posted: Fri Jul 24, 2020 7:06 am
by nexos
I managed to fix it but now get the error make[4]: *** No rule to make target 'LIB_PATH=''', needed by 'eelf_x86_64_nexos.c'. Stop. when building binutils,