[pulseaudio-discuss] Build problems with libltdl and bootstrap.sh

rdiezmail-pulseaudio at yahoo.de rdiezmail-pulseaudio at yahoo.de
Mon Aug 11 01:40:32 PDT 2008


Hi everyone:

I'm cross-compiling on cygwin for a PowerPC target, and after building most of PulseAudio, I came across the following build error:

  libtool: link: cannot find the library `../libltdl/libltdl.la' or unhandled argument `../libltdl/libltdl.la'

I realised (rather late) that bootstrap.sh should be run before ./configure . As far as I can see, that's not mentioned anywhere, and it's not something obvious to most people, I took me a while to figure that out.

So I downloaded the latest versions of m4 (1.4.11), autoconf (2.62), automake (1.9.6) and built them for cygwin. Then I downloaded the latest libtool (2.2.4) and cross-compiled it. Now I'm getting the following error messages from bootstrap.sh :

  configure.ac:34: error: possibly undefined macro: AC_SUBST
      If this token and others are legitimate, please use m4_pattern_allow.
      See the Autoconf documentation.
  configure.ac:72: error: possibly undefined macro: AC_DEFINE
  configure.ac:95: error: possibly undefined macro: AC_MSG_ERROR
  configure.ac:246: error: possibly undefined macro: AC_LTDL_ENABLE_INSTALL
  configure.ac:247: error: possibly undefined macro: AC_LIBLTDL_INSTALLABLE
  configure.ac:248: error: possibly undefined macro: AC_LIBTOOL_DLOPEN
  configure.ac:249: error: possibly undefined macro: AC_LIBTOOL_WIN32_DLL
  configure.ac:250: error: possibly undefined macro: AC_PROG_LIBTOOL
  configure.ac:257: error: possibly undefined macro: AC_CHECK_FUNCS
  configure.ac:440: error: possibly undefined macro: AM_ICONV

I don't know much about autoconf/automake/etc. , can anybody help?

The full output from bootstrap.sh is below.

Many thanks,
  Ruben

