AnsweredAssumed Answered

libtool: Version mismatch error.

Question asked by John Cheng on Sep 30, 2014
Latest reply on Sep 30, 2014 by igorpadykov

make  all-recursive

make[1]: Entering directory `/home/archimage/mx28_evk/ltib/rpm/BUILD/libusb-0.1.8'

Making all in .

make[2]: Entering directory `/home/archimage/mx28_evk/ltib/rpm/BUILD/libusb-0.1.8'

if /bin/bash ./libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.      -MT usb.lo -MD -MP -MF ".deps/usb.Tpo" \

      -c -o usb.lo `test -f 'usb.c' || echo './'`usb.c; \

    then mv -f ".deps/usb.Tpo" ".deps/usb.Plo"; \

    else rm -f ".deps/usb.Tpo"; exit 1; \

    fi

if /bin/bash ./libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.      -MT error.lo -MD -MP -MF ".deps/error.Tpo" \

      -c -o error.lo `test -f 'error.c' || echo './'`error.c; \

    then mv -f ".deps/error.Tpo" ".deps/error.Plo"; \

    else rm -f ".deps/error.Tpo"; exit 1; \

    fi

if /bin/bash ./libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.      -MT descriptors.lo -MD -MP -MF ".deps/descriptors.Tpo" \

      -c -o descriptors.lo `test -f 'descriptors.c' || echo './'`descriptors.c; \

    then mv -f ".deps/descriptors.Tpo" ".deps/descriptors.Plo"; \

    else rm -f ".deps/descriptors.Tpo"; exit 1; \

    fi

if /bin/bash ./libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.      -MT linux.lo -MD -MP -MF ".deps/linux.Tpo" \

      -c -o linux.lo `test -f 'linux.c' || echo './'`linux.c; \

    then mv -f ".deps/linux.Tpo" ".deps/linux.Plo"; \

    else rm -f ".deps/linux.Tpo"; exit 1; \

    fi

./libtool: line 469: CDPATH: command not found

./libtool: line 469: CDPATH: command not found

./libtool: line 469: CDPATH: command not found

./libtool: line 469: CDPATH: command not found

libtool: Version mismatch error.  This is libtool 2.4.2, but the

libtool: definition of this LT_INIT comes from an older release.

libtool: You should recreate aclocal.m4 with macros from libtool 2.4.2

libtool: and run autoconf again.

libtool: Version mismatch error.  This is libtool 2.4.2, but the

libtool: definition of this LT_INIT comes from an older release.

libtool: You should recreate aclocal.m4 with macros from libtool 2.4.2

libtool: and run autoconf again.

libtool: Version mismatch error.  This is libtool 2.4.2, but the

libtool: definition of this LT_INIT comes from an older release.

libtool: You should recreate aclocal.m4 with macros from libtool 2.4.2

libtool: and run autoconf again.

make[2]: *** [error.lo] Error 1

make[2]: *** Waiting for unfinished jobs....

make[2]: *** [linux.lo] Error 1

libtool: Version mismatch error.  This is libtool 2.4.2, but the

libtool: definition of this LT_INIT comes from an older release.

libtool: You should recreate aclocal.m4 with macros from libtool 2.4.2

libtool: and run autoconf again.

make[2]: *** [usb.lo] Error 1

make[2]: *** [descriptors.lo] Error 1

make[2]: Leaving directory `/home/archimage/mx28_evk/ltib/rpm/BUILD/libusb-0.1.8'

make[1]: *** [all-recursive] Error 1

make[1]: Leaving directory `/home/archimage/mx28_evk/ltib/rpm/BUILD/libusb-0.1.8'

make: *** [all] Error 2

error: Bad exit status from /home/archimage/mx28_evk/ltib/tmp/rpm-tmp.42346 (%build)

 

 

RPM build errors:

    Bad exit status from /home/archimage/mx28_evk/ltib/tmp/rpm-tmp.42346 (%build)

Build time for libusb: 8 seconds

 

Failed building libusb

 

 

f_buildrpms() returned an error, exiting

traceback:

main:572

 

 

Started: Tue Sep 30 14:27:03 2014

Ended:   Tue Sep 30 14:28:44 2014

Elapsed: 101 seconds

 

These packages failed to build:

libusb

 

Build Failed

 

Exiting on error or interrupt

 

/************************************************************************************************************************************************************************/

Dear all,

           when i build the ltib, I ran into the above question, how should I resolve the problem?

 

host system: ubuntu 10.04LTS

demo board: i.mx28_evk

 

Best Regards,

Outcomes