Hi all:

I'm trying to compile gnumach source code from Debian GNU/Linux, but I have
an error with configure step.

I did these steps:

git clone git://git.savannah.gnu.org/hurd/gnumach.git
autoreconf --install
mkdir build
cd build

CPP='gcc -m32 -E -x c -undef -ansi' CC='gcc -m32' LD='ld -melf_i386'
../configure --prefix= --host=i686-unknown-linux-gnu

But, in the latest step, I get the next error:

elf_i386' ../configure --prefix= --host=i686-unknown-linux-gnu
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for i686-unknown-linux-gnu-strip... no
checking for strip... strip
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking whether make supports nested variables... (cached) yes
checking build system type... x86_64-pc-linux-gnu
checking host system type... i686-unknown-linux-gnu
checking for gawk... (cached) gawk
checking whether make supports the include directive... yes (GNU style)
checking for i686-unknown-linux-gnu-gcc... gcc -m32
checking whether the C compiler works... no
configure: error: in `/home/almu/gnumach/build':
configure: error: C compiler cannot create executables
See `config.log' for more details

I attach configure logs.

Which can be the error?

Thanks

Attachment: configure_log
Description: Binary data

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

It was created by GNU Mach configure 1.8, which was
generated by GNU Autoconf 2.69.  Invocation command line was

  $ ../configure --prefix= --host=i686-unknown-linux-gnu

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

hostname = debian
uname -m = x86_64
uname -r = 4.13.0-1-amd64
uname -s = Linux
uname -v = #1 SMP Debian 4.13.13-1 (2017-11-16)

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

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

PATH: /usr/local/bin
PATH: /usr/bin
PATH: /bin
PATH: /usr/local/games
PATH: /usr/games
PATH: /usr/lib/jvm/java-8-oracle/bin
PATH: /usr/lib/jvm/java-8-oracle/db/bin
PATH: /usr/lib/jvm/java-8-oracle/jre/bin


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

configure:2517: checking for a BSD-compatible install
configure:2585: result: /usr/bin/install -c
configure:2596: checking whether build environment is sane
configure:2651: result: yes
configure:2710: checking for i686-unknown-linux-gnu-strip
configure:2740: result: no
configure:2750: checking for strip
configure:2766: found /usr/bin/strip
configure:2777: result: strip
configure:2802: checking for a thread-safe mkdir -p
configure:2841: result: /bin/mkdir -p
configure:2848: checking for gawk
configure:2864: found /usr/bin/gawk
configure:2875: result: gawk
configure:2886: checking whether make sets $(MAKE)
configure:2908: result: yes
configure:2937: checking whether make supports nested variables
configure:2954: result: yes
configure:3083: checking whether make supports nested variables
configure:3100: result: yes
configure:3122: checking build system type
configure:3136: result: x86_64-pc-linux-gnu
configure:3156: checking host system type
configure:3169: result: i686-unknown-linux-gnu
configure:3226: checking for gawk
configure:3253: result: gawk
configure:3268: checking whether make supports the include directive
configure:3283: make -f confmf.GNU && cat confinc.out
this is the am__doit target
configure:3286: $? = 0
configure:3305: result: yes (GNU style)
configure:3335: checking for i686-unknown-linux-gnu-gcc
configure:3362: result: gcc -m32
configure:3631: checking for C compiler version
configure:3640: gcc -m32 --version >&5
gcc (Debian 8.2.0-12) 8.2.0
Copyright (C) 2018 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

configure:3651: $? = 0
configure:3640: gcc -m32 -v >&5
Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-linux-gnu/8/lto-wrapper
OFFLOAD_TARGET_NAMES=nvptx-none
OFFLOAD_TARGET_DEFAULT=1
Target: x86_64-linux-gnu
Configured with: ../src/configure -v --with-pkgversion='Debian 8.2.0-12' --with-bugurl=file:///usr/share/doc/gcc-8/README.Bugs --enable-languages=c,ada,c++,go,brig,d,fortran,objc,obj-c++ --prefix=/usr --with-gcc-major-version-only --program-suffix=-8 --program-prefix=x86_64-linux-gnu- --enable-shared --enable-linker-build-id --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --libdir=/usr/lib --enable-nls --with-sysroot=/ --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --with-default-libstdcxx-abi=new --enable-gnu-unique-object --disable-vtable-verify --enable-libmpx --enable-plugin --enable-default-pie --with-system-zlib --with-target-system-zlib --enable-objc-gc=auto --enable-multiarch --disable-werror --with-arch-32=i686 --with-abi=m64 --with-multilib-list=m32,m64,mx32 --enable-multilib --with-tune=generic --enable-offload-targets=nvptx-none --without-cuda-driver --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu
Thread model: posix
gcc version 8.2.0 (Debian 8.2.0-12) 
configure:3651: $? = 0
configure:3640: gcc -m32 -V >&5
gcc: error: unrecognized command line option '-V'
gcc: fatal error: no input files
compilation terminated.
configure:3651: $? = 1
configure:3640: gcc -m32 -qversion >&5
gcc: error: unrecognized command line option '-qversion'; did you mean '--version'?
gcc: fatal error: no input files
compilation terminated.
configure:3651: $? = 1
configure:3671: checking whether the C compiler works
configure:3693: gcc -m32    conftest.c  >&5
/usr/bin/ld: cannot find Scrt1.o: No such file or directory
/usr/bin/ld: cannot find crti.o: No such file or directory
/usr/bin/ld: skipping incompatible /usr/lib/gcc/x86_64-linux-gnu/8/libgcc.a when searching for -lgcc
/usr/bin/ld: cannot find -lgcc
/usr/bin/ld: skipping incompatible /usr/lib/gcc/x86_64-linux-gnu/8/libgcc.a when searching for -lgcc
/usr/bin/ld: cannot find -lgcc
collect2: error: ld returned 1 exit status
configure:3697: $? = 1
configure:3735: result: no
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "GNU Mach"
| #define PACKAGE_TARNAME "gnumach"
| #define PACKAGE_VERSION "1.8"
| #define PACKAGE_STRING "GNU Mach 1.8"
| #define PACKAGE_BUGREPORT "bug-hurd@gnu.org"
| #define PACKAGE_URL ""
| /* end confdefs.h.  */
| 
| int
| main ()
| {
| 
|   ;
|   return 0;
| }
configure:3740: error: in `/home/almu/gnumach/build':
configure:3742: error: C compiler cannot create executables
See `config.log' for more details

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

ac_cv_build=x86_64-pc-linux-gnu
ac_cv_env_CCASFLAGS_set=
ac_cv_env_CCASFLAGS_value=
ac_cv_env_CCAS_set=
ac_cv_env_CCAS_value=
ac_cv_env_CC_set=set
ac_cv_env_CC_value='gcc -m32'
ac_cv_env_CFLAGS_set=
ac_cv_env_CFLAGS_value=
ac_cv_env_CPPFLAGS_set=
ac_cv_env_CPPFLAGS_value=
ac_cv_env_CPP_set=set
ac_cv_env_CPP_value='gcc -m32 -E -x c -undef -ansi'
ac_cv_env_LDFLAGS_set=
ac_cv_env_LDFLAGS_value=
ac_cv_env_LIBS_set=
ac_cv_env_LIBS_value=
ac_cv_env_build_alias_set=
ac_cv_env_build_alias_value=
ac_cv_env_host_alias_set=set
ac_cv_env_host_alias_value=i686-unknown-linux-gnu
ac_cv_env_target_alias_set=
ac_cv_env_target_alias_value=
ac_cv_host=i686-unknown-linux-gnu
ac_cv_path_install='/usr/bin/install -c'
ac_cv_path_mkdir=/bin/mkdir
ac_cv_prog_AWK=gawk
ac_cv_prog_CC='gcc -m32'
ac_cv_prog_ac_ct_STRIP=strip
ac_cv_prog_make_make_set=yes
am_cv_make_support_nested_variables=yes

## ----------------- ##
## Output variables. ##
## ----------------- ##

