Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

ltconfig version `' does not match ltmain.sh

Help
hellwoofa
2005-11-21
2013-04-23
  • hellwoofa
    hellwoofa
    2005-11-21

    Heyho!

    I wrote this already to hjelmm, but to be sure, here my error post again :)

    I tried to build the util with your sourcecode but am encountering some problems: no matter if i configure w/o options or with --without-libusb --without-usbdevfs, when I do "make" i get the following error:

    [jakob@arch rioutil-1.5.0br3]$ make
    Making all in librioutil
    make[1]: Entering directory `/home/jakob/rioutil-1.5.0br3/librioutil'
    source='rio.c' object='rio.lo' libtool=yes \ depfile='.deps/rio.Plo' tmpdepfile='.deps/rio.TPlo' \ depmode=gcc3 /bin/sh ../depcomp \ /bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../include -I../include    -g -O2 -c -o rio.lo `test -f 'rio.c' || echo './'`rio.c
    libtool: ltconfig version `' does not match ltmain.sh version `1.4a'
    Fatal configuration error.  See the libtool docs for more information.
    make[1]: *** [rio.lo] Fehler 1
    make[1]: Leaving directory `/home/jakob/rioutil-1.5.0br3/librioutil'
    make: *** [all-recursive] Fehler 1

    then i looked up for my version of libtool and updated all the files (ltconfig and so on) where i could find VERSION=1.4a to 1.5.20-2, but now i get the same error with the newer version...

    [jakob@arch rioutil-1.5.0br3]$ make
    Making all in librioutil
    make[1]: Entering directory `/home/jakob/rioutil-1.5.0br3/librioutil'
    source='rio.c' object='rio.lo' libtool=yes \ depfile='.deps/rio.Plo' tmpdepfile='.deps/rio.TPlo' \ depmode=gcc3 /bin/sh ../depcomp \ /bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../include -I../include    -g -O2 -c -o rio.lo `test -f 'rio.c' || echo './'`rio.c
    libtool: ltconfig version `' does not match ltmain.sh version `1.5.20-2'
    Fatal configuration error.  See the libtool docs for more information.
    make[1]: *** [rio.lo] Fehler 1
    make[1]: Leaving directory `/home/jakob/rioutil-1.5.0br3/librioutil'
    make: *** [all-recursive] Fehler 1

    Since this is the first time im doing some configure/make-action in linux, im not sure if i did the mistake or if it is somewhere in the source code, so i would be very happy if you could help me :)

    greetings,

    hellwoofa

     
    • kyled
      kyled
      2005-12-04

      I ran into this same issue earlier.

      in the extracted directory run this:
      libtoolize --force

      after this everything went through fine.

       
      • hellwoofa
        hellwoofa
        2005-12-05

        Hm...i did libtoolize in the extrated dir but still it doesnt work (with other errors, though)
        i hope my sterr output may help here:

        --------------------------------------------------------
        file_list.c: In function 'hdfile_to_mcfile':
        file_list.c:91: warning: pointer targets in passing argument 2 of '__builtin_strncpy' differ in signedness
        file_list.c:92: warning: pointer targets in passing argument 2 of '__builtin_strncpy' differ in signedness
        file_list.c:93: warning: pointer targets in passing argument 2 of '__builtin_strncpy' differ in signedness
        file_list.c:94: warning: pointer targets in passing argument 2 of '__builtin_strncpy' differ in signedness
        file_list.c: In function 'generate_flist_riohd':
        file_list.c:137: error: invalid lvalue in assignment
        file_list.c:152: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness
        file_list.c:157: warning: pointer targets in passing argument 1 of 'strstr' differ in signedness
        file_list.c: In function 'flist_add_rio':
        file_list.c:259: warning: pointer targets in passing argument 2 of '__builtin_strncpy' differ in signedness
        file_list.c:261: warning: pointer targets in passing argument 2 of '__builtin_strncpy' differ in signedness
        make[1]: *** [file_list.lo] Fehler 1
        make: *** [all-recursive] Fehler 1
        --------------------------------------------------------

        my stdout looks like that:
        --------------------------------------------------------
        Making all in librioutil
        make[1]: Entering directory `/var/abs/jakob/rioutil-1.5.0br3/librioutil'
        source='file_list.c' object='file_list.lo' libtool=yes \ depfile='.deps/file_list.Plo' tmpdepfile='.deps/file_list.TPlo' \ depmode=gcc3 /bin/sh ../depcomp \ /bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../include -I../include    -g -O2 -c -o file_list.lo `test -f 'file_list.c' || echo './'`file_list.c
        gcc -DHAVE_CONFIG_H -I. -I. -I../include -I../include -g -O2 -c file_list.c -MT file_list.lo -MD -MP -MF .deps/file_list.TPlo  -fPIC -DPIC -o .libs/file_list.o
        make[1]: Leaving directory `/var/abs/jakob/rioutil-1.5.0br3/librioutil'

        --------------------------------------------------------

        I cant figure it out, sorry

        Greets,

        hellwoofa