-> PATH_PREFIX=/cygdrive/c/Code/External/pulseaudio-0.9.11/release-prereq/m4-1.4.11/bin:/cygdrive/c/Code/External/pulseaudio-0.9.11/release-prereq/autoconf-2.62-bin/bin:/cygdrive/c/Code/External/pulseaudio-0.9.11/release-prereq/automake-1.9.6-bin/bin
+ '[' x = xam ']'
+ rm -rf autom4te.cache
+ rm -f config.cache
+ touch config.rpath
+ test x/cygdrive/c/Code/External/pulseaudio-0.9.11/release/libtool-2.2.4-bin/bin/libtoolize = x
+ /cygdrive/c/Code/External/pulseaudio-0.9.11/release/libtool-2.2.4-bin/bin/libtoolize -c --force --ltdl
libtoolize: putting auxiliary files in `.'.
libtoolize: copying file `./ltmain.sh'
libtoolize: putting auxiliary files in `.'.
libtoolize: copying file `libltdl/config/compile'
libtoolize: copying file `libltdl/config/config.guess'
libtoolize: copying file `libltdl/config/config.sub'
libtoolize: copying file `libltdl/config/depcomp'
libtoolize: copying file `libltdl/config/install-sh'
libtoolize: copying file `libltdl/config/missing'
libtoolize: copying file `libltdl/config/ltmain.sh'
libtoolize: putting macros in `libltdl/m4'.
libtoolize: copying file `libltdl/m4/argz.m4'
libtoolize: copying file `libltdl/m4/libtool.m4'
libtoolize: copying file `libltdl/m4/ltdl.m4'
libtoolize: copying file `libltdl/m4/ltoptions.m4'
libtoolize: copying file `libltdl/m4/ltsugar.m4'
libtoolize: copying file `libltdl/m4/ltversion.m4'
libtoolize: copying file `libltdl/m4/lt~obsolete.m4'
libtoolize: putting libltdl files in `libltdl'.
libtoolize: copying file `libltdl/COPYING.LIB'
libtoolize: copying file `libltdl/README'
libtoolize: copying file `libltdl/Makefile.am'
libtoolize: copying file `libltdl/configure.ac'
libtoolize: copying file `libltdl/aclocal.m4'
libtoolize: copying file `libltdl/Makefile.in'
libtoolize: copying file `libltdl/config-h.in'
libtoolize: copying file `libltdl/configure'
libtoolize: copying file `libltdl/argz_.h'
libtoolize: copying file `libltdl/argz.c'
libtoolize: copying file `libltdl/loaders/dld_link.c'
libtoolize: copying file `libltdl/loaders/dlopen.c'
libtoolize: copying file `libltdl/loaders/dyld.c'
libtoolize: copying file `libltdl/loaders/load_add_on.c'
libtoolize: copying file `libltdl/loaders/loadlibrary.c'
libtoolize: copying file `libltdl/loaders/shl_load.c'
libtoolize: copying file `libltdl/lt__dirent.c'
libtoolize: copying file `libltdl/lt__strl.c'
libtoolize: copying file `libltdl/libltdl/lt__alloc.h'
libtoolize: copying file `libltdl/libltdl/lt__dirent.h'
libtoolize: copying file `libltdl/libltdl/lt__glibc.h'
libtoolize: copying file `libltdl/libltdl/lt__private.h'
libtoolize: copying file `libltdl/libltdl/lt__strl.h'
libtoolize: copying file `libltdl/libltdl/lt_dlloader.h'
libtoolize: copying file `libltdl/libltdl/lt_error.h'
libtoolize: copying file `libltdl/libltdl/lt_system.h'
libtoolize: copying file `libltdl/libltdl/slist.h'
libtoolize: copying file `libltdl/loaders/preopen.c'
libtoolize: copying file `libltdl/lt__alloc.c'
libtoolize: copying file `libltdl/lt_dlloader.c'
libtoolize: copying file `libltdl/lt_error.c'
libtoolize: copying file `libltdl/ltdl.c'
libtoolize: copying file `libltdl/ltdl.h'
libtoolize: copying file `libltdl/slist.c'
libtoolize: You should add the contents of the following files to `aclocal.m4':
libtoolize:   `libltdl/m4/libtool.m4'
libtoolize:   `libltdl/m4/ltoptions.m4'
libtoolize:   `libltdl/m4/ltversion.m4'
libtoolize:   `libltdl/m4/ltsugar.m4'
libtoolize:   `libltdl/m4/lt~obsolete.m4'
libtoolize:   `libltdl/m4/argz.m4'
libtoolize:   `libltdl/m4/ltdl.m4'
libtoolize: or else add `AC_CONFIG_MACRO_DIR([libltdl/m4])' to configure.ac.
libtoolize: Remember to add `LTDL_INIT' to configure.ac.
libtoolize: Remember to add `LT_CONFIG_LTDL_DIR([libltdl])' to `configure.ac'.
libtoolize: Consider using `AC_CONFIG_AUX_DIR([libltdl/config])' in configure.ac.
libtoolize: Consider adding `-I m4' to ACLOCAL_AMFLAGS in Makefile.am.
+ run_versioned aclocal 1.10
+ local P
+ local V
++ echo 1.10
++ sed -e 's,\.,,g'
+ V=110
++ which aclocal110
+ '[' -e '' ']'
++ which aclocal-1.10
+ '[' -e '' ']'
+ P=aclocal
+ shift 2
+ aclocal
aclocal:configure.ac:427: warning: macro `AM_ICONV' not found in library
+ run_versioned autoconf 2.59 -Wall
+ local P
+ local V
++ echo 2.59
++ sed -e 's,\.,,g'
+ V=259
++ which autoconf259
+ '[' -e '' ']'
++ which autoconf-2.59
+ '[' -e '' ']'
+ P=autoconf
+ shift 2
+ autoconf -Wall
configure.ac:32: warning: The macro `AC_FOREACH' is obsolete.
configure.ac:32: You should run autoupdate.
../../lib/autoconf/general.m4:196: AC_FOREACH is expanded from...
aclocal.m4:694: _AM_SET_OPTIONS is expanded from...
aclocal.m4:368: AM_INIT_AUTOMAKE is expanded from...
configure.ac:32: the top level
configure.ac:89: warning: The macro `AC_GNU_SOURCE' is obsolete.
configure.ac:89: You should run autoupdate.
../../lib/autoconf/specific.m4:331: AC_GNU_SOURCE is expanded from...
configure.ac:89: the top level
configure.ac:128: warning: The macro `AC_HELP_STRING' is obsolete.
configure.ac:128: You should run autoupdate.
../../lib/autoconf/general.m4:209: AC_HELP_STRING is expanded from...
configure.ac:128: the top level
configure.ac:139: warning: The macro `AC_HELP_STRING' is obsolete.
configure.ac:139: You should run autoupdate.
configure.ac:139: the top level
configure.ac:342: warning: The macro `AC_TRY_COMPILE' is obsolete.
configure.ac:342: You should run autoupdate.
../../lib/autoconf/general.m4:2469: AC_TRY_COMPILE is expanded from...
acinclude.m4:349: AC_CHECK_DEFINE is expanded from...
configure.ac:342: the top level
configure.ac:349: warning: The macro `AC_TRY_COMPILE' is obsolete.
configure.ac:349: You should run autoupdate.
configure.ac:349: the top level
../../lib/m4sugar/m4sh.m4:508: AS_IF is expanded from...
configure.ac:355: warning: The macro `AC_LANG_SAVE' is obsolete.
configure.ac:355: You should run autoupdate.
../../lib/autoconf/lang.m4:148: AC_LANG_SAVE is expanded from...
acinclude.m4:53: ACX_PTHREAD is expanded from...
configure.ac:355: the top level
configure.ac:355: warning: The macro `AC_LANG_C' is obsolete.
configure.ac:355: You should run autoupdate.
../../lib/autoconf/c.m4:95: AC_LANG_C is expanded from...
configure.ac:355: warning: The macro `AC_TRY_LINK' is obsolete.
configure.ac:355: You should run autoupdate.
../../lib/autoconf/general.m4:2526: AC_TRY_LINK is expanded from...
configure.ac:355: warning: The macro `AC_LANG_RESTORE' is obsolete.
configure.ac:355: You should run autoupdate.
../../lib/autoconf/lang.m4:157: AC_LANG_RESTORE is expanded from...
configure.ac:468: warning: The macro `AC_HELP_STRING' is obsolete.
configure.ac:468: You should run autoupdate.
configure.ac:468: the top level
configure.ac:523: warning: The macro `AC_HELP_STRING' is obsolete.
configure.ac:523: You should run autoupdate.
configure.ac:523: the top level
configure.ac:558: warning: The macro `AC_HELP_STRING' is obsolete.
configure.ac:558: You should run autoupdate.
configure.ac:558: the top level
configure.ac:591: warning: The macro `AC_HELP_STRING' is obsolete.
configure.ac:591: You should run autoupdate.
configure.ac:591: the top level
configure.ac:625: warning: The macro `AC_HELP_STRING' is obsolete.
configure.ac:625: You should run autoupdate.
configure.ac:625: the top level
configure.ac:657: warning: The macro `AC_HELP_STRING' is obsolete.
configure.ac:657: You should run autoupdate.
configure.ac:657: the top level
configure.ac:688: warning: The macro `AC_HELP_STRING' is obsolete.
configure.ac:688: You should run autoupdate.
configure.ac:688: the top level
configure.ac:719: warning: The macro `AC_HELP_STRING' is obsolete.
configure.ac:719: You should run autoupdate.
configure.ac:719: the top level
configure.ac:756: warning: The macro `AC_HELP_STRING' is obsolete.
configure.ac:756: You should run autoupdate.
configure.ac:756: the top level
configure.ac:787: warning: The macro `AC_HELP_STRING' is obsolete.
configure.ac:787: You should run autoupdate.
configure.ac:787: the top level
configure.ac:822: warning: The macro `AC_HELP_STRING' is obsolete.
configure.ac:822: You should run autoupdate.
configure.ac:822: the top level
configure.ac:846: warning: The macro `AC_HELP_STRING' is obsolete.
configure.ac:846: You should run autoupdate.
configure.ac:846: the top level
configure.ac:872: warning: The macro `AC_HELP_STRING' is obsolete.
configure.ac:872: You should run autoupdate.
configure.ac:872: the top level
configure.ac:902: warning: The macro `AC_HELP_STRING' is obsolete.
configure.ac:902: You should run autoupdate.
configure.ac:902: the top level
configure.ac:932: warning: The macro `AC_HELP_STRING' is obsolete.
configure.ac:932: You should run autoupdate.
configure.ac:932: the top level
configure.ac:975: warning: The macro `AC_HELP_STRING' is obsolete.
configure.ac:975: You should run autoupdate.
configure.ac:975: the top level
configure.ac:1088: warning: The macro `AC_HELP_STRING' is obsolete.
configure.ac:1088: You should run autoupdate.
configure.ac:1088: the top level
configure.ac:1094: warning: The macro `AC_HELP_STRING' is obsolete.
configure.ac:1094: You should run autoupdate.
configure.ac:1094: the top level
configure.ac:1108: warning: The macro `AC_HELP_STRING' is obsolete.
configure.ac:1108: You should run autoupdate.
configure.ac:1108: the top level
configure.ac:1115: warning: The macro `AC_HELP_STRING' is obsolete.
configure.ac:1115: You should run autoupdate.
configure.ac:1115: the top level
configure.ac:34: error: possibly undefined macro: AC_SUBST
      If this token and others are legitimate, please use m4_pattern_allow.
      See the Autoconf documentation.
configure.ac:72: error: possibly undefined macro: AC_DEFINE
configure.ac:95: error: possibly undefined macro: AC_MSG_ERROR
configure.ac:246: error: possibly undefined macro: AC_LTDL_ENABLE_INSTALL
configure.ac:247: error: possibly undefined macro: AC_LIBLTDL_INSTALLABLE
configure.ac:248: error: possibly undefined macro: AC_LIBTOOL_DLOPEN
configure.ac:249: error: possibly undefined macro: AC_LIBTOOL_WIN32_DLL
configure.ac:250: error: possibly undefined macro: AC_PROG_LIBTOOL
configure.ac:257: error: possibly undefined macro: AC_CHECK_FUNCS
configure.ac:440: error: possibly undefined macro: AM_ICONV


__________________________________________________
Do You Yahoo!?
Sie sind Spam leid? Yahoo! Mail verfügt über einen herausragenden Schutz gegen Massenmails. 
http://mail.yahoo.com 



More information about the pulseaudio-discuss mailing list