[kaffe] autoreconf troubles [solved]

Mark Wielaard mark at klomp.org
Thu Jul 3 12:40:01 PDT 2003


Hi,

[While writing this email I resolved all problems. Just posting to get
it into the archive so someone else doesn't fall into this trap.

Summary: Make developers/autogen.sh executable and run it in the top
level directory if you want to regenerate the configure file it will
tell you what tools and what versions you need.]

My automake (1.7.5) doesn't like the fact that that SUBDIRS contains
sub/subdirs. The following seems to make it happy again.

--- Makefile.am 26 Jun 2003 09:26:11 -0000      1.42
+++ Makefile.am 3 Jul 2003 19:00:10 -0000
@@ -11,7 +11,7 @@
  
 AUTOMAKE_OPTIONS = foreign 1.3e
  
-SUBDIRS = . config include replace libltdl libraries/clib libraries/extensions kaffe libraries/javalib test
+SUBDIRS = . config include replace libltdl kaffe libraries test
  
 DIST_SUBDIRS = . config include replace libltdl kaffe libraries test
  
libraries/Makefile.am SUBDIRS already lists the clib extensions and
javalib directories.

Also aclocal (also 1.7.5) does not define a couple of macros when
generating aclocal.m4 so when autoconf (2.57) processes configure.in I
get:

configure.in:986: error: possibly undefined macro: AC_TYPE_SOCKLEN_T
      If this token and others are legitimate, please use m4_pattern_allow.
      See the Autoconf documentation.
configure.in:987: error: possibly undefined macro: AC_TYPE_IN_PORT_T
configure.in:988: error: possibly undefined macro: AC_DECL_H_ERRNO
configure.in:996: error: possibly undefined macro: AC_STRUCT_IN6_ADDR
configure.in:997: error: possibly undefined macro: AC_STRUCT_SOCKADDR_IN6
configure.in:998: error: possibly undefined macro: AC_STRUCT_SOCKADDR_STORAGE
configure.in:999: error: possibly undefined macro: AC_DECL_IN6ADDR_ANY
configure.in:1000: error: possibly undefined macro: AC_DECL_IN6ADDR_LOOPBACK
configure.in:1001: error: possibly undefined macro: AC_TYPE_SA_FAMILY_T
configure.in:1093: error: possibly undefined macro: AC_TYPE_VA_LIST
configure.in:1099: error: possibly undefined macro: AC_FUNC_VA_COPY
configure.in:1100: error: possibly undefined macro: AC_FUNC__VA_COPY
autoreconf: /usr/bin/autoconf failed with exit status: 1

OK. Found developers/autogen.sh. Made it executable and ran it from the
top level directory. It told me I needed libtool 1.5. If you use Debian
GNU/Linux see http://people.debian.org/~keybuk/libtool/

Cheers,

Mark

P.S. When running configure I get a couple of warnings:

configure: WARNING: asm/signal.h: present but cannot be compiled
configure: WARNING: asm/signal.h: check for missing prerequisite headers?
configure: WARNING: asm/signal.h: proceeding with the preprocessor's result
configure: WARNING:     ## ------------------------------------ ##
configure: WARNING:     ## Report this to bug-autoconf at gnu.org. ##
configure: WARNING:     ## ------------------------------------ ##

configure: WARNING: linux/netlink.h: present but cannot be compiled
configure: WARNING: linux/netlink.h: check for missing prerequisite headers?
configure: WARNING: linux/netlink.h: proceeding with the preprocessor's result
configure: WARNING:     ## ------------------------------------ ##
configure: WARNING:     ## Report this to bug-autoconf at gnu.org. ##
configure: WARNING:     ## ------------------------------------ ##

configure: WARNING: linux/rtnetlink.h: present but cannot be compiled
configure: WARNING: linux/rtnetlink.h: check for missing prerequisite headers?
configure: WARNING: linux/rtnetlink.h: proceeding with the preprocessor's result
configure: WARNING:     ## ------------------------------------ ##
configure: WARNING:     ## Report this to bug-autoconf at gnu.org. ##
configure: WARNING:     ## ------------------------------------ ##

Which according to
http://www.kaffe.org/pipermail/kaffe/2003-May/042060.html
are tricky to fix.






More information about the kaffe mailing list