help-hurd
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

failing macro ac_try_compile(r?) while issuing autoconf


From: Etienne Robillard
Subject: failing macro ac_try_compile(r?) while issuing autoconf
Date: Thu, 6 Feb 2003 11:32:04 -0500 (EST)

Hi, 

This morning I configured mach/mig on
i386-unknown-freebsd4.7 machine type and it seem's to
work. (at least I got migcom installed on
$prefix/libexec...)

However, I cannot configure Hurd for the moment
because of the following line (~1631) in configure:
 
AC_TRY_COMPILER(main(){return(0);},
ac_cv_prog_cc_works, ac_cv_prog_cc_cross)
...

By tracing autoconf, I noticed the following
ambiguities between AC_TRY_COMPILER and
AC_TRY_COMPILE) :

autoconf: running autom4te -v -d --language=autoconf
--output=- --trace=AC_TRY_COMPILER configur
e.in
autom4te: formatting traces for
`/tmp/t4dEjzDb/dependencies': include, m4_include
autom4te: up_to_date (autom4te.cache/traces.0): up to
date
autom4te: the trace request object is:
$VAR1 = bless( [
                 '0',
                 1,
                 [
                   '/usr/local/share/autoconf'
                 ],
                 [
                  
'--reload-state=/usr/local/share/autoconf/autoconf/autoconf.m4f',
                   'aclocal.m4',
                   'configure.in'
                 ],
                 {
                   'AM_CONDITIONAL' => 1,
                   'AC_PROG_GCC_TRADITIONAL' => 1,
                   'AC_FUNC_STRERROR_R' => 1,
                   'AC_PROG_LN_S' => 1,
                   'AC_PATH_X' => 1,
                   'AC_LIBSOURCE' => 1,
                   'AC_FUNC_SETVBUF_REVERSED' => 1,
                   'AC_FUNC_CHOWN' => 1,
                   'AC_FUNC_STRTOD' => 1,
                   'AC_HEADER_DIRENT' => 1,
                   'AC_FUNC_OBSTACK' => 1,
                   'AH_OUTPUT' => 1,
                   'AC_HEADER_STDC' => 1,
                   'AC_FUNC_MMAP' => 1,
                   'AC_FUNC_ALLOCA' => 1,
                   'AC_TYPE_MODE_T' => 1,
                   'm4_pattern_allow' => 1,
                   'AC_PROG_AWK' => 1,
                   'AC_HEADER_SYS_WAIT' => 1,
                   'AC_CHECK_FUNCS' => 1,
                   'AC_FUNC_FORK' => 1,
                   'AC_PROG_LEX' => 1,
                   'include' => 1,
                   'AC_STRUCT_TM' => 1,
                   'AC_FUNC_STAT' => 1,
                   'AC_CONFIG_FILES' => 1,
                   'AC_STRUCT_ST_BLOCKS' => 1,
                   'AC_FUNC_FSEEKO' => 1,
                   'AC_FUNC_UTIME_NULL' => 1,
                   'AC_FUNC_STRCOLL' => 1,
                   'AC_TYPE_SIZE_T' => 1,
                   'AC_TYPE_OFF_T' => 1,
                   'AC_PROG_RANLIB' => 1,
                   'AC_SUBST' => 1,
                   'AC_FUNC_LSTAT' => 1,
                   'AC_DECL_SYS_SIGLIST' => 1,
                   'AM_PROG_LIBTOOL' => 1,
                   'AC_PROG_CPP' => 1,
                   'AC_PROG_CC' => 1,
                   'AC_PROG_MAKE_SET' => 1,
                   'AC_HEADER_STAT' => 1,

  # here's my bug : actually I ignore if
'AC_TRY_COMPILER' is meant to be use instead of
'AC_TRY_COMPILE' ?!? nor if AC_TRY_COMPILE is actually
failing because of crossgcc 'insanity' :-)
That said, I can't find AC_TRY_COMPILER somewhere
else.
                 
'AC_TRY_COMPILE' => 1,

                   'AC_FUNC_GETLOADAVG' => 1,
                   'AC_FUNC_MEMCMP' => 1,
                   'AC_PROG_CXX' => 1,
                   'AC_FUNC_GETGROUPS' => 1,
                   'AC_STRUCT_TIMEZONE' => 1,
                   'm4_pattern_forbid' => 1,
                   'AC_CONFIG_HEADERS' => 1,
                                  ...



Here's Gnu Mach and Hurd config.log respectively:
--
configure:564: checking host system type
configure:645: checking for a BSD compatible install
configure:702: checking for gawk
configure:733: checking build system type
configure:759: checking for i686-gnu-gcc
configure:793: checking for gcc
configure:872: checking whether the C compiler (gcc  )
works
configure:888: gcc -o conftest    conftest.c  1>&5
configure:918: checking whether the C compiler (gcc  )
is a cross-compiler
configure:924: checking whether we are using GNU C
configure:933: gcc -E conftest.c
configure:967: checking for i686-gnu-ld
configure:999: checking for i686-gnu-nm
configure:1032: checking for i686-gnu-mig
configure:1064: checking for mig
--
Hurd :

This file contains any messages produced by compilers
while
running configure, to aid debugging if configure makes
a mistake.

It was created by configure, which was
generated by GNU Autoconf 2.53.  Invocation command
line was

  $ ../configure --prefix=/hurd --host=i686-gnu
--build=i386-unknown-freebsd4.7 --disable-profiling


## --------- ##
## Platform. ##
## --------- ##

hostname = dinar.homeunix.net
uname -m = i386
uname -r = 4.7-RELEASE-p3
uname -s = FreeBSD
uname -v = FreeBSD 4.7-RELEASE-p3 #0: Tue Feb  4
14:25:44 EST 2003     zoid@dinar.homeunix.net:/us
r/obj/usr/src/sys/HUKIOKA

/usr/bin/uname -p = i386
/bin/uname -X     = unknown

/bin/arch              = unknown
/usr/bin/arch -k       = unknown
/usr/convex/getsysinfo = unknown
hostinfo               = unknown
/bin/machine           = unknown
/usr/bin/oslevel       = unknown
/bin/universe          = unknown

PATH: /sbin
PATH: /bin
PATH: /usr/sbin
PATH: /usr/bin
PATH: /usr/games
PATH: /usr/local/sbin
PATH: /usr/local/bin
PATH: /usr/X11R6/bin
PATH: /root/bin


## ----------- ##
## Core tests. ##
## ----------- ##

configure:1199: checking build system type
configure:1217: result: i386-unknown-freebsd4.7
configure:1225: checking host system type
configure:1239: result: i686-pc-gnu
configure:1339: checking for a BSD-compatible install
configure:1393: result: /usr/bin/install -c
configure:1408: checking for gawk
configure:1424: found /usr/local/bin/gawk
configure:1434: result: gawk
configure:1448: checking for i686-gnu-gcc
configure:1474: result: i686-gnu-gcc
configure:1528: checking for gcc
configure:1554: result: i686-gnu-gcc
configure:1621: checking whether the C compiler
(i686-gnu-gcc -march=i686 -g ) works

## ---------------- ##
## Cache variables. ##
## ---------------- ##

ac_cv_env_LDFLAGS_set=
ac_cv_path_install='/usr/bin/install -c'
ac_cv_env_CFLAGS_set=set
ac_cv_env_CPPFLAGS_set=
ac_cv_env_host_alias_set=set
ac_cv_prog_CC=i686-gnu-gcc
ac_cv_env_build_alias_set=set
ac_cv_env_LDFLAGS_value=
ac_cv_env_target_alias_set=
ac_cv_host_alias=i686-gnu
ac_cv_env_CFLAGS_value='-march=i686 -g'
ac_cv_env_CC_set=set
ac_cv_build_alias=i386-unknown-freebsd4.7
ac_cv_env_CPPFLAGS_value=
ac_cv_host=i686-pc-gnu
ac_cv_env_host_alias_value=i686-gnu
ac_cv_prog_AWK=gawk
ac_cv_build=i386-unknown-freebsd4.7
ac_cv_env_build_alias_value=i386-unknown-freebsd4.7
ac_cv_env_target_alias_value=
ac_cv_env_CC_value=i686-gnu-gcc

## ----------- ##
## confdefs.h. ##
## ----------- ##

#define PACKAGE_NAME ""
#define PACKAGE_TARNAME ""
#define PACKAGE_VERSION ""
#define PACKAGE_STRING ""
#define PACKAGE_BUGREPORT ""

configure: exit 2

---

regards,

etienne 











=====
iD8DBQA+QVktkW4ltWlBulwRAnueAKC+xlX8+R4nNP1STo8ErL6TdUnDIACgjKks
wgK1rrD6Xffcw5XxMoZuNKM=

______________________________________________________________________ 
Post your free ad now! http://personals.yahoo.ca




reply via email to

[Prev in Thread] Current Thread [Next in Thread]