[LINUX aTV] Error Compiling
#1
I'm trying to compile a new nightly build. I did it before with no errors, but I've got these with the last git pull in the ./bootstrap step...

Code:
configure.ac:45: error: possibly undefined macro: AC_LTDL_SHLIBEXT
      If this token and others are legitimate, please use m4_pattern_allow.
      See the Autoconf documentation.
configure.ac:46: error: possibly undefined macro: AC_LTDL_SHLIBPATH
configure.ac:47: error: possibly undefined macro: AC_LTDL_SYSSEARCHPATH
configure.ac:48: error: possibly undefined macro: AC_LTDL_OBJDIR
configure.ac:49: error: possibly undefined macro: AC_LTDL_DLLIB
configure.ac:50: error: possibly undefined macro: AC_LTDL_SYMBOL_USCORE
configure.ac:51: error: possibly undefined macro: AC_LTDL_DLSYM_USCORE
configure.ac:52: error: possibly undefined macro: AC_LTDL_SYS_DLOPEN_DEPLIBS
autoreconf: /usr/bin/autoconf failed with exit status: 1

This is the hole log:

http://pastebin.com/gwaSLcz9

BR
Reply
#2
To pass this error, just comment this line in bootstrap file

autoreconf -vif xbmc/screensavers/rsxs-0.9

But now, I've this error:

