[yocto] Building with ltdl

akuster808 akuster808 at gmail.com
Thu Jan 21 06:55:28 PST 2016



On 01/20/2016 12:32 AM, Gary Thomas wrote:
> I'm trying to build a project (graphviz) which wants to use ltdl
> which is part of libtool.  However when I try to build, I get
> these errors (during configure):

This did build for me a while back. I have a meta-layer that created a
long time ago.  Current master fails for me too. I will try fido and
jethro to help narrow what are the issue may be in.

- armin
> 
> | NOTE: Executing ACLOCAL="aclocal
> --system-acdir=/local/p0382_2016-01-13/tmp/work/cortexa9hf-vfp-neon-amltd-linux-gnueabi/graphviz/2.38.0-r0/graphviz-2.38.0/aclocal-copy/"
> autoreconf --verbose --install --force --exclude=autopoint -I
> /local/p0382_2016-01-13/tmp/work/cortexa9hf-vfp-neon-amltd-linux-gnueabi/graphviz/2.38.0-r0/graphviz-2.38.0/
> -I
> /local/p0382_2016-01-13/tmp/work/cortexa9hf-vfp-neon-amltd-linux-gnueabi/graphviz/2.38.0-r0/graphviz-2.38.0/m4/
> 
> | autoreconf: Entering directory `.'
> | autoreconf: configure.ac: not using Gettext
> | autoreconf: running: aclocal
> --system-acdir=/local/p0382_2016-01-13/tmp/work/cortexa9hf-vfp-neon-amltd-linux-gnueabi/graphviz/2.38.0-r0/graphviz-2.38.0/aclocal-copy/
> -I
> /local/p0382_2016-01-13/tmp/work/cortexa9hf-vfp-neon-amltd-linux-gnueabi/graphviz/2.38.0-r0/graphviz-2.38.0/
> -I
> /local/p0382_2016-01-13/tmp/work/cortexa9hf-vfp-neon-amltd-linux-gnueabi/graphviz/2.38.0-r0/graphviz-2.38.0/m4/
> -I
> /local/p0382_2016-01-13/tmp/work/cortexa9hf-vfp-neon-amltd-linux-gnueabi/graphviz/2.38.0-r0/graphviz-2.38.0/
> -I
> /local/p0382_2016-01-13/tmp/work/cortexa9hf-vfp-neon-amltd-linux-gnueabi/graphviz/2.38.0-r0/graphviz-2.38.0/m4/
> --force -I m4
> | autoreconf: configure.ac: tracing
> | autoreconf: configure.ac: adding subdirectory libltdl to autoreconf
> | autoreconf: Entering directory `libltdl'
> | autoreconf: running: libtoolize --copy --force --ltdl
> | libtoolize: putting auxiliary files in AC_CONFIG_AUX_DIR, 'config'.
> | libtoolize: copying file 'config/compile'
> | libtoolize: copying file 'config/config.guess'
> | libtoolize: copying file 'config/config.sub'
> | libtoolize: copying file 'config/depcomp'
> | libtoolize: copying file 'config/install-sh'
> | libtoolize: copying file 'config/missing'
> | libtoolize: copying file 'config/ltmain.sh'
> | libtoolize: putting macros in AC_CONFIG_MACRO_DIRS, 'm4'.
> | libtoolize: copying file 'm4/libtool.m4'
> | libtoolize: You should add the contents of 'm4/libtool.m4' to
> 'aclocal.m4'.
> | libtoolize: copying file 'm4/ltargz.m4'
> | libtoolize: You should add the contents of 'm4/ltargz.m4' to
> 'aclocal.m4'.
> | libtoolize: copying file 'm4/ltdl.m4'
> | libtoolize: You should add the contents of 'm4/ltdl.m4' to 'aclocal.m4'.
> | libtoolize: copying file 'm4/ltoptions.m4'
> | libtoolize: You should add the contents of 'm4/ltoptions.m4' to
> 'aclocal.m4'.
> | libtoolize: copying file 'm4/ltsugar.m4'
> | libtoolize: You should add the contents of 'm4/ltsugar.m4' to
> 'aclocal.m4'.
> | libtoolize: copying file 'm4/ltversion.m4'
> | libtoolize: copying file 'm4/lt~obsolete.m4'
> | libtoolize: You should add the contents of 'm4/lt~obsolete.m4' to
> 'aclocal.m4'.
> | libtoolize: putting libltdl files in LT_CONFIG_LTDL_DIR, '.'.
> | libtoolize: copying file './COPYING.LIB'
> | libtoolize: creating file './Makefile.am'
> | libtoolize: copying file './README'
> | libtoolize: creating file './configure.ac'
> | libtoolize: creating file './aclocal.m4'
> | libtoolize: creating file './Makefile.in'
> | libtoolize: copying file './config-h.in'
> | libtoolize: creating file './configure'
> | libtoolize: copying file './libltdl/lt__alloc.h'
> | libtoolize: copying file './libltdl/lt__argz_.h'
> | libtoolize: copying file './libltdl/lt__dirent.h'
> | libtoolize: copying file './libltdl/lt__glibc.h'
> | libtoolize: copying file './libltdl/lt__private.h'
> | libtoolize: copying file './libltdl/lt__strl.h'
> | libtoolize: copying file './libltdl/lt_dlloader.h'
> | libtoolize: copying file './libltdl/lt_error.h'
> | libtoolize: copying file './libltdl/lt_system.h'
> | libtoolize: copying file './libltdl/slist.h'
> | libtoolize: copying file './loaders/dld_link.c'
> | libtoolize: copying file './loaders/dlopen.c'
> | libtoolize: copying file './loaders/dyld.c'
> | libtoolize: copying file './loaders/load_add_on.c'
> | libtoolize: copying file './loaders/loadlibrary.c'
> | libtoolize: copying file './loaders/preopen.c'
> | libtoolize: copying file './loaders/shl_load.c'
> | libtoolize: copying file './lt__alloc.c'
> | libtoolize: copying file './lt__argz.c'
> | libtoolize: copying file './lt__dirent.c'
> | libtoolize: copying file './lt__strl.c'
> | libtoolize: copying file './lt_dlloader.c'
> | libtoolize: copying file './lt_error.c'
> | libtoolize: copying file './ltdl.c'
> | libtoolize: copying file './ltdl.h'
> | libtoolize: copying file './slist.c'
> | libtoolize: Remember to add 'LTDL_INIT' to configure.ac.
> | autoreconf: running:
> /local/p0382_2016-01-13/tmp/sysroots/x86_64-linux/usr/bin/autoconf
> --include=/local/p0382_2016-01-13/tmp/work/cortexa9hf-vfp-neon-amltd-linux-gnueabi/graphviz/2.38.0-r0/graphviz-2.38.0/
> --include=/local/p0382_2016-01-13/tmp/work/cortexa9hf-vfp-neon-amltd-linux-gnueabi/graphviz/2.38.0-r0/graphviz-2.38.0/m4/
> --force
> | autoreconf: running:
> /local/p0382_2016-01-13/tmp/sysroots/x86_64-linux/usr/bin/autoheader
> --include=/local/p0382_2016-01-13/tmp/work/cortexa9hf-vfp-neon-amltd-linux-gnueabi/graphviz/2.38.0-r0/graphviz-2.38.0/
> --include=/local/p0382_2016-01-13/tmp/work/cortexa9hf-vfp-neon-amltd-linux-gnueabi/graphviz/2.38.0-r0/graphviz-2.38.0/m4/
> --force
> | autoreconf: running: automake --add-missing --copy --force-missing
> | configure.ac:76: error: required file './argz.c' not found
> | autoreconf: automake failed with exit status: 1
> 
> The original sources has a libltdl directory with argz.c but this
> is being overwritten during the autoreconf process.
> 
> Any suggestions on how I get this to work?
> 
> Thanks
> 



More information about the yocto mailing list