Skip to content

autoconf failure on jdk1/gnuclasspath #1

Description

@jedavies-dev

First off great work. Really glad someone's doing this, much appreciated.

I'm building this on a strange system (fork of kiss which has clang/llvm instead of gcc and is running on powerpc64). So the build error may be related to that. I will continue investigating this since this is likely the case.

But in case you've seen this before, I got as far as building gnuclasspath in the jdk1 stage. Then I got the below error. Am I missing anything obvious? I have libtool installed.

patching file native/jni/java-io/java_io_VMFile.c
autoreconf: export WARNINGS=
autoreconf: Entering directory '.'
autoreconf: configure.ac: not using Gettext
autoreconf: running: aclocal --force -I m4 ${LOCAL_AUTORECONF_FLAGS}
autoreconf: configure.ac: tracing
autoreconf: running: libtoolize --copy --force
libtoolize: putting auxiliary files in '.'.
libtoolize: copying file './ltmain.sh'
libtoolize: putting macros in AC_CONFIG_MACRO_DIRS, 'm4'.
libtoolize: copying file 'm4/libtool.m4'
libtoolize: copying file 'm4/ltoptions.m4'
libtoolize: copying file 'm4/ltsugar.m4'
libtoolize: copying file 'm4/ltversion.m4'
libtoolize: copying file 'm4/lt~obsolete.m4'
autoreconf: configure.ac: not using Intltool
autoreconf: configure.ac: not using Gtkdoc
autoreconf: running: aclocal --force -I m4 ${LOCAL_AUTORECONF_FLAGS}
autoreconf: running: /usr/bin/autoconf --force
configure.ac:408: warning: The macro `AC_HEADER_STDC' is obsolete.
configure.ac:408: You should run autoupdate.
./lib/autoconf/headers.m4:704: AC_HEADER_STDC is expanded from...
configure.ac:408: the top level
configure.ac:412: warning: The macro `AC_TRY_COMPILE' is obsolete.
configure.ac:412: You should run autoupdate.
./lib/autoconf/general.m4:2847: AC_TRY_COMPILE is expanded from...
lib/m4sugar/m4sh.m4:692: _AS_IF_ELSE is expanded from...
lib/m4sugar/m4sh.m4:699: AS_IF is expanded from...
./lib/autoconf/general.m4:2249: AC_CACHE_VAL is expanded from...
m4/accross.m4:1: AC_COMPILE_CHECK_SIZEOF is expanded from...
configure.ac:412: the top level
configure.ac:415: warning: The macro `AC_TRY_COMPILE' is obsolete.
configure.ac:415: You should run autoupdate.
./lib/autoconf/general.m4:2847: AC_TRY_COMPILE is expanded from...
lib/m4sugar/m4sh.m4:692: _AS_IF_ELSE is expanded from...
lib/m4sugar/m4sh.m4:699: AS_IF is expanded from...
./lib/autoconf/general.m4:2249: AC_CACHE_VAL is expanded from...
./lib/autoconf/general.m4:2270: AC_CACHE_CHECK is expanded from...
m4/accross.m4:27: AC_C_BIGENDIAN_CROSS is expanded from...
configure.ac:415: the top level
configure.ac:415: warning: The macro `AC_TRY_COMPILE' is obsolete.
configure.ac:415: You should run autoupdate.
./lib/autoconf/general.m4:2847: AC_TRY_COMPILE is expanded from...
lib/m4sugar/m4sh.m4:699: AS_IF is expanded from...
./lib/autoconf/general.m4:2823: _AC_COMPILE_IFELSE is expanded from...
./lib/autoconf/general.m4:2839: AC_COMPILE_IFELSE is expanded from...
./lib/autoconf/general.m4:2847: AC_TRY_COMPILE is expanded from...
lib/m4sugar/m4sh.m4:692: _AS_IF_ELSE is expanded from...
lib/m4sugar/m4sh.m4:699: AS_IF is expanded from...
./lib/autoconf/general.m4:2249: AC_CACHE_VAL is expanded from...
./lib/autoconf/general.m4:2270: AC_CACHE_CHECK is expanded from...
m4/accross.m4:27: AC_C_BIGENDIAN_CROSS is expanded from...
configure.ac:415: the top level
configure.ac:415: warning: The macro `AC_TRY_RUN' is obsolete.
configure.ac:415: You should run autoupdate.
./lib/autoconf/general.m4:2997: AC_TRY_RUN is expanded from...
lib/m4sugar/m4sh.m4:692: _AS_IF_ELSE is expanded from...
lib/m4sugar/m4sh.m4:699: AS_IF is expanded from...
./lib/autoconf/general.m4:2249: AC_CACHE_VAL is expanded from...
./lib/autoconf/general.m4:2270: AC_CACHE_CHECK is expanded from...
m4/accross.m4:27: AC_C_BIGENDIAN_CROSS is expanded from...
configure.ac:415: the top level
configure.ac:415: warning: The macro `AC_FD_MSG' is obsolete.
configure.ac:415: You should run autoupdate.
./lib/autoconf/general.m4:400: AC_FD_MSG is expanded from...
lib/m4sugar/m4sh.m4:699: AS_IF is expanded from...
./lib/autoconf/general.m4:2981: AC_RUN_IFELSE is expanded from...
./lib/autoconf/general.m4:2997: AC_TRY_RUN is expanded from...
lib/m4sugar/m4sh.m4:692: _AS_IF_ELSE is expanded from...
lib/m4sugar/m4sh.m4:699: AS_IF is expanded from...
./lib/autoconf/general.m4:2249: AC_CACHE_VAL is expanded from...
./lib/autoconf/general.m4:2270: AC_CACHE_CHECK is expanded from...
m4/accross.m4:27: AC_C_BIGENDIAN_CROSS is expanded from...
configure.ac:415: the top level
configure.ac:415: warning: The macro `AC_FD_MSG' is obsolete.
configure.ac:415: You should run autoupdate.
./lib/autoconf/general.m4:400: AC_FD_MSG is expanded from...
m4/accross.m4:27: AC_C_BIGENDIAN_CROSS is expanded from...
configure.ac:415: the top level
configure.ac:446: warning: AC_CHECK_FUNCS(\): you should use literals
./lib/autoconf/functions.m4:117: AC_CHECK_FUNCS is expanded from...
configure.ac:446: the top level
configure.ac:472: warning: The macro `AC_HEADER_TIME' is obsolete.
configure.ac:472: You should run autoupdate.
./lib/autoconf/headers.m4:743: AC_HEADER_TIME is expanded from...
configure.ac:472: the top level
configure.ac:504: warning: AC_LIB_PREPARE_PREFIX is m4_require'd but not m4_defun'd
m4/iconv.m4:11: AM_ICONV_LINKFLAGS_BODY is expanded from...
m4/iconv.m4:22: AM_ICONV_LINK is expanded from...
m4/iconv.m4:77: AM_ICONV is expanded from...
configure.ac:504: the top level
configure.ac:504: warning: AC_LIB_RPATH is m4_require'd but not m4_defun'd
m4/iconv.m4:11: AM_ICONV_LINKFLAGS_BODY is expanded from...
m4/iconv.m4:22: AM_ICONV_LINK is expanded from...
m4/iconv.m4:77: AM_ICONV is expanded from...
configure.ac:504: the top level
configure.ac:504: warning: The macro `AC_TRY_LINK' is obsolete.
configure.ac:504: You should run autoupdate.
./lib/autoconf/general.m4:2920: AC_TRY_LINK is expanded from...
lib/m4sugar/m4sh.m4:692: _AS_IF_ELSE is expanded from...
lib/m4sugar/m4sh.m4:699: AS_IF is expanded from...
./lib/autoconf/general.m4:2249: AC_CACHE_VAL is expanded from...
./lib/autoconf/general.m4:2270: AC_CACHE_CHECK is expanded from...
m4/iconv.m4:22: AM_ICONV_LINK is expanded from...
m4/iconv.m4:77: AM_ICONV is expanded from...
configure.ac:504: the top level
configure.ac:504: warning: The macro `AC_TRY_COMPILE' is obsolete.
configure.ac:504: You should run autoupdate.
./lib/autoconf/general.m4:2847: AC_TRY_COMPILE is expanded from...
lib/m4sugar/m4sh.m4:692: _AS_IF_ELSE is expanded from...
lib/m4sugar/m4sh.m4:699: AS_IF is expanded from...
./lib/autoconf/general.m4:2249: AC_CACHE_VAL is expanded from...
m4/iconv.m4:77: AM_ICONV is expanded from...
configure.ac:504: the top level
configure.ac:981: warning: The macro `AC_TRY_COMPILE' is obsolete.
configure.ac:981: You should run autoupdate.
./lib/autoconf/general.m4:2847: AC_TRY_COMPILE is expanded from...
lib/m4sugar/m4sh.m4:692: _AS_IF_ELSE is expanded from...
lib/m4sugar/m4sh.m4:699: AS_IF is expanded from...
./lib/autoconf/general.m4:2249: AC_CACHE_VAL is expanded from...
m4/ax_create_stdint_h.m4:134: AX_CREATE_STDINT_H is expanded from...
configure.ac:981: the top level
configure.ac:1011: warning: The macro `AC_FD_CC' is obsolete.
configure.ac:1011: You should run autoupdate.
./lib/autoconf/general.m4:399: AC_FD_CC is expanded from...
lib/m4sugar/m4sh.m4:692: _AS_IF_ELSE is expanded from...
lib/m4sugar/m4sh.m4:699: AS_IF is expanded from...
./lib/autoconf/general.m4:2249: AC_CACHE_VAL is expanded from...
./lib/autoconf/general.m4:2270: AC_CACHE_CHECK is expanded from...
m4/ac_prog_java_works.m4:4: AC_PROG_JAVA_WORKS is expanded from...
configure.ac:1011: the top level
configure.ac:1011: warning: The macro `AC_FD_CC' is obsolete.
configure.ac:1011: You should run autoupdate.
./lib/autoconf/general.m4:399: AC_FD_CC is expanded from...
lib/m4sugar/m4sh.m4:692: _AS_IF_ELSE is expanded from...
lib/m4sugar/m4sh.m4:699: AS_IF is expanded from...
./lib/autoconf/general.m4:2249: AC_CACHE_VAL is expanded from...
./lib/autoconf/general.m4:2270: AC_CACHE_CHECK is expanded from...
lib/m4sugar/m4sh.m4:692: _AS_IF_ELSE is expanded from...
lib/m4sugar/m4sh.m4:699: AS_IF is expanded from...
./lib/autoconf/general.m4:2249: AC_CACHE_VAL is expanded from...
./lib/autoconf/general.m4:2270: AC_CACHE_CHECK is expanded from...
m4/ac_prog_java_works.m4:4: AC_PROG_JAVA_WORKS is expanded from...
configure.ac:1011: the top level
configure:20697: error: possibly undefined macro: AC_LIB_PREPARE_PREFIX
      If this token and others are legitimate, please use m4_pattern_allow.
      See the Autoconf documentation.
configure:20698: error: possibly undefined macro: AC_LIB_RPATH
configure:20703: error: possibly undefined macro: AC_LIB_LINKFLAGS_BODY
configure:20711: error: possibly undefined macro: AC_LIB_APPENDTOVAR
autoreconf: error: /usr/bin/autoconf failed with exit status: 1

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions