I am using a x64 cpu and trying to build a cross compiler, when making this command below some error comes:
export PATH=/home/me/lab1/crossgcc2/bin:$PATH
/home/me/lab1/gcc-5.1.0/configure \
--prefix=/home/me/lab1/crossgcc2 \
--target=arm-unknown-linux-gnueabihf \
--enable-languages=c \
--with-sysroot=/home/eric/lab1/sysroot \
--with-tune=cortex-a9 --with-float=hard
make
error message:
In file included from /home/fly/lab1/gcc-5.1.0/libgcc/../gcc/tsystem.h:101:0,
from /home/fly/lab1/gcc-5.1.0/libgcc/libgcc2.c:27:
/home/fly/lab1/sysroot/usr/include/stdlib.h:510:35: error: expected ‘,’ or ‘;’ before ‘__attribute_alloc_size__’
__THROW __attribute_malloc__ __attribute_alloc_size__ ((2)) __wur;
^
In file included from /home/fly/lab1/gcc-5.1.0/libgcc/../gcc/tsystem.h:108:0,
from /home/fly/lab1/gcc-5.1.0/libgcc/libgcc2.c:27:
/home/fly/lab1/sysroot/usr/include/time.h:123:5: error: unknown type name ‘__syscall_slong_t’
__syscall_slong_t tv_nsec; /* Nanoseconds. */
can anybody tell me what's wrong please? Thanks
Related
I am new to this, I should install everything with bundle install and I am stuck at the pg_query 1.3.0 gem. It seems to show me error
linking shared-object pg_query/pg_query.bundle
ld: library not found for -lpg_query
clang: error: linker command failed with exit code 1 (use -v to see invocation) make: *** [pg_query.bundle] Error 1`
This is the whole log after bundle install:
Fetching pg_query 1.3.0
Installing pg_query 1.3.0 with native extensions
Gem::Ext::BuildError: ERROR: Failed to build gem native extension.
current directory: /Users/dominikkrautstengel/.rbenv/versions/2.7.2/lib/ruby/gems/2.7.0/gems/pg_query-1.3.0/ext/pg_query
/Users/dominikkrautstengel/.rbenv/versions/2.7.2/bin/ruby -I /Users/dominikkrautstengel/.rbenv/versions/2.7.2/lib/ruby/2.7.0 -r
./siteconf20221123-20970-12vwdyo.rb extconf.rb
compiling src/pg_query.c
compiling src/pg_query_fingerprint.c
compiling src/pg_query_json.c
compiling src/pg_query_json_plpgsql.c
compiling src/pg_query_normalize.c
compiling src/pg_query_parse.c
compiling src/pg_query_parse_plpgsql.c
compiling src/postgres/contrib_pgcrypto_sha1.c
compiling src/postgres/src_backend_catalog_namespace.c
compiling src/postgres/src_backend_catalog_pg_proc.c
compiling src/postgres/src_backend_lib_stringinfo.c
compiling src/postgres/src_backend_libpq_pqcomm.c
compiling src/postgres/src_backend_nodes_bitmapset.c
compiling src/postgres/src_backend_nodes_copyfuncs.c
compiling src/postgres/src_backend_nodes_equalfuncs.c
compiling src/postgres/src_backend_nodes_extensible.c
compiling src/postgres/src_backend_nodes_list.c
compiling src/postgres/src_backend_nodes_makefuncs.c
compiling src/postgres/src_backend_nodes_nodeFuncs.c
compiling src/postgres/src_backend_nodes_value.c
compiling src/postgres/src_backend_parser_gram.c
In file included from gram.y:46:
In file included from ./src/postgres/include/postgres.h:47:
In file included from ./src/postgres/include/c.h:1224:
In file included from ./src/postgres/include/port.h:17:
In file included from
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/netdb.h:91:
In file included from
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/netinet/in.h:81:
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/socket.h:425:1: error:
expected ';' after top level declarator
__CCT_DECLARE_CONSTRAINED_PTR_TYPES(struct sockaddr, sockaddr);
^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/constrained_ctypes.h:587:101:
note: expanded from macro '__CCT_DECLARE_CONSTRAINED_PTR_TYPES'
#define __CCT_DECLARE_CONSTRAINED_PTR_TYPES(basetype, basetag) \
^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/constrained_ctypes.h:580:2:
note: expanded from macro '\
__CCT_DECLARE_CONSTRAINED_PTR_TYPE'
__CCT_DISPATCH(__CCT_DECLARE_CONSTRAINED_PTR_TYPE, basetype, basetag, __VA_ARGS__)
^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/constrained_ctypes.h:548:2:
note: expanded from macro '__CCT_DISPATCH'
__CCT_DISPATCH1(base, __CCT_COUNT_ARGS(__VA_ARGS__), __VA_ARGS__)
^
note: (skipping 1 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/cdefs.h:113:26: note:
expanded from macro '__CONCAT'
#define __CONCAT(x, y) x ## y
^
<scratch space>:415:1: note: expanded from here
__CCT_DECLARE_CONSTRAINED_PTR_TYPE_3
^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/constrained_ctypes.h:563:14:
note: expanded from macro '__CCT_DECLARE_CONSTRAINED_PTR_TYPE_3'
__CCT_DEFER(__CONCAT, basetag, __CCT_CONTRACT_LIST_TO_TAGGED_SUFFIX_1(kind))
^
In file included from gram.y:46:
In file included from ./src/postgres/include/postgres.h:47:
In file included from ./src/postgres/include/c.h:1224:
In file included from ./src/postgres/include/port.h:17:
In file included from
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/netdb.h:91:
In file included from
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/netinet/in.h:81:
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/socket.h:425:1: error:
expected ';' after top level declarator
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/constrained_ctypes.h:588:101:
note: expanded from macro '__CCT_DECLARE_CONSTRAINED_PTR_TYPES'
__CCT_DECLARE_CONSTRAINED_PTR_TYPE(basetype, basetag, REF); \
^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/constrained_ctypes.h:580:2:
note: expanded from macro '\
__CCT_DECLARE_CONSTRAINED_PTR_TYPE'
__CCT_DISPATCH(__CCT_DECLARE_CONSTRAINED_PTR_TYPE, basetype, basetag, __VA_ARGS__)
^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/constrained_ctypes.h:548:2:
note: expanded from macro '__CCT_DISPATCH'
__CCT_DISPATCH1(base, __CCT_COUNT_ARGS(__VA_ARGS__), __VA_ARGS__)
^
note: (skipping 1 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/cdefs.h:113:26: note:
expanded from macro '__CONCAT'
#define __CONCAT(x, y) x ## y
^
<scratch space>:420:1: note: expanded from here
__CCT_DECLARE_CONSTRAINED_PTR_TYPE_4
^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/constrained_ctypes.h:567:11:
note: expanded from macro '__CCT_DECLARE_CONSTRAINED_PTR_TYPE_4'
* __CCT_CONTRACT_TO_ATTR(kind2) \
^
In file included from gram.y:46:
In file included from ./src/postgres/include/postgres.h:47:
In file included from ./src/postgres/include/c.h:1224:
In file included from ./src/postgres/include/port.h:17:
In file included from
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/netdb.h:91:
In file included from
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/netinet/in.h:81:
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/socket.h:471:1: error:
typedef redefinition with different types ('struct sockaddr_storage *' vs 'struct sockaddr *')
__CCT_DECLARE_CONSTRAINED_PTR_TYPES(struct sockaddr_storage, sockaddr_storage);
^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/constrained_ctypes.h:587:101:
note: expanded from macro '__CCT_DECLARE_CONSTRAINED_PTR_TYPES'
#define __CCT_DECLARE_CONSTRAINED_PTR_TYPES(basetype, basetag) \
^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/constrained_ctypes.h:580:2:
note: expanded from macro '\
__CCT_DECLARE_CONSTRAINED_PTR_TYPE'
__CCT_DISPATCH(__CCT_DECLARE_CONSTRAINED_PTR_TYPE, basetype, basetag, __VA_ARGS__)
^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/constrained_ctypes.h:548:2:
note: expanded from macro '__CCT_DISPATCH'
__CCT_DISPATCH1(base, __CCT_COUNT_ARGS(__VA_ARGS__), __VA_ARGS__)
^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/constrained_ctypes.h:540:38:
note: expanded from macro '__CCT_CONTRACT_TO_ATTR'
#define __CCT_CONTRACT_TO_ATTR(kind) __CONCAT(__CCT_CONTRACT_ATTR_, kind)
^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/cdefs.h:113:26: note:
expanded from macro '__CONCAT'
#define __CONCAT(x, y) x ## y
pg_query_ruby.c:63:41: warning: '}' and ')' tokens terminating statement expression appear in different macro expansion contexts
[-Wcompound-token-split-by-macro]
cPgQuery = rb_const_get(rb_cObject, rb_intern("PgQuery"));
^~~~~~~~~~~~~~~~~~~~
/Users/dominikkrautstengel/.rbenv/versions/2.7.2/include/ruby-2.7.0/ruby/ruby.h:1847:24: note: expanded from macro 'rb_intern'
__extension__ (RUBY_CONST_ID_CACHE((ID), (str))) : \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/dominikkrautstengel/.rbenv/versions/2.7.2/include/ruby-2.7.0/ruby/ruby.h:1837:5: note: expanded from macro 'RUBY_CONST_ID_CACHE'
}
^
pg_query_ruby.c:63:41: note: ')' token is here
cPgQuery = rb_const_get(rb_cObject, rb_intern("PgQuery"));
^~~~~~~~~~~~~~~~~~~~
/Users/dominikkrautstengel/.rbenv/versions/2.7.2/include/ruby-2.7.0/ruby/ruby.h:1847:56: note: expanded from macro 'rb_intern'
__extension__ (RUBY_CONST_ID_CACHE((ID), (str))) : \
^
pg_query_ruby.c:64:42: warning: '(' and '{' tokens introducing statement expression appear in different macro expansion contexts
[-Wcompound-token-split-by-macro]
cParseError = rb_const_get_at(cPgQuery, rb_intern("ParseError"));
^~~~~~~~~~~~~~~~~~~~~~~
/Users/dominikkrautstengel/.rbenv/versions/2.7.2/include/ruby-2.7.0/ruby/ruby.h:1847:23: note: expanded from macro 'rb_intern'
__extension__ (RUBY_CONST_ID_CACHE((ID), (str))) : \
^
pg_query_ruby.c:64:42: note: '{' token is here
cParseError = rb_const_get_at(cPgQuery, rb_intern("ParseError"));
^~~~~~~~~~~~~~~~~~~~~~~
/Users/dominikkrautstengel/.rbenv/versions/2.7.2/include/ruby-2.7.0/ruby/ruby.h:1847:24: note: expanded from macro 'rb_intern'
__extension__ (RUBY_CONST_ID_CACHE((ID), (str))) : \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/dominikkrautstengel/.rbenv/versions/2.7.2/include/ruby-2.7.0/ruby/ruby.h:1832:5: note: expanded from macro 'RUBY_CONST_ID_CACHE'
{ \
^
pg_query_ruby.c:64:42: warning: '}' and ')' tokens terminating statement expression appear in different macro expansion contexts
[-Wcompound-token-split-by-macro]
cParseError = rb_const_get_at(cPgQuery, rb_intern("ParseError"));
^~~~~~~~~~~~~~~~~~~~~~~
/Users/dominikkrautstengel/.rbenv/versions/2.7.2/include/ruby-2.7.0/ruby/ruby.h:1847:24: note: expanded from macro 'rb_intern'
__extension__ (RUBY_CONST_ID_CACHE((ID), (str))) : \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/dominikkrautstengel/.rbenv/versions/2.7.2/include/ruby-2.7.0/ruby/ruby.h:1837:5: note: expanded from macro 'RUBY_CONST_ID_CACHE'
}
^
pg_query_ruby.c:64:42: note: ')' token is here
cParseError = rb_const_get_at(cPgQuery, rb_intern("ParseError"));
^~~~~~~~~~~~~~~~~~~~~~~
/Users/dominikkrautstengel/.rbenv/versions/2.7.2/include/ruby-2.7.0/ruby/ruby.h:1847:56: note: expanded from macro 'rb_intern'
__extension__ (RUBY_CONST_ID_CACHE((ID), (str))) : \
^
pg_query_ruby.c:59:1: warning: function 'raise_ruby_fingerprint_error' could be declared with attribute 'noreturn' [-Wmissing-noreturn]
{
^
17 warnings generated.
linking shared-object pg_query/pg_query.bundle
ld: library not found for -lpg_query
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make: *** [pg_query.bundle] Error 1
make failed, exit code 2
Gem files will remain installed in /Users/dominikkrautstengel/.rbenv/versions/2.7.2/lib/ruby/gems/2.7.0/gems/pg_query-1.3.0 for inspection.
Results logged to
/Users/dominikkrautstengel/.rbenv/versions/2.7.2/lib/ruby/gems/2.7.0/extensions/arm64-darwin-22/2.7.0/pg_query-1.3.0/gem_make.out
An error occurred while installing pg_query (1.3.0), and Bundler cannot continue.
Make sure that `gem install pg_query -v '1.3.0'` succeeds before bundling.
In Gemfile:
prosopite was resolved to 0.2.1, which depends on
pg_query
I have latest Xcode installed and Command Line Tools also. But as I said, I do not understand any of this, this is just my assignment to be able to run on local.
Dears,
I have installed openmpi-4.0.5, when I compile Quantum espresso-6.7.0 with to use all my threads in my calculations, with this command: " ./configure --enable-openmp ; make -j 12 " ,it seems to be all ok, when I run test ~/q-e-qe-6.7.0/PW/examples/example01/run_example , the following appears in terminal:
#########################################################################################
/home/youca/Softwares/q-e-qe-6.7.0/PW/examples/example01 : starting
This example shows how to use pw.x to calculate the total energy and
the band structure of four simple systems: Si, Al, Cu, Ni.
executables directory: /home/youca/Softwares/q-e-qe-6.7.0/bin
pseudo directory: /home/youca/Softwares/q-e-qe-6.7.0/pseudo
temporary directory: /home/youca/Softwares/q-e-qe-6.7.0/tempdir
checking that needed directories and files exist... done
running pw.x as: mpirun -np 4 /home/youca/Softwares/q-e-qe-6.7.0/bin/pw.x -nk 1 -nd 1 -nb 1 -nt 1
running the scf calculation for Si...Abort(1094543) on node 0 (rank 0 in comm 0): Fatal error in PMPI_Init_thread: Other MPI error, error stack:
MPIR_Init_thread(639)......:
MPID_Init(860).............:
MPIDI_NM_mpi_init_hook(689): OFI addrinfo() failed (ofi_init.h:689:MPIDI_NM_mpi_init_hook:No data available)
Abort(1094543) on node 1 (rank 1 in comm 0): Fatal error in PMPI_Init_thread: Other MPI error, error stack:
MPIR_Init_thread(639)......:
MPID_Init(860).............:
MPIDI_NM_mpi_init_hook(689): OFI addrinfo() failed (ofi_init.h:689:MPIDI_NM_mpi_init_hook:No data available)
Abort(1094543) on node 2 (rank 2 in comm 0): Fatal error in PMPI_Init_thread: Other MPI error, error stack:
MPIR_Init_thread(639)......:
MPID_Init(860).............:
MPIDI_NM_mpi_init_hook(689): OFI addrinfo() failed (ofi_init.h:689:MPIDI_NM_mpi_init_hook:No data available)
Abort(1094543) on node 3 (rank 3 in comm 0): Fatal error in PMPI_Init_thread: Other MPI error, error stack:
MPIR_Init_thread(639)......:
MPID_Init(860).............:
MPIDI_NM_mpi_init_hook(689): OFI addrinfo() failed (ofi_init.h:689:MPIDI_NM_mpi_init_hook:No data available)
forrtl: error (78): process killed (SIGTERM)
Image PC Routine Line Source
pw.x 0000000000DF35D4 Unknown Unknown Unknown
libpthread-2.31.s 00001512446D13C0 Unknown Unknown Unknown
libpthread-2.31.s 00001512446D0330 read Unknown Unknown
libmpi.so.12.0.0 0000151246A1199F Unknown Unknown Unknown
libmpi.so.12.0.0 0000151246A10D32 Unknown Unknown Unknown
libmpi.so.12.0.0 00001512450538D0 Unknown Unknown Unknown
libmpi.so.12.0.0 0000151245104613 MPIR_Err_return_c Unknown Unknown
libmpi.so.12.0.0 0000151245CF2D95 PMPI_Init_thread Unknown Unknown
libmpifort.so.12. 0000151247A895DC MPI_INIT_THREAD Unknown Unknown
pw.x 0000000000895521 mp_world_mp_mp_wo 65 mp_world.f90
pw.x 0000000000894FC6 mp_global_mp_mp_s 71 mp_global.f90
pw.x 0000000000407390 MAIN__ 64 pwscf.f90
pw.x 0000000000407322 Unknown Unknown Unknown
libc-2.31.so 0000151243FB80B3 __libc_start_main Unknown Unknown
pw.x 000000000040722E Unknown Unknown Unknown
forrtl: error (78): process killed (SIGTERM)
Image PC Routine Line Source
pw.x 0000000000DF35D4 Unknown Unknown Unknown
libpthread-2.31.s 000014EC37DFD3C0 Unknown Unknown Unknown
libpthread-2.31.s 000014EC37DFC330 read Unknown Unknown
libmpi.so.12.0.0 000014EC3A13D99F Unknown Unknown Unknown
libmpi.so.12.0.0 000014EC3A13CD32 Unknown Unknown Unknown
libmpi.so.12.0.0 000014EC3877F8D0 Unknown Unknown Unknown
libmpi.so.12.0.0 000014EC38830613 MPIR_Err_return_c Unknown Unknown
libmpi.so.12.0.0 000014EC3941ED95 PMPI_Init_thread Unknown Unknown
libmpifort.so.12. 000014EC3B1B55DC MPI_INIT_THREAD Unknown Unknown
pw.x 0000000000895521 mp_world_mp_mp_wo 65 mp_world.f90
pw.x 0000000000894FC6 mp_global_mp_mp_s 71 mp_global.f90
pw.x 0000000000407390 MAIN__ 64 pwscf.f90
pw.x 0000000000407322 Unknown Unknown Unknown
libc-2.31.so 000014EC376E40B3 __libc_start_main Unknown Unknown
pw.x 000000000040722E Unknown Unknown Unknown
forrtl: error (78): process killed (SIGTERM)
Image PC Routine Line Source
pw.x 0000000000DF35D4 Unknown Unknown Unknown
libpthread-2.31.s 00001502753273C0 Unknown Unknown Unknown
libpthread-2.31.s 0000150275326330 read Unknown Unknown
libmpi.so.12.0.0 000015027766799F Unknown Unknown Unknown
libmpi.so.12.0.0 0000150277666D32 Unknown Unknown Unknown
libmpi.so.12.0.0 0000150275CA98D0 Unknown Unknown Unknown
libmpi.so.12.0.0 0000150275D5A613 MPIR_Err_return_c Unknown Unknown
libmpi.so.12.0.0 0000150276948D95 PMPI_Init_thread Unknown Unknown
libmpifort.so.12. 00001502786DF5DC MPI_INIT_THREAD Unknown Unknown
pw.x 0000000000895521 mp_world_mp_mp_wo 65 mp_world.f90
pw.x 0000000000894FC6 mp_global_mp_mp_s 71 mp_global.f90
pw.x 0000000000407390 MAIN__ 64 pwscf.f90
pw.x 0000000000407322 Unknown Unknown Unknown
libc-2.31.so 0000150274C0E0B3 __libc_start_main Unknown Unknown
pw.x 000000000040722E Unknown Unknown Unknown
forrtl: error (78): process killed (SIGTERM)
Image PC Routine Line Source
pw.x 0000000000DF35D4 Unknown Unknown Unknown
libpthread-2.31.s 000014FD8472A3C0 Unknown Unknown Unknown
libpthread-2.31.s 000014FD84729330 read Unknown Unknown
libmpi.so.12.0.0 000014FD86A6A99F Unknown Unknown Unknown
libmpi.so.12.0.0 000014FD86A69D32 Unknown Unknown Unknown
libmpi.so.12.0.0 000014FD850AC8D0 Unknown Unknown Unknown
libmpi.so.12.0.0 000014FD8515D613 MPIR_Err_return_c Unknown Unknown
libmpi.so.12.0.0 000014FD85D4BD95 PMPI_Init_thread Unknown Unknown
libmpifort.so.12. 000014FD87AE25DC MPI_INIT_THREAD Unknown Unknown
pw.x 0000000000895521 mp_world_mp_mp_wo 65 mp_world.f90
pw.x 0000000000894FC6 mp_global_mp_mp_s 71 mp_global.f90
pw.x 0000000000407390 MAIN__ 64 pwscf.f90
pw.x 0000000000407322 Unknown Unknown Unknown
libc-2.31.so 000014FD840110B3 __libc_start_main Unknown Unknown
pw.x 000000000040722E Unknown Unknown Unknown
Error condition encountered during test: exit status = 179
Aborting
#########################################################################################
My make.inc file contain following:
###############################################################
# make.inc. Generated from make.inc.in by configure.
# compilation rules
.SUFFIXES :
.SUFFIXES : .o .c .f90 .h .fh
# most fortran compilers can directly preprocess c-like directives: use
# $(MPIF90) $(F90FLAGS) -c $<
# if explicit preprocessing by the C preprocessor is needed, use:
# $(CPP) $(CPPFLAGS) $< -o $*.F90
# $(MPIF90) $(F90FLAGS) -c $*.F90 -o $*.o
# remember the tabulator in the first column !!!
.f90.o:
$(MPIF90) $(F90FLAGS) -c $<
.c.o:
$(CC) $(CFLAGS) -c $<
.h.fh:
$(CPP) $(CPPFLAGS) $< -o $*.fh
# Top QE directory, useful for locating libraries, linking QE with plugins
# The following syntax should always point to TOPDIR:
TOPDIR = $(dir $(abspath $(filter %make.inc,$(MAKEFILE_LIST))))
# if it doesn't work, uncomment the following line (edit if needed):
# TOPDIR = /home/youca/Softwares/q-e-qe-6.7.0
# DFLAGS = precompilation options (possible arguments to -D and -U)
# used by the C compiler and preprocessor
# To use libxc (v>=3.0.1), add -D__LIBXC to DFLAGS
# See include/defs.h.README for a list of options and their meaning
# With the exception of IBM xlf, FDFLAGS = $(DFLAGS)
# For IBM xlf, FDFLAGS is the same as DFLAGS with separating commas
# MANUAL_DFLAGS = additional precompilation option(s), if desired
# BEWARE: it does not work for IBM xlf! Manually edit FDFLAGS
MANUAL_DFLAGS =
DFLAGS = -D__DFTI -D__MPI
FDFLAGS = $(DFLAGS) $(MANUAL_DFLAGS)
# IFLAGS = how to locate directories with *.h or *.f90 file to be included
# typically -I$(TOPDIR)/include -I/some/other/directory/
# the latter contains .e.g. files needed by FFT libraries
# for libxc add -I/path/to/libxc/include/
IFLAGS = -I$(TOPDIR)/include -I$(TOPDIR)/FoX/finclude -I/opt/intel/compilers_and_libraries_2019.1.144/linux/mkl:/opt/intel/compilers_and_libraries_2019.1.144/linux/mkl/include
# MOD_FLAG = flag used by f90 compiler to locate modules
MOD_FLAG = -I
# BASEMOD_FLAGS points to directories containing basic modules,
# while BASEMODS points to the corresponding module libraries
# Each Makefile can add directories to MODFLAGS and libraries to QEMODS
BASEMOD_FLAGS= $(MOD_FLAG)$(TOPDIR)/upflib \
$(MOD_FLAG)$(TOPDIR)/Modules \
$(MOD_FLAG)$(TOPDIR)/FFTXlib \
$(MOD_FLAG)$(TOPDIR)/LAXlib \
$(MOD_FLAG)$(TOPDIR)/UtilXlib \
$(MOD_FLAG)$(TOPDIR)/FoX/finclude
# Compilers: fortran-90, fortran-77, C
# If a parallel compilation is desired, MPIF90 should be a fortran-90
# compiler that produces executables for parallel execution using MPI
# (such as for instance mpif90, mpf90, mpxlf90,...);
# otherwise, an ordinary fortran-90 compiler (f90, g95, xlf90, ifort,...)
# If you have a parallel machine but no suitable candidate for MPIF90,
# try to specify the directory containing "mpif.h" in IFLAGS
# and to specify the location of MPI libraries in MPI_LIBS
MPIF90 = mpiifort
F90 = ifort
CC = icc
# CUDA Toolkit path
CUDA_PATH=
# GPU architecture (Kepler: 35, Pascal: 60, Volta: 70 )
GPU_ARCH=
# CUDA runtime (Pascal: 8.0, Volta: 9.0)
CUDA_RUNTIME=
# CUDA F90 Flags
CUDA_F90FLAGS=
# C preprocessor and preprocessing flags - for explicit preprocessing,
# if needed (see the compilation rules above)
# preprocessing flags must include DFLAGS and IFLAGS
CPP = cpp
CPPFLAGS = -P -traditional -Uvector $(DFLAGS) $(IFLAGS)
# compiler flags: C, F90
# C flags must include DFLAGS and IFLAGS
# F90 flags must include MODFLAGS, IFLAGS, and FDFLAGS with appropriate syntax
CFLAGS = -O3 $(DFLAGS) $(IFLAGS)
F90FLAGS = $(FFLAGS) -nomodule -qopenmp -fpp $(FDFLAGS) $(CUDA_F90FLAGS) $(IFLAGS) $(MODFLAGS)
# compiler flags with and without optimization for fortran-77
# the latter is NEEDED to properly compile dlamch.f, used by lapack
FFLAGS = -O2 -assume byterecl -g -traceback -qopenmp
FFLAGS_NOOPT = -O0 -assume byterecl -g -traceback
# compiler flag needed by some compilers when the main program is not fortran
# Currently used for Yambo
FFLAGS_NOMAIN = -nofor_main
# Linker, linker-specific flags (if any)
# Typically LD coincides with F90 or MPIF90, LD_LIBS is empty
# for libxc, set LD_LIBS=-L/path/to/libxc/lib/ -lxcf90 -lxc
# If libxc is older than v5.0.0 replace -lxcf90 with -lxcf03
LD = mpiifort
LDFLAGS = -qopenmp
LD_LIBS =
# External Libraries (if any) : blas, lapack, fft, MPI
# If you have nothing better, use the local copy
# BLAS_LIBS = $(TOPDIR)/LAPACK/libblas.a
BLAS_LIBS = -lmkl_intel_lp64 -lmkl_intel_thread -lmkl_core
# If you have nothing better, use the local copy
# LAPACK_LIBS_SWITCH = internal
# LAPACK_LIBS = $(TOPDIR)/LAPACK/liblapack.a
LAPACK_LIBS =
LAPACK_LIBS_SWITCH = external
SCALAPACK_LIBS =
# nothing needed here if the the internal copy of FFTW is compiled
# (needs -D__FFTW in DFLAGS)
FFT_LIBS =
# HDF5
HDF5_LIBS =
FOX_LIB = -L$(TOPDIR)/FoX/lib -lFoX_dom -lFoX_sax -lFoX_wxml -lFoX_common\
-lFoX_utils -lFoX_fsys
FOX_FLAGS =
# For parallel execution, the correct path to MPI libraries must
# be specified in MPI_LIBS (except for IBM if you use mpxlf)
MPI_LIBS =
# IBM-specific: MASS libraries, if available and if -D__MASS is defined in FDFLAGS
MASS_LIBS =
# library for bayesian error estimate functionals
BEEF_LIBS = $(TOPDIR)/LIBBEEF/libbeef.a
BEEF_LIBS_SWITCH = internal
# CUDA libraries
CUDA_LIBS=
CUDA_EXTLIBS =
# ar command and flags - for most architectures: AR = ar, ARFLAGS = ruv
AR = ar
ARFLAGS = ruv
# ranlib command. If ranlib is not needed (it isn't in most cases) use
# RANLIB = echo
RANLIB = ranlib
# all internal and external libraries - do not modify
FLIB_TARGETS = all
LIBOBJS = $(TOPDIR)/clib/clib.a
LIBXC_LIBS =
QELIBS = $(BEEF_LIBS) $(LIBXC_LIBS) $(CUDA_LIBS) $(SCALAPACK_LIBS) $(LAPACK_LIBS) $(FOX_LIB) $(FFT_LIBS) $(BLAS_LIBS) $(MPI_LIBS) $(MASS_LIBS) $(HDF5_LIBS) $(LD_LIBS)
# wget or curl - useful to download from network
WGET = wget -O
# Install directory - "make install" copies *.x executables there
PREFIX = /usr/local
########################################################
Than you in advance
It does not seem that you are actually using Open MPI at all. Your make.inc file sets
MPIF90 = mpiifort
which is the Intel MPI Fortran compiler wrapper. The error messages also seem like coming from Intel MPI. If this is so, you may be simply running into a classical issue with Intel MPI (or more specifically libfrabric) not knowing of any default interface that can be used for parallel communication. Try specifying one prior to running any program using Intel MPI, for instance
export FI_PROVIDER=tcp
or
export FI_PROVIDER=sockets
Check the errors,
I didn't install/reinstall the curl, It is installed by default on my OS
cpan WWW::Curl::Easy
Locating required external dependency bin:curl-config... found at /usr/bin/curl-config.
The version is libcurl 7.54.0
Found curl.h in /usr/include/curl/curl.h
In file included from /usr/include/curl/curl.h:38:
In file included from /usr/include/curl/curlbuild.h:145:
In file included from /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/9.0.0/include/inttypes.h:30:
In file included from /usr/include/inttypes.h:224:
In file included from /usr/include/Availability.h:190:
/usr/include/AvailabilityInternal.h:22938:10: error: unterminated conditional directive
#if __MAC_OS_X_VERSION_MIN_REQUIRED >= __MAC_10_12
^
/usr/include/AvailabilityInternal.h:22867:10: error: unterminated conditional directive
#if __MAC_OS_X_VERSION_MIN_REQUIRED >= __MAC_10_11_4
^
/usr/include/AvailabilityInternal.h:22800:10: error: unterminated conditional directive
#if __MAC_OS_X_VERSION_MIN_REQUIRED >= __MAC_10_11_3
^
/usr/include/AvailabilityInternal.h:22737:10: error: unterminated conditional directive
#if __MAC_OS_X_VERSION_MIN_REQUIRED >= __MAC_10_11_2
^
/usr/include/AvailabilityInternal.h:22678:10: error: unterminated conditional directive
#if __MAC_OS_X_VERSION_MIN_REQUIRED >= __MAC_10_11
^
/usr/include/AvailabilityInternal.h:22623:10: error: unterminated conditional directive
#if __MAC_OS_X_VERSION_MIN_REQUIRED >= __MAC_10_10_3
^
/usr/include/AvailabilityInternal.h:22572:10: error: unterminated conditional directive
#if __MAC_OS_X_VERSION_MIN_REQUIRED >= __MAC_10_10_2
^
/usr/include/AvailabilityInternal.h:22525:10: error: unterminated conditional directive
#if __MAC_OS_X_VERSION_MIN_REQUIRED >= __MAC_10_10
^
/usr/include/AvailabilityInternal.h:22482:10: error: unterminated conditional directive
#if __MAC_OS_X_VERSION_MIN_REQUIRED >= __MAC_10_9
^
/usr/include/AvailabilityInternal.h:22443:10: error: unterminated conditional directive
#if __MAC_OS_X_VERSION_MIN_REQUIRED >= __MAC_10_8
^
/usr/include/AvailabilityInternal.h:22408:10: error: unterminated conditional directive
#if __MAC_OS_X_VERSION_MIN_REQUIRED >= __MAC_10_7
^
/usr/include/AvailabilityInternal.h:22377:10: error: unterminated conditional directive
#if __MAC_OS_X_VERSION_MIN_REQUIRED >= __MAC_10_6
^
/usr/include/AvailabilityInternal.h:22350:10: error: unterminated conditional directive
#if __MAC_OS_X_VERSION_MIN_REQUIRED >= __MAC_10_5
^
/usr/include/AvailabilityInternal.h:22327:10: error: unterminated conditional directive
#if __MAC_OS_X_VERSION_MIN_REQUIRED >= __MAC_10_4
^
/usr/include/AvailabilityInternal.h:22308:10: error: unterminated conditional directive
#if __MAC_OS_X_VERSION_MIN_REQUIRED >= __MAC_10_3
^
/usr/include/AvailabilityInternal.h:22293:10: error: unterminated conditional directive
#if __MAC_OS_X_VERSION_MIN_REQUIRED >= __MAC_10_2
^
/usr/include/AvailabilityInternal.h:22282:10: error: unterminated conditional directive
#if __MAC_OS_X_VERSION_MIN_REQUIRED >= __MAC_10_1
^
/usr/include/AvailabilityInternal.h:30:2: error: unterminated conditional directive
#ifndef __AVAILABILITY_INTERNAL__
^
In file included from /usr/include/curl/curl.h:38:
In file included from /usr/include/curl/curlbuild.h:145:
In file included from /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/9.0.0/include/inttypes.h:30:
In file included from /usr/include/inttypes.h:224:
/usr/include/Availability.h:239:2: error: #else without #if
#else
^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
20 errors generated.
Building curlopt-constants.c for your libcurl version
Building Easy.pm constants for your libcurl version
Building Share.pm constants for your libcurl version
Checking if your kit is complete...
Looks good
Writing Makefile for WWW::Curl
Writing MYMETA.yml and MYMETA.json
cp lib/WWW/Curl/Easy.pm blib/lib/WWW/Curl/Easy.pm
cp lib/WWW/Curl.pm blib/lib/WWW/Curl.pm
cp lib/WWW/Curl/Form.pm blib/lib/WWW/Curl/Form.pm
cp lib/WWW/Curl/Share.pm blib/lib/WWW/Curl/Share.pm
cp lib/WWW/Curl/Multi.pm blib/lib/WWW/Curl/Multi.pm
/usr/bin/perl "-Iinc" /System/Library/Perl/5.18/ExtUtils/xsubpp -typemap /System/Library/Perl/5.18/ExtUtils/typemap -typemap typemap Curl.xs > Curl.xsc && mv Curl.xsc Curl.c
cc -c -I/usr/include -arch x86_64 -arch i386 -g -pipe -fno-common -DPERL_DARWIN -fno-strict-aliasing -fstack-protector -Os -DVERSION=\"4.17\" -DXS_VERSION=\"4.17\" "-I/System/Library/Perl/5.18/darwin-thread-multi-2level/CORE" Curl.c
In file included from Curl.xs:574:
./curlopt-constants.c:19:58: error: non-void function 'constant' should return a value [-Wreturn-type]
if (strEQ(name, "DID_MEMORY_FUNC_TYPEDEFS")) return CURL_DID_MEMORY_FUNC_TYPEDEFS;
^
./curlopt-constants.c:128:49: error: use of undeclared identifier 'CURL_STRICTER'
if (strEQ(name, "STRICTER")) return CURL_STRICTER;
^
./curlopt-constants.c:2051:44: warning: implicit conversion from 'unsigned long' to 'int' changes value from 18446744073709551599 to -17 [-Wconstant-conversion]
if (strEQ(name, "ANY")) return CURLAUTH_ANY;
~~~~~~ ^~~~~~~~~~~~
/usr/include/curl/curl.h:679:32: note: expanded from macro 'CURLAUTH_ANY'
#define CURLAUTH_ANY (~CURLAUTH_DIGEST_IE)
^~~~~~~~~~~~~~~~~~~
In file included from Curl.xs:574:
./curlopt-constants.c:2052:48: warning: implicit conversion from 'unsigned long' to 'int' changes value from 18446744073709551598 to -18 [-Wconstant-conversion]
if (strEQ(name, "ANYSAFE")) return CURLAUTH_ANYSAFE;
~~~~~~ ^~~~~~~~~~~~~~~~
/usr/include/curl/curl.h:680:32: note: expanded from macro 'CURLAUTH_ANYSAFE'
#define CURLAUTH_ANYSAFE (~(CURLAUTH_BASIC|CURLAUTH_DIGEST_IE))
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2 warnings and 2 errors generated.
make: *** [Curl.o] Error 1
SZBALINT/WWW-Curl-4.17.tar.gz
/usr/bin/make -- NOT OK
'YAML' not installed, will not store persistent state
Running make test
Can't test without successful make
Running make install
Make had returned bad status, install seems impossible
Tried using cpan install but always receive that error
I need help on what should I do, I don't have background in perl, I just need to run the regression and that module is required.
This is my first time to install a perl module because it is required in my regression file.
So it is not a very easy. But you can build it with some modification. I would also recommend installing a brewed perl instead of using the system perl
$ brew install perl
# Update the CPAN to latest
$ perl -MCPAN -e 'install Bundle::CPAN'
# Install Installer paackage
$ perl -MCPAN -e 'install Module::Install'
Now download the source code from below url
https://cpan.metacpan.org/authors/id/S/SZ/SZBALINT/WWW-Curl-4.17.tar.gz
Extract and it make two changes
Curl.c
#include "curlopt-constants.c"
to
#undef CURL_DID_MEMORY_FUNC_TYPEDEFS
#define CURL_DID_MEMORY_FUNC_TYPEDEFS 0
#include "curlopt-constants.c"
And then in Makefile.PL change
if($e =~ /(OBSOLETE|^CURL_EXTERN|_LAST\z|_LASTENTRY\z)/) {
to
if($e =~ /(OBSOLETE|^CURL_EXTERN|^CURL_STRICTER\z|_LAST\z|_LASTENTRY\z)/) {
And then run the make command in the downloaded folder
References
Failed to install WWW::Curl::Easy: SZBALINT/WWW-Curl-4.17.tar.gz : make NO
https://www.perlmonks.org/?node_id=1208670
https://www.perlmonks.org/?node_id=1208666
The following worked for me (perl 5, version 28, subversion 0 (v5.28.0) built for darwin-thread-multi-2level, XCode 9.4.1):
wget https://www.cpan.org/modules/by-module/WWW/WWW-Curl-4.17.tar.gz
tar zxvf WWW-Curl-4.17.tar.gz
cd WWW-Curl-4.17
cpan Module::Install
git apply cpp.patch
git apply stretch.patch
perl Makefile.PL
make
make install
cpp.patch (see: this SO answer):
diff --git a/Makefile.PL b/Makefile.PL
index f9170bb..124e5fd 100644
--- a/Makefile.PL
+++ b/Makefile.PL
## -100,7 +100,7 ## if (!defined($curl_h)) {
print "Found curl.h in $curl_h\n";
my #syms;
my $has_cpp = 0;
- open(H_IN, "-|", "cpp", $curl_h) and $has_cpp++;
+ open(H_IN, "-|", "cc -E", $curl_h) and $has_cpp++;
unless ($has_cpp) {
warn "No working cpp ($!). Parsing curl.h in Perl";
open(H_IN, "<", $curl_h) or die("Can't open curl.h at path $curl_h, because: ".$!);
stretch.patch (see this ticket):
From 292c05a8aa9c18bd27d0aaff0b4ee601d9b87b92 Mon Sep 17 00:00:00 2001
From: Slaven Rezic <cpansand#cvrsnica-freebsd-101.herceg.de>
Date: Sun, 16 Apr 2017 22:17:00 +0200
Subject: [PATCH] compilation fixes for curl 7.50.2 and newer (RT #117793)
---
Makefile.PL | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/Makefile.PL b/Makefile.PL
index f9170bb..bb852e4 100644
--- a/Makefile.PL
+++ b/Makefile.PL
## -127,7 +127,7 ## if (!defined($curl_h)) {
close H;
for my $e (sort #syms) {
- if($e =~ /(OBSOLETE|^CURL_EXTERN|_LAST\z|_LASTENTRY\z)/) {
+ if($e =~ /(OBSOLETE|^CURL_EXTERN|^CURL_STRICTER\z|^CURL_DID_MEMORY_FUNC_TYPEDEFS\z|_LAST\z|_LASTENTRY\z)/) {
next;
}
my ($group) = $e =~ m/^([^_]+_)/;
--
2.1.2
In MSYS2, I tried to intall a Chicken egg with::
chicken-install http-client
I get several errors like the following:
"c:\msys64\usr\local\bin\csc" -feature compiling-extension -setup-mode mathh.scm -shared -optimize-leaf-routines -inline -output-file mathh.so -emit-import-library mathh -emit-type-file mathh.types -local -no-procedure-checks
mathh.c:24:1: error: static declaration of 'log2' follows non-static declaration
log2( double x )
^~~~
In file included from c:/msys64/usr/local/include/chicken/chicken.h:131:0,
from mathh.c:11:
C:/msys64/mingw64/x86_64-w64-mingw32/include/math.h:773:25: note: previous declaration of 'log2' was here
extern double __cdecl log2 (double);
^~~~
mathh.c:41:1: error: static declaration of 'log1p' follows non-static declaration
log1p( double x )
^~~~~
Edit
The dependency:
chicken-install mathh
gives:
...
mathh.c: In function 'stub181':
mathh.c:357:19: warning: implicit declaration of function 'mm_hypot'; did you mean '_hypot'? [-Wimplicit-function-declaration]
C_r=C_flonum(&C_a,mm_hypot(t0,t1));
^~~~~~~~
_hypot
mathh.o:mathh.c:(.text+0x177f): undefined reference to `mm_hypot'
collect2.exe: error: ld returned 1 exit status
Error: shell command terminated with non-zero exit status 1: ""gcc" "mathh.o" -o "mathh.so" -Wl,--enable-auto-import -shared -Lc:\msys64\usr\local\lib\ -lchicken -lm -lws2_32"
Error: shell command failed with nonzero exit status 1:
""c:\msys64\usr\local\bin\csc" -feature compiling-extension -setup-mode mathh.scm -shared -optimize-leaf-routines -inline -output-file mathh.so -emit-import-library mathh -emit-type-file mathh.types -local -no-procedure-checks"
Error: shell command terminated with nonzero exit code
70
"\"\"c:\\msys64\\usr\\local\\bin\\csi\" -bnq -setup-mode -e \"(require-lib...
Edit
Fix proposed by #krl:
msys2_shell.cmd -mingw64 # see http://wiki.call-cc.org/msys2
export CHICKEN_PREFIX="c:\msys64\usr\local\\"
export CHICKEN_REPOSITORY="c:\msys64\usr\local\lib\chicken\8\\"
chicken-install -retrieve mathh
sed -i.bak -r 's/define +mathh-compile-options.+\(/&\n -C -mwin32/' ./mathh/mathh.setup
chicken-install test
chicken-install -test -transport local -location . mathh
That still gives the following errors:
...
installing mathh: ...
changing current directory to C:\msys64\home\user\.\mathh
""c:\msys64\usr\local\bin\csi" -bnq -setup-mode -e "(require-library setup-api)" -e "(import setup-api)" -e "(setup-error-handling)" -e "(extension-name-and-version '(\"mathh\" \"\"))" "mathh.setup""
"c:\msys64\usr\local\bin\csc" -feature compiling-extension -setup-mode mathh.scm -shared -optimize-leaf-routines -inline -output-file mathh.so -emit-import-library mathh -emit-type-file mathh.types -local -no-procedure-checks
mathh.c:29:1: error: static declaration of 'log2' follows non-static declaration
log2( double x )
^~~~
In file included from c:/msys64/usr/local/include/chicken/chicken.h:131:0,
from mathh.c:11:
C:/msys64/mingw64/x86_64-w64-mingw32/include/math.h:773:25: note: previous declaration of 'log2' was here
extern double __cdecl log2 (double);
^~~~
... further errors like above
It looks like this is a bug in the mathh egg. I've asked its author to take a look and he's published a new version. Can you try again?
from http://www.davidegrayson.com/windev/msys2/ it appears the MSYS2 -mwin32 gcc option is needed to define _WIN32. mathh uses defined(_WIN32) to trigger expansion of the q&d implementations of log2, etc. for windows.
the mathh egg mathh.setup file can be modified to supply compile-options. see the definition of mathh-compile-options in mathh.setup.
ex: (define mathh-compile-options '(-local -no-procedure-checks -mwin32))
I've just released http-client version 0.16 where I ripped out the overly complex md5 dependency, and replaced it with the new simple-md5 egg.
This should be much easier to install. It should appear on the egg mirrors shortly.
I cloned a copy of feng multimedia server, after running autoreconf -i in its directory, a configure script was created, but when I run this script, it gets stuck and exit with the following error:
checking if gcc -std=gnu99 supports __attribute__(( packed ))... no
configure: error: unable to find how the compiler declares packed structures
Any idea of how I can fix such a problem ?
Output of gcc --verbose :
Using built-in specs.
Target: x86_64-redhat-linux
Configured with: ../configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info with-bugurl=http://bugzilla.redhat.com/bugzilla --enable-bootstrap --enable-shared --enable-threads=posix --enable-checking=release --with-system-zlib --enable-__cxa_atexit --disable-libunwind-exceptions --enable-gnu-unique-object --enable-languages=c,c++,objc,obj-c++,java,fortran,ada --enable-java-awt=gtk --disable-dssi --with-java-home=/usr/lib/jvm/java-1.5.0-gcj-1.5.0.0/jre --enable-libgcj-multifile --enable-java-maintainer-mode --with-ecj-jar=/usr/share/java/eclipse-ecj.jar --disable-libjava-multilib --with-ppl --with-cloog --with-tune=generic --with-arch_32=i686 --build=x86_64-redhat-linux
Thread model: posix
gcc version 4.4.7 20120313 (Red Hat 4.4.7-4) (GCC)
Output of the config.log file:
| }
configure:7344: result: no
configure:7355: WARNING: POSIX realtime features not available
configure:7363: checking if gcc -std=gnu99 supports __attribute__(( packed ))
configure:7385: gcc -std=gnu99 -c -g -O2 -Wall -Wwrite-strings -fdiagnostics-show-option -Wformat=2 -Werror=implicit-function-declaration -Werror=return-type -DNDEBUG $
conftest.c:26: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'm4_ifnblank'
conftest.c:33:3: error: invalid preprocessing directive #Check
conftest.c:35: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'enableval'
conftest.c:36: error: expected identifier or '(' before 'else'
conftest.c:41:3: error: invalid preprocessing directive #Check
conftest.c:43: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'enableval'
conftest.c:47: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'if'
conftest.c:50: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'cat'
conftest.c:50: error: stray '\' in program
cc1: warnings being treated as errors
conftest.c:54: error: empty declaration
conftest.c:55: error: invalid application of 'sizeof' to incomplete type 'struct astructure'
conftest.c:55: error: size of array 'assert' is negative
configure:7392: $? = 1
configure: failed program was:
| /* confdefs.h. */
//...........OUTPUT TRIMMED.............//
#define _TANDEM_SOURCE 1
#define HAVE_LIBEV 1
_ACEOF
m4_ifnblank(, )
else
m4_ifnblank(AC_MSG_ERROR([libev not found, feng requires libev]), AC_MSG_ERROR([libev not found, feng requires libev]))
fi
# Check whether --enable-trace was given.
if test "${enable_trace+set}" = set; then
enableval=$enable_trace;
else
enable_trace="no"
fi
# Check whether --enable-tables was given.
if test "${enable_tables+set}" = set; then
enableval=$enable_tables;
fi
if test "x$enable_tables" = "xno"; then
cat >>confdefs.h <<\_ACEOF
#define AVOID_TABLES 1
#define HAVE_DECL_STRERROR_R 0
configure: exit 1