When I try to build the project I get this ../configure --prefix=$RISCV --host=riscv64-unknown-elf checking build system type... x86_64-pc-linux-gnu checking host system type... riscv64-unknown-elf checking for riscv64-unknown-elf-gcc... riscv64-unknown-elf-gcc checking whether the C compiler works... no configure: error: in/home//RISC-V/riscv-pk/build':
configure: error: C compiler cannot create executables
See config.log' for more details
here is the dump from the log file
`This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.
It was created by RISC-V Proxy Kernel configure 1.0.0, which was
generated by GNU Autoconf 2.69. Invocation command line was
configure:1981: checking build system type
configure:1995: result: x86_64-pc-linux-gnu
configure:2015: checking host system type
configure:2028: result: riscv64-unknown-elf
configure:2061: checking for riscv64-unknown-elf-gcc
configure:2077: found /usr/bin/riscv64-unknown-elf-gcc
configure:2088: result: riscv64-unknown-elf-gcc
configure:2357: checking for C compiler version
configure:2366: riscv64-unknown-elf-gcc --version >&5
riscv64-unknown-elf-gcc () 9.3.0
Copyright (C) 2019 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:2466: error: in /home/<username>/RISC-V/riscv-pk/build': configure:2468: error: C compiler cannot create executables Seeconfig.log' for more details
When I try to build the project I get this/RISC-V/riscv-pk/build':
configure: error: C compiler cannot create executables
See
../configure --prefix=$RISCV --host=riscv64-unknown-elf checking build system type... x86_64-pc-linux-gnu checking host system type... riscv64-unknown-elf checking for riscv64-unknown-elf-gcc... riscv64-unknown-elf-gcc checking whether the C compiler works... no configure: error: in
/home/config.log' for more details
here is the dump from the log file `This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake.It was created by RISC-V Proxy Kernel configure 1.0.0, which was generated by GNU Autoconf 2.69. Invocation command line was
$ ../configure --prefix=/home//RISC-V/riscv-gnu-toolchain/ --host=riscv64-unknown-elf
---------
Platform.
---------
hostname =-System-Product-Name
uname -m = x86_64
uname -r = 5.8.0-45-generic
uname -s = Linux
uname -v = #51~20.04.1-Ubuntu SMP Tue Feb 23 13:46:31 UTC 2021
/usr/bin/uname -p = x86_64 /bin/uname -X = unknown
/bin/arch = x86_64 /usr/bin/arch -k = unknown /usr/convex/getsysinfo = unknown /usr/bin/hostinfo = unknown /bin/machine = unknown /usr/bin/oslevel = unknown /bin/universe = unknown
PATH: /opt/openfoam8/bin PATH: /opt/openfoam8/platforms/linux64GccDPInt32Opt/bin PATH: /home//anaconda3/bin
PATH: /home//anaconda3/condabin
PATH: /home//.local/bin
PATH: /usr/local/sbin
PATH: /usr/local/bin
PATH: /usr/sbin
PATH: /usr/bin
PATH: /sbin
PATH: /bin
PATH: /usr/games
PATH: /usr/local/games
PATH: /snap/bin
-----------
Core tests.
-----------
configure:1981: checking build system type configure:1995: result: x86_64-pc-linux-gnu configure:2015: checking host system type configure:2028: result: riscv64-unknown-elf configure:2061: checking for riscv64-unknown-elf-gcc configure:2077: found /usr/bin/riscv64-unknown-elf-gcc configure:2088: result: riscv64-unknown-elf-gcc configure:2357: checking for C compiler version configure:2366: riscv64-unknown-elf-gcc --version >&5 riscv64-unknown-elf-gcc () 9.3.0 Copyright (C) 2019 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:2466: error: in
/home/<username>/RISC-V/riscv-pk/build': configure:2468: 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_CCC_set= ac_cv_env_CCC_value= ac_cv_env_CC_set= ac_cv_env_CC_value= 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= ac_cv_env_CPP_value= ac_cv_env_CXXFLAGS_set= ac_cv_env_CXXFLAGS_value= ac_cv_env_CXX_set= ac_cv_env_CXX_value= ac_cv_env_LDFLAGS_set= ac_cv_env_LDFLAGS_value= ac_cv_env_LIBS_set= ac_cv_env_LIBS_value= ac_cv_env_RISCV_set=set ac_cv_env_RISCV_value=/home//RISC-V/riscv-gnu-toolchain/
ac_cv_env_STOW_PREFIX_set=
ac_cv_env_STOW_PREFIX_value=
ac_cv_env_STOW_ROOT_set=
ac_cv_env_STOW_ROOT_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=riscv64-unknown-elf
ac_cv_env_target_alias_set=
ac_cv_env_target_alias_value=
ac_cv_host=riscv64-unknown-elf
ac_cv_prog_CC=riscv64-unknown-elf-gcc
-----------------
Output variables.
-----------------
AR='' BBL_ENABLE_LOGO='' BBL_LOGO_FILE='' BBL_PAYLOAD='' CC='riscv64-unknown-elf-gcc' CFLAGS='' CPP='' CPPFLAGS='' CUSTOM_DTS='' CXX='' CXXFLAGS='' DEFS='' ECHO_C='' ECHO_N='-n' ECHO_T='' EGREP='' EXEEXT='' GREP='' INSTALL_DATA='' INSTALL_PROGRAM='' INSTALL_SCRIPT='' LDFLAGS='' LIBOBJS='' LIBS='' LTLIBOBJS='' MEM_START='' OBJCOPY='' OBJEXT='' PACKAGE_BUGREPORT='Andrew Waterman' PACKAGE_NAME='RISC-V Proxy Kernel' PACKAGE_STRING='RISC-V Proxy Kernel 1.0.0' PACKAGE_TARNAME='riscv-pk' PACKAGE_URL='' PACKAGE_VERSION='1.0.0' PATH_SEPARATOR=':' RANLIB='' READELF='' RISCV='/home//RISC-V/riscv-gnu-toolchain/'
SHELL='/bin/bash'
STOW_PREFIX=''
STOW_ROOT=''
WITH_ABI=''
WITH_ARCH=''
ac_ct_CC=''
ac_ct_CXX=''
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'
docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
dvidir='${docdir}'
enable_stow=''
exec_prefix='NONE'
host='riscv64-unknown-elf'
host_alias='riscv64-unknown-elf'
host_cpu='riscv64'
host_os='elf'
host_vendor='unknown'
htmldir='${docdir}'
includedir='${prefix}/include'
infodir='${datarootdir}/info'
libdir='${exec_prefix}/lib'
libexecdir='${exec_prefix}/libexec'
localedir='${datarootdir}/locale'
localstatedir='${prefix}/var'
mandir='${datarootdir}/man'
oldincludedir='/usr/include'
pdfdir='${docdir}'
prefix='/home//RISC-V/riscv-gnu-toolchain'
program_transform_name='s,x,x,'
psdir='${docdir}'
runstatedir='${localstatedir}/run'
sbindir='${exec_prefix}/sbin'
sharedstatedir='${prefix}/com'
stow=''
subprojects=''
subprojects_enabled=''
sysconfdir='${prefix}/etc'
target_alias=''
-----------
confdefs.h.
-----------
/ confdefs.h /
define PACKAGE_NAME "RISC-V Proxy Kernel"
define PACKAGE_TARNAME "riscv-pk"
define PACKAGE_VERSION "1.0.0"
define PACKAGE_STRING "RISC-V Proxy Kernel 1.0.0"
define PACKAGE_BUGREPORT "Andrew Waterman"
define PACKAGE_URL ""
configure: exit 77`