Code:
make[2]: Entering directory `/home/i5Js/extras/xbmc2/lib/ffmpeg'
LD    libavutil/avutil-50-i486-linux.so
libavutil/intfloat_readwrite.o: file not recognized: File format not recognized
collect2: ld returned 1 exit status
make[2]: *** [libavutil/avutil-50-i486-linux.so] Error 1
make[2]: Leaving directory `/home/i5Js/extras/xbmc2/lib/ffmpeg'
make[1]: *** [ffmpeg] Error 2
make[1]: Leaving directory `/home/i5Js/extras/xbmc2/lib'
make: *** [dvdpcodecs] Error 2
Reply
#3
I downloaded a fresh source code, this is the new error Smile

Code:
make[2]: Entering directory `/home/i5Js/extras/xbmc2/lib/cpluff/libcpluff'
/bin/bash ../libtool --tag=CC   --mode=compile /usr/bin/ccache gcc -DHAVE_CONFIG_H -I. -I..   -I.. -I../libcpluff -I../libcpluff -DNDEBUG -I. -DCP_C_API=CP_EXPORT -DCP_HOST="\"i686-pc-linux-gnu\"" -DCP_DATADIR="\"/usr/local/share\""  -fPIC -DPIC -D_REENTRANT -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -g -D_DEBUG -Wall -O2 -MT psymbol.lo -MD -MP -MF .deps/psymbol.Tpo -c -o psymbol.lo psymbol.c
../libtool: line 833: X--tag=CC: command not found
../libtool: line 866: libtool: ignoring unknown tag : command not found
../libtool: line 833: X--mode=compile: command not found
../libtool: line 1000: *** Warning: inferring the mode of operation is deprecated.: command not found
../libtool: line 1001: *** Future versions of Libtool will require --mode=MODE be specified.: command not found
../libtool: line 1031: libtool: warning: cannot infer operation mode from `/usr/bin/ccache': No such file or directory
../libtool: line 7122: libtool: you must specify a MODE: command not found
../libtool: line 7123: Try `libtool --help' for more information.: command not found
make[2]: *** [psymbol.lo] Error 1
make[2]: Leaving directory `/home/i5Js/extras/xbmc2/lib/cpluff/libcpluff'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/i5Js/extras/xbmc2/lib/cpluff/libcpluff'
make: *** [lib/cpluff/libcpluff/.libs/libcpluff.a] Error 2
Reply
#4
I was having this problem too (on a new ubuntu install) and I think I figured it out. I needed to install libltdl7 and libltdl-dev, and the bootstrap completed normally. Looks like there was a change that requires it. Not finished compiling yet, but bootstrap completed successfully when I installed those packages.
Reply
#5
I can't find this packages in ubuntu 8.04 Sad, I've installed libltdl3-dev instead...

Trying again...

EDIT1: bootstrap worked like a charm... compiling!
EDIT2: You are right!, Failed

Code:
/bin/bash ../libtool --tag=CC   --mode=compile /usr/bin/ccache gcc -DHAVE_CONFIG_H -I. -I..   -I.. -I../libcpluff -I../libcpluff -DNDEBUG -I. -DCP_C_API=CP_EXPORT -DCP_HOST="\"i686-pc-linux-gnu\"" -DCP_DATADIR="\"/usr/local/share\""  -fPIC -DPIC -D_REENTRANT -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -g -D_DEBUG -Wall -O2 -MT pscan.lo -MD -MP -MF .deps/pscan.Tpo -c -o pscan.lo pscan.c
../libtool: line 833: X--tag=CC: command not found
../libtool: line 866: libtool: ignoring unknown tag : command not found
../libtool: line 833: X--tag=CC: command not found
../libtool: line 833: X--mode=compile: command not found
../libtool: line 866: libtool: ignoring unknown tag : command not found
../libtool: line 833: X--mode=compile: command not found
../libtool: line 1000: *** Warning: inferring the mode of operation is deprecated.: command not found
../libtool: line 1001: *** Future versions of Libtool will require --mode=MODE be specified.: command not found
../libtool: line 1031: libtool: warning: cannot infer operation mode from `/usr/bin/ccache': No such file or directory
../libtool: line 7122: libtool: you must specify a MODE: command not found
../libtool: line 7123: Try `libtool --help' for more information.: command not found
../libtool: line 1000: *** Warning: inferring the mode of operation is deprecated.: command not found
../libtool: line 1001: *** Future versions of Libtool will require --mode=MODE be specified.: command not found
make[2]: *** [psymbol.lo] Error 1
make[2]: *** Waiting for unfinished jobs....
make -C xbmc
../libtool: line 1031: libtool: warning: cannot infer operation mode from `/usr/bin/ccache': No such file or directory
../libtool: line 7122: libtool: you must specify a MODE: command not found
../libtool: line 7123: Try `libtool --help' for more information.: command not found
make[2]: *** [pscan.lo] Error 1
make[2]: Leaving directory `/home/i5Js/extras/xbmc2/lib/cpluff/libcpluff'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/i5Js/extras/xbmc2/lib/cpluff/libcpluff'
make: *** [lib/cpluff/libcpluff/.libs/libcpluff.a] Error 2
make: *** Waiting for unfinished jobs....
make[1]: Entering directory `/home/i5Js/extras/xbmc2/xbmc'
make[1]: `xbmc.a' is up to date.
make[1]: Leaving directory `/home/i5Js/extras/xbmc2/xbmc'
Reply
#6
git trunk ?, that issue was fixed a week or so ago.
Reply
#7
davilla Wrote:git trunk ?, that issue was fixed a week or so ago.

Code:
i5Js@pre-atv:~/extras/xbmc2$ git pull git://github.com/xbmc/xbmc master
Already up-to-date.

Huh?
Reply
#8
"X--tag=CC: command not found" is a libtool issue where there's a mix of old/new libtools bits.

in bootstrap is 'autoreconf -vif lib/cpluff', that should recreate what libtool needs.

inside lib/cpluff/m4 are various m4 macros. one or more of these might need to be deleted if the autoreconf does not replace an existing one.

you could remove them all, then bootstrap and see what it makes, then restore the ones it does not make.
Reply
#9
Ok, theses are the step I did:

Code:
i5Js@pre-atv:~/extras/xbmc2/lib/cpluff$ mv m4 m4.org
i5Js@pre-atv:~/extras/xbmc2/lib/cpluff$ mkdir m4
i5Js@pre-atv:~/extras/xbmc2/$ ./boostrap
i5Js@pre-atv:~/extras/xbmc2/$ cd lib/cpluff
i5Js@pre-atv:~/extras/xbmc2/lib/cpluff$ diff m4 m4.org
Only in m4.org: libtool.m4
Only in m4.org: lt~obsolete.m4
Only in m4.org: ltoptions.m4
Only in m4.org: ltsugar.m4
Only in m4.org: ltversion.m4
i5Js@pre-atv:~/extras/xbmc2/lib/cpluff$ cd m4.org
i5Js@pre-atv:~/extras/xbmc2/lib/cpluff/m4.org$ cp libtool.m4 lt~obsolete.m4 ltoptions.m4 ltsugar.m4 ltversion.m4 ../m4

"making" right now, without errors I hope.

EDIT1: Error again Sad

Code:
./libtool: line 824: X--tag=CC: command not found
./libtool: line 857: libtool: ignoring unknown tag : command not found
./libtool: line 824: X--mode=compile: command not found
./libtool: line 991: *** Warning: inferring the mode of operation is deprecated.: command not found
./libtool: line 992: *** Future versions of Libtool will require --mode=MODE be specified.: command not found
./libtool: line 1022: libtool: warning: cannot infer operation mode from `/usr/bin/ccache': No such file or directory
./libtool: line 7113: libtool: you must specify a MODE: command not found
./libtool: line 7114: Try `libtool --help' for more information.: command not found
make[2]: *** [apetaglib.lo] Error 1
make[2]: Leaving directory `/home/i5Js/extras/xbmc2/lib/libapetag'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/home/i5Js/extras/xbmc2/lib/libapetag'
make: *** [lib/libapetag/.libs/libapetag.a] Error 2
Reply
#10
different place, lib/libapetag

