[yocto] libtool version mismatch

autif khan autif.mlist at gmail.com
Tue Jan 24 08:13:47 PST 2012


On Tue, Jan 24, 2012 at 10:44 AM, Khem Raj <raj.khem at gmail.com> wrote:
> On Tue, Jan 24, 2012 at 7:18 AM, autif khan <autif.mlist at gmail.com> wrote:
>> Error:
>> | libtool: Version mismatch error.  This is libtool 2.4, but the
>> | libtool: definition of this LT_INIT comes from libtool 2.2.6.
>> | libtool: You should recreate aclocal.m4 with macros from libtool 2.4
>> | libtool: and run autoconf again.
>> | make[3]: *** [allchblk.lo] Error 63
>
> this says it all and we do that regeneration automatically for recipes
> which inherit autotools

It seems that way, but I can not explain the following behavior.

1) I can grep autoreconf in log.do_configure
2) When I add do_configure_prepend() {autoreconf --force --install
-Wcorss} this issue seems to go away.

So, I am confused, but not lost - as it seems like this updated recipe
seems to work.

I have attached logs for before and after the changes specified in 2 (above)

> you need to post your recipes for someone to look at what you are doing

Still a work in progress:

SUMMARY = "An Open Source implementation of the Microsoft's .NET Framework"
DESCRIPTION = "This is part of the Mono project - http://mono-project.com"
HOMEPAGE = "http://mono-project.com"
BUGTRACKER = "http://bugzilla.xamarin.com/"
SECTION = "devel"
LICENSE = "GPLv2"
LIC_FILES_CHKSUM = "file://COPYING.LIB;md5=58d09de7e50ecdbafcf97e7eb5d0c34a"

SRC_URI = "http://download.mono-project.com/sources/mono/mono-${PV}.tar.bz2 \
           file://mono-2.6.7/mono/mini/Makefile.in.1.diff \
           file://mono-2.6.7/mono/profiler/Makefile.in.2.diff"

inherit autotools pkgconfig

DEPENDS =+ "libgdiplus"

PR = "r0"

SRC_URI[md5sum] = "cc8b7bf061bd11fbd0fcc1c95eb79d34"
SRC_URI[sha256sum] =
"ae21a997d72e2fb8ea88644c87ab52471e9c97117b937e205ea1835b5a028ce4"
EXTRA_OECONF += "--disable-mcs-build mono_cv_uscore=no
--with-tls=pthread --with-sigaltstack=no"

do_configure_prepend() {
    autoreconf -Wcross --verbose --install --force || bbnote "mono
failed to autoreconf"
}

do_compile_prepend() {
    ln -s i586-poky-linux-libtool libtool
}
-------------- next part --------------
A non-text attachment was scrubbed...
Name: mono.temp.tar.gz
Type: application/x-gzip
Size: 39515 bytes
Desc: not available
URL: <http://lists.yoctoproject.org/pipermail/yocto/attachments/20120124/09e75eaf/attachment.bin>


More information about the yocto mailing list