ACLOCAL='${SHELL} /home/almu/gnumach/build-aux/missing aclocal-1.16'
AMDEPBACKSLASH='\'
AMDEP_FALSE='#'
AMDEP_TRUE=''
AMTAR='$${TAR-tar}'
AM_BACKSLASH='\'
AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
AM_DEFAULT_VERBOSITY='1'
AM_V='$(V)'
AR=''
AUTOCONF='${SHELL} /home/almu/gnumach/build-aux/missing autoconf'
AUTOHEADER='${SHELL} /home/almu/gnumach/build-aux/missing autoheader'
AUTOMAKE='${SHELL} /home/almu/gnumach/build-aux/missing automake-1.16'
AWK='gawk'
CC='gcc -m32'
CCAS=''
CCASDEPMODE=''
CCASFLAGS=''
CCDEPMODE=''
CFLAGS=''
CODE_linux_FALSE=''
CODE_linux_TRUE=''
CPP='gcc -m32 -E -x c -undef -ansi'
CPPFLAGS=''
CYGPATH_W='echo'
DEFS=''
DEPDIR='.deps'
ECHO_C=''
ECHO_N='-n'
ECHO_T=''
EXEEXT=''
GZIP=''
HOST_ix86_FALSE=''
HOST_ix86_TRUE=''
INSTALL_DATA='${INSTALL} -m 644'
INSTALL_PROGRAM='${INSTALL}'
INSTALL_SCRIPT='${INSTALL}'
INSTALL_STRIP_PROGRAM='$(install_sh) -c -s'
LD='ld -melf_i386'
LDFLAGS=''
LIBOBJS=''
LIBS=''
LTLIBOBJS=''
MAKEINFO='${SHELL} /home/almu/gnumach/build-aux/missing makeinfo'
MIG=''
MKDIR_P='/bin/mkdir -p'
NM=''
OBJEXT=''
PACKAGE='gnumach'
PACKAGE_BUGREPORT='bug-hurd@gnu.org'
PACKAGE_NAME='GNU Mach'
PACKAGE_STRING='GNU Mach 1.8'
PACKAGE_TARNAME='gnumach'
PACKAGE_URL=''
PACKAGE_VERSION='1.8'
PATCH=''
PATH_SEPARATOR=':'
PLATFORM_at_FALSE=''
PLATFORM_at_TRUE=''
PLATFORM_xen_FALSE=''
PLATFORM_xen_TRUE=''
RANLIB=''
SET_MAKE=''
SHELL='/bin/bash'
STRIP='strip'
VERSION='1.8'
_START_MAP=''
ac_ct_CC=''
am__EXEEXT_FALSE=''
am__EXEEXT_TRUE=''
am__fastdepCCAS_FALSE=''
am__fastdepCCAS_TRUE=''
am__fastdepCC_FALSE=''
am__fastdepCC_TRUE=''
am__include='include'
am__isrc=' -I$(srcdir)'
am__leading_dot='.'
am__nodep='_no'
am__quote=''
am__tar='$${TAR-tar} chof - "$$tardir"'
am__untar='$${TAR-tar} xf -'
bindir='${exec_prefix}/bin'
build='x86_64-pc-linux-gnu'
build_alias=''
build_cpu='x86_64'
build_os='linux-gnu'
build_vendor='pc'
datadir='${datarootdir}'
datarootdir='${prefix}/share'
device_driver_3c501_FALSE=''
device_driver_3c501_TRUE=''
device_driver_3c503_FALSE=''
device_driver_3c503_TRUE=''
device_driver_3c505_FALSE=''
device_driver_3c505_TRUE=''
device_driver_3c507_FALSE=''
device_driver_3c507_TRUE=''
device_driver_3c509_FALSE=''
device_driver_3c509_TRUE=''
device_driver_3c515_FALSE=''
device_driver_3c515_TRUE=''
device_driver_3c574_cs_FALSE=''
device_driver_3c574_cs_TRUE=''
device_driver_3c589_cs_FALSE=''
device_driver_3c589_cs_TRUE=''
device_driver_3c59x_FALSE=''
device_driver_3c59x_TRUE=''
device_driver_53c78xx_FALSE=''
device_driver_53c78xx_TRUE=''
device_driver_AM53C974_FALSE=''
device_driver_AM53C974_TRUE=''
device_driver_BusLogic_FALSE=''
device_driver_BusLogic_TRUE=''
device_driver_NCR53c406a_FALSE=''
device_driver_NCR53c406a_TRUE=''
device_driver_ac3200_FALSE=''
device_driver_ac3200_TRUE=''
device_driver_advansys_FALSE=''
device_driver_advansys_TRUE=''
device_driver_aha152x_FALSE=''
device_driver_aha152x_TRUE=''
device_driver_aha1542_FALSE=''
device_driver_aha1542_TRUE=''
device_driver_aha1740_FALSE=''
device_driver_aha1740_TRUE=''
device_driver_aic7xxx_FALSE=''
device_driver_aic7xxx_TRUE=''
device_driver_apricot_FALSE=''
device_driver_apricot_TRUE=''
device_driver_at1700_FALSE=''
device_driver_at1700_TRUE=''
device_driver_atp_FALSE=''
device_driver_atp_TRUE=''
device_driver_axnet_cs_FALSE=''
device_driver_axnet_cs_TRUE=''
device_driver_de4x5_FALSE=''
device_driver_de4x5_TRUE=''
device_driver_de600_FALSE=''
device_driver_de600_TRUE=''
device_driver_de620_FALSE=''
device_driver_de620_TRUE=''
device_driver_depca_FALSE=''
device_driver_depca_TRUE=''
device_driver_dtc_FALSE=''
device_driver_dtc_TRUE=''
device_driver_e2100_FALSE=''
device_driver_e2100_TRUE=''
device_driver_eata_FALSE=''
device_driver_eata_TRUE=''
device_driver_eata_dma_FALSE=''
device_driver_eata_dma_TRUE=''
device_driver_eata_pio_FALSE=''
device_driver_eata_pio_TRUE=''
device_driver_eepro100_FALSE=''
device_driver_eepro100_TRUE=''
device_driver_eepro_FALSE=''
device_driver_eepro_TRUE=''
device_driver_eexpress_FALSE=''
device_driver_eexpress_TRUE=''
device_driver_epic100_FALSE=''
device_driver_epic100_TRUE=''
device_driver_eth16i_FALSE=''
device_driver_eth16i_TRUE=''
device_driver_ewrk3_FALSE=''
device_driver_ewrk3_TRUE=''
device_driver_fdomain_FALSE=''
device_driver_fdomain_TRUE=''
device_driver_floppy_FALSE=''
device_driver_floppy_TRUE=''
device_driver_fmv18x_FALSE=''
device_driver_fmv18x_TRUE=''
device_driver_fmvj18x_cs_FALSE=''
device_driver_fmvj18x_cs_TRUE=''
device_driver_g_NCR5380_FALSE=''
device_driver_g_NCR5380_TRUE=''
device_driver_gdth_FALSE=''
device_driver_gdth_TRUE=''
device_driver_group_net_FALSE=''
device_driver_group_net_TRUE=''
device_driver_group_pcmcia_FALSE=''
device_driver_group_pcmcia_TRUE=''
device_driver_group_scsi_FALSE=''
device_driver_group_scsi_TRUE=''
device_driver_hamachi_FALSE=''
device_driver_hamachi_TRUE=''
device_driver_hp100_FALSE=''
device_driver_hp100_TRUE=''
device_driver_hp_FALSE=''
device_driver_hp_TRUE=''
device_driver_hp_plus_FALSE=''
device_driver_hp_plus_TRUE=''
device_driver_i82365_FALSE=''
device_driver_i82365_TRUE=''
device_driver_ide_FALSE=''
device_driver_ide_TRUE=''
device_driver_in2000_FALSE=''
device_driver_in2000_TRUE=''
device_driver_intel_gige_FALSE=''
device_driver_intel_gige_TRUE=''
device_driver_lance_FALSE=''
device_driver_lance_TRUE=''
device_driver_myson803_FALSE=''
device_driver_myson803_TRUE=''
device_driver_natsemi_FALSE=''
device_driver_natsemi_TRUE=''
device_driver_ncr53c8xx_FALSE=''
device_driver_ncr53c8xx_TRUE=''
device_driver_ne2k_pci_FALSE=''
device_driver_ne2k_pci_TRUE=''
device_driver_ne_FALSE=''
device_driver_ne_TRUE=''
device_driver_ni52_FALSE=''
device_driver_ni52_TRUE=''
device_driver_ni65_FALSE=''
device_driver_ni65_TRUE=''
device_driver_nmclan_cs_FALSE=''
device_driver_nmclan_cs_TRUE=''
device_driver_ns820_FALSE=''
device_driver_ns820_TRUE=''
device_driver_orinoco_cs_FALSE=''
device_driver_orinoco_cs_TRUE=''
device_driver_pas16_FALSE=''
device_driver_pas16_TRUE=''
device_driver_pcmcia_isa_FALSE=''
device_driver_pcmcia_isa_TRUE=''
device_driver_pcnet32_FALSE=''
device_driver_pcnet32_TRUE=''
device_driver_pcnet_cs_FALSE=''
device_driver_pcnet_cs_TRUE=''
device_driver_ppa_FALSE=''
device_driver_ppa_TRUE=''
device_driver_qlogicfas_FALSE=''
device_driver_qlogicfas_TRUE=''
device_driver_qlogicisp_FALSE=''
device_driver_qlogicisp_TRUE=''
device_driver_rtl8139_FALSE=''
device_driver_rtl8139_TRUE=''
device_driver_seagate_FALSE=''
device_driver_seagate_TRUE=''
device_driver_seeq8005_FALSE=''
device_driver_seeq8005_TRUE=''
device_driver_sis900_FALSE=''
device_driver_sis900_TRUE=''
device_driver_sk_g16_FALSE=''
device_driver_sk_g16_TRUE=''
device_driver_smc91c92_cs_FALSE=''
device_driver_smc91c92_cs_TRUE=''
device_driver_smc_ultra32_FALSE=''
device_driver_smc_ultra32_TRUE=''
device_driver_smc_ultra_FALSE=''
device_driver_smc_ultra_TRUE=''
device_driver_starfire_FALSE=''
device_driver_starfire_TRUE=''
device_driver_sundance_FALSE=''
device_driver_sundance_TRUE=''
device_driver_sym53c8xx_FALSE=''
device_driver_sym53c8xx_TRUE=''
device_driver_t128_FALSE=''
device_driver_t128_TRUE=''
device_driver_tlan_FALSE=''
device_driver_tlan_TRUE=''
device_driver_tmscsim_FALSE=''
device_driver_tmscsim_TRUE=''
device_driver_tulip_FALSE=''
device_driver_tulip_TRUE=''
device_driver_u14_34f_FALSE=''
device_driver_u14_34f_TRUE=''
device_driver_ultrastor_FALSE=''
device_driver_ultrastor_TRUE=''
device_driver_via_rhine_FALSE=''
device_driver_via_rhine_TRUE=''
device_driver_wavelan_FALSE=''
device_driver_wavelan_TRUE=''
device_driver_wd7000_FALSE=''
device_driver_wd7000_TRUE=''
device_driver_wd_FALSE=''
device_driver_wd_TRUE=''
device_driver_winbond_840_FALSE=''
device_driver_winbond_840_TRUE=''
device_driver_xirc2ps_cs_FALSE=''
device_driver_xirc2ps_cs_TRUE=''
device_driver_yellowfin_FALSE=''
device_driver_yellowfin_TRUE=''
device_driver_znet_FALSE=''
device_driver_znet_TRUE=''
disable_smashing_stack_protector_FALSE=''
disable_smashing_stack_protector_TRUE=''
docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
dvidir='${docdir}'
enable_kdb_FALSE=''
enable_kdb_TRUE=''
enable_kmsg_FALSE=''
enable_kmsg_TRUE=''
enable_lpr_FALSE=''
enable_lpr_TRUE=''
enable_pae_FALSE=''
enable_pae_TRUE=''
enable_pseudo_phys_FALSE=''
enable_pseudo_phys_TRUE=''
enable_pv_descriptors_FALSE=''
enable_pv_descriptors_TRUE=''
enable_pv_pagetables_FALSE=''
enable_pv_pagetables_TRUE=''
enable_ring1_FALSE=''
enable_ring1_TRUE=''
exec_prefix='NONE'
host='i686-unknown-linux-gnu'
host_alias='i686-unknown-linux-gnu'
host_cpu='i686'
host_os='linux-gnu'
host_platform='at'
host_vendor='unknown'
htmldir='${docdir}'
includedir='${prefix}/include'
infodir='${datarootdir}/info'
install_sh='${SHELL} /home/almu/gnumach/build-aux/install-sh'
libdir='${exec_prefix}/lib'
libexecdir='${exec_prefix}/libexec'
localedir='${datarootdir}/locale'
localstatedir='${prefix}/var'
mandir='${datarootdir}/man'
mkdir_p='$(MKDIR_P)'
oldincludedir='/usr/include'
pdfdir='${docdir}'
prefix=''
program_transform_name='s,x,x,'
psdir='${docdir}'
runstatedir='${localstatedir}/run'
sbindir='${exec_prefix}/sbin'
sharedstatedir='${prefix}/com'
sysconfdir='${prefix}/etc'
systype='i386'
target_alias=''

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

/* confdefs.h */
#define PACKAGE_NAME "GNU Mach"
#define PACKAGE_TARNAME "gnumach"
#define PACKAGE_VERSION "1.8"
#define PACKAGE_STRING "GNU Mach 1.8"
#define PACKAGE_BUGREPORT "bug-hurd@gnu.org"
#define PACKAGE_URL ""

configure: exit 77

Reply via email to