rinse/repeat Smile

keep track of which files in m4 need to be removed and I'll update git trunk.
Reply
#11
did it under xbmc/lib/libapetag/m4, but bootsrap didn't create the files inside..

Code:
autoreconf: Entering directory `.'
autoreconf: configure.in: not using Gettext
autoreconf: running: aclocal --force
autoreconf: configure.in: tracing
autoreconf: running: libtoolize --copy --force
Putting files in AC_CONFIG_AUX_DIR, `build-aux'.
autoreconf: running: /usr/bin/autoconf --force
autoreconf: running: /usr/bin/autoheader --force
autoreconf: running: automake --add-missing --copy --force-missing
autoreconf: Leaving directory `.'
autoreconf: Entering directory `lib/libid3tag/libid3tag'
autoreconf: configure.ac: not using Gettext
autoreconf: running: aclocal --force
autoreconf: configure.ac: tracing
autoreconf: running: libtoolize --copy --force
autoreconf: running: /usr/bin/autoconf --force
autoreconf: running: /usr/bin/autoheader --force
autoreconf: running: automake --add-missing --copy --force-missing
Makefile.am:87: whitespace following trailing backslash
autoreconf: Leaving directory `lib/libid3tag/libid3tag'
autoreconf: Entering directory `xbmc/screensavers/rsxs-0.9'
autoreconf: configure.ac: not using Gettext
autoreconf: running: aclocal --force -I m4
configure.ac:63: warning: LT_PATH_LD is m4_require'd but not m4_defun'd
configure.ac:34: MAC_LIB_LTDL is expanded from...
configure.ac:63: the top level
configure.ac:63: warning: LTSUGAR_VERSION is m4_require'd but not m4_defun'd
configure.ac:81: warning: AC_COMPILE_IFELSE was called before AC_USE_SYSTEM_EXTENSIONS
../../lib/autoconf/specific.m4:389: AC_USE_SYSTEM_EXTENSIONS is expanded from...
../../lib/autoconf/functions.m4:1656: AC_FUNC_STRNLEN is expanded from...
m4/strnlen.m4:7: gl_FUNC_STRNLEN is expanded from...
m4/gnulib-comp.m4:29: gl_INIT is expanded from...
configure.ac:81: the top level
configure.ac:81: warning: AC_RUN_IFELSE was called before AC_USE_SYSTEM_EXTENSIONS
autoreconf: configure.ac: tracing
configure.ac:63: warning: LT_PATH_LD is m4_require'd but not m4_defun'd
configure.ac:34: MAC_LIB_LTDL is expanded from...
configure.ac:63: the top level
configure.ac:63: warning: LTSUGAR_VERSION is m4_require'd but not m4_defun'd
configure.ac:81: warning: AC_COMPILE_IFELSE was called before AC_USE_SYSTEM_EXTENSIONS
../../lib/autoconf/specific.m4:389: AC_USE_SYSTEM_EXTENSIONS is expanded from...
../../lib/autoconf/functions.m4:1656: AC_FUNC_STRNLEN is expanded from...
m4/strnlen.m4:7: gl_FUNC_STRNLEN is expanded from...
m4/gnulib-comp.m4:29: gl_INIT is expanded from...
configure.ac:81: the top level
configure.ac:81: warning: AC_RUN_IFELSE was called before AC_USE_SYSTEM_EXTENSIONS
autoreconf: configure.ac: not using Libtool
autoreconf: running: /usr/bin/autoconf --force
configure.ac:63: warning: LT_PATH_LD is m4_require'd but not m4_defun'd
configure.ac:34: MAC_LIB_LTDL is expanded from...
configure.ac:63: the top level
configure.ac:63: warning: LTSUGAR_VERSION is m4_require'd but not m4_defun'd
configure.ac:81: warning: AC_COMPILE_IFELSE was called before AC_USE_SYSTEM_EXTENSIONS
../../lib/autoconf/specific.m4:389: AC_USE_SYSTEM_EXTENSIONS is expanded from...
../../lib/autoconf/functions.m4:1656: AC_FUNC_STRNLEN is expanded from...
m4/strnlen.m4:7: gl_FUNC_STRNLEN is expanded from...
m4/gnulib-comp.m4:29: gl_INIT is expanded from...
configure.ac:81: the top level
configure.ac:81: warning: AC_RUN_IFELSE was called before AC_USE_SYSTEM_EXTENSIONS
autoreconf: running: /usr/bin/autoheader --force
configure.ac:63: warning: LT_PATH_LD is m4_require'd but not m4_defun'd
configure.ac:34: MAC_LIB_LTDL is expanded from...
configure.ac:63: the top level
configure.ac:63: warning: LTSUGAR_VERSION is m4_require'd but not m4_defun'd
configure.ac:81: warning: AC_COMPILE_IFELSE was called before AC_USE_SYSTEM_EXTENSIONS
../../lib/autoconf/specific.m4:389: AC_USE_SYSTEM_EXTENSIONS is expanded from...
../../lib/autoconf/functions.m4:1656: AC_FUNC_STRNLEN is expanded from...
m4/strnlen.m4:7: gl_FUNC_STRNLEN is expanded from...
m4/gnulib-comp.m4:29: gl_INIT is expanded from...
configure.ac:81: the top level
configure.ac:81: warning: AC_RUN_IFELSE was called before AC_USE_SYSTEM_EXTENSIONS
autoreconf: running: automake --add-missing --copy --force-missing
configure.ac:63: warning: LT_PATH_LD is m4_require'd but not m4_defun'd
configure.ac:34: MAC_LIB_LTDL is expanded from...
configure.ac:63: the top level
configure.ac:63: warning: LTSUGAR_VERSION is m4_require'd but not m4_defun'd
configure.ac:81: warning: AC_COMPILE_IFELSE was called before AC_USE_SYSTEM_EXTENSIONS
../../lib/autoconf/specific.m4:389: AC_USE_SYSTEM_EXTENSIONS is expanded from...
../../lib/autoconf/functions.m4:1656: AC_FUNC_STRNLEN is expanded from...
m4/strnlen.m4:7: gl_FUNC_STRNLEN is expanded from...
m4/gnulib-comp.m4:29: gl_INIT is expanded from...
configure.ac:81: the top level
configure.ac:81: warning: AC_RUN_IFELSE was called before AC_USE_SYSTEM_EXTENSIONS
autoreconf: Leaving directory `xbmc/screensavers/rsxs-0.9'
autoreconf: Entering directory `lib/libapetag'
autoreconf: configure.in: not using Gettext
autoreconf: running: aclocal --force -I m4
autoreconf: configure.in: tracing
autoreconf: running: libtoolize --copy --force
autoreconf: running: /usr/bin/autoconf --force
autoreconf: running: /usr/bin/autoheader --force
autoreconf: running: automake --add-missing --copy --force-missing
autoreconf: Leaving directory `lib/libapetag'
autoreconf: Entering directory `lib/cpluff'
autoreconf: running: autopoint --force
autoreconf: running: aclocal --force -I m4
autoreconf: configure.ac: tracing
autoreconf: running: libtoolize --copy --force
Putting files in AC_CONFIG_AUX_DIR, `auxliary'.
autoreconf: running: /usr/bin/autoconf --force
autoreconf: running: /usr/bin/autoheader --force
autoreconf: running: automake --add-missing --copy --force-missing
autoreconf: Leaving directory `lib/cpluff'
autoreconf: Entering directory `lib/libdvd/libdvdcss'
autoreconf: configure.ac: not using Gettext
autoreconf: running: aclocal --force
autoreconf: configure.ac: tracing
autoreconf: running: libtoolize --copy --force
Putting files in AC_CONFIG_AUX_DIR, `.auto'.
autoreconf: running: /usr/bin/autoconf --force
autoreconf: running: /usr/bin/autoheader --force
autoreconf: running: automake --add-missing --copy --force-missing
test/Makefile.am:4: compiling `csstest.c' with per-target flags requires `AM_PROG_CC_C_O' in `configure.ac'
autoreconf: Leaving directory `lib/libdvd/libdvdcss'
autoreconf: Entering directory `lib/libdvd/libdvdread'
autoreconf: configure.ac: not using Gettext
autoreconf: running: aclocal --force
autoreconf: configure.ac: tracing
autoreconf: running: libtoolize --copy --force
autoreconf: running: /usr/bin/autoconf --force
autoreconf: running: /usr/bin/autoheader --force
autoreconf: running: automake --add-missing --copy --force-missing
autoreconf: Leaving directory `lib/libdvd/libdvdread'
autoreconf: Entering directory `lib/libdvd/libdvdnav'
autoreconf: configure.ac: not using Gettext
autoreconf: running: aclocal --force
autoreconf: configure.ac: tracing
autoreconf: running: libtoolize --copy --force
autoreconf: running: /usr/bin/autoconf --force
autoreconf: running: /usr/bin/autoheader --force
autoreconf: running: automake --add-missing --copy --force-missing
autoreconf: Leaving directory `lib/libdvd/libdvdnav'
Please (re)run configure...
Reply
#12
Compiled successfully... Just erase all under xbmc/lib/libapetag/m4

BR
Reply
#13
new "make error" with the last pull:

Code:
make xbmc/cores/DllLoader/exports/exports.a
make[1]: Entering directory `/home/i5Js/extras/xbmc2'
make -C xbmc/cores/DllLoader/exports
make[2]: Entering directory `/home/i5Js/extras/xbmc2/xbmc/cores/DllLoader/exports'
CPP     emu_msvcrt.o
In file included from emu_msvcrt.cpp:67:
/home/i5Js/extras/xbmc2/xbmc/threads/SingleLock.h:27:34: error: boost/thread/locks.hpp: No such file or directory
In file included from emu_msvcrt.cpp:67:
/home/i5Js/extras/xbmc2/xbmc/threads/SingleLock.h:34: error: expected template-name before ‘<’ token
/home/i5Js/extras/xbmc2/xbmc/threads/SingleLock.h:34: error: expected `{' before ‘<’ token
/home/i5Js/extras/xbmc2/xbmc/threads/SingleLock.h:34: error: expected unqualified-id before ‘<’ token
make[2]: *** [emu_msvcrt.o] Error 1
make[2]: Leaving directory `/home/i5Js/extras/xbmc2/xbmc/cores/DllLoader/exports'
make[1]: *** [xbmc/cores/DllLoader/exports/exports.a] Error 2
make[1]: Leaving directory `/home/i5Js/extras/xbmc2'
make: *** [exports] Error 2
Reply
#14
the error still there in the last pull
Reply
#15
more specific please.
Reply

Logout Mark Read Team Forum Stats Members Help
[LINUX aTV] Error Compiling0