Skip to content

Instantly share code, notes, and snippets.

@murrayE
Last active April 13, 2018 14:10
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save murrayE/6b237317b9d991f120b612e37913f783 to your computer and use it in GitHub Desktop.
Save murrayE/6b237317b9d991f120b612e37913f783 to your computer and use it in GitHub Desktop.
MacPorts openmodelica OMCompiler config log from failed build 2018-04-12
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.
It was created by OMCompiler configure dev, which was
generated by GNU Autoconf 2.69. Invocation command line was
$ ./configure --disable-option-checking --prefix=/opt/local --disable-python-interface --disable-modelica3d --with-lapack=-llapack -lblas --without-omc --without-omlibrary OMPCC=/opt/local/bin/gcc-mp-5 -fopenmp -mno-avx GNUCXX=/opt/local/bin/g++-mp-5 --with-omniORB=/opt/local CC=/usr/bin/clang CFLAGS=-pipe -Os -arch x86_64 LDFLAGS=-L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 CPPFLAGS=-I/opt/local/include --with-ombuilddir=/opt/local/var/macports/build/_opt_local_var_macports_sources_build.openmodelica.org_macports_lang_openmodelica-devel/openmodelica-devel/work/openmodelica_1.13.0~dev-884-g9a6d20f/build --cache-file=/dev/null --srcdir=.
## --------- ##
## Platform. ##
## --------- ##
hostname = Blackstone.local
uname -m = x86_64
uname -r = 17.5.0
uname -s = Darwin
uname -v = Darwin Kernel Version 17.5.0: Mon Mar 5 22:24:32 PST 2018; root:xnu-4570.51.1~1/RELEASE_X86_64
/usr/bin/uname -p = i386
/bin/uname -X = unknown
/bin/arch = unknown
/usr/bin/arch -k = unknown
/usr/convex/getsysinfo = unknown
/usr/bin/hostinfo = Mach kernel version:
Darwin Kernel Version 17.5.0: Mon Mar 5 22:24:32 PST 2018; root:xnu-4570.51.1~1/RELEASE_X86_64
Kernel configured for up to 8 processors.
4 processors are physically available.
8 processors are logically available.
Processor type: x86_64h (Intel x86-64h Haswell)
Processors active: 0 1 2 3 4 5 6 7
Primary memory available: 32.00 gigabytes
Default processor set: 448 tasks, 1899 threads, 8 processors
Load average: 6.56, Mach factor: 2.66
/bin/machine = unknown
/usr/bin/oslevel = unknown
/bin/universe = unknown
PATH: /opt/local/libexec/qt4/bin
PATH: /opt/local/bin
PATH: /opt/local/sbin
PATH: /bin
PATH: /sbin
PATH: /usr/bin
PATH: /usr/sbin
## ----------- ##
## Core tests. ##
## ----------- ##
configure:2626: checking build system type
configure:2640: result: x86_64-apple-darwin17.5.0
configure:2660: checking host system type
configure:2673: result: x86_64-apple-darwin17.5.0
configure:2693: checking target system type
configure:2706: result: x86_64-apple-darwin17.5.0
configure:2833: checking for gcc
configure:2860: result: /usr/bin/clang
configure:3089: checking for C compiler version
configure:3098: /usr/bin/clang --version >&5
Apple LLVM version 9.1.0 (clang-902.0.39.1)
Target: x86_64-apple-darwin17.5.0
Thread model: posix
InstalledDir: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin
configure:3109: $? = 0
configure:3098: /usr/bin/clang -v >&5
Apple LLVM version 9.1.0 (clang-902.0.39.1)
Target: x86_64-apple-darwin17.5.0
Thread model: posix
InstalledDir: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin
configure:3109: $? = 0
configure:3098: /usr/bin/clang -V >&5
clang: error: argument to '-V' is missing (expected 1 value)
clang: error: no input files
configure:3109: $? = 1
configure:3098: /usr/bin/clang -qversion >&5
clang: error: unknown argument: '-qversion'
clang: error: no input files
configure:3109: $? = 1
configure:3129: checking whether the C compiler works
configure:3151: /usr/bin/clang -pipe -Os -arch x86_64 -I/opt/local/include -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 conftest.c >&5
configure:3155: $? = 0
configure:3203: result: yes
configure:3206: checking for C compiler default output file name
configure:3208: result: a.out
configure:3214: checking for suffix of executables
configure:3221: /usr/bin/clang -o conftest -pipe -Os -arch x86_64 -I/opt/local/include -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 conftest.c >&5
configure:3225: $? = 0
configure:3247: result:
configure:3269: checking whether we are cross compiling
configure:3277: /usr/bin/clang -o conftest -pipe -Os -arch x86_64 -I/opt/local/include -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 conftest.c >&5
configure:3281: $? = 0
configure:3288: ./conftest
configure:3292: $? = 0
configure:3307: result: no
configure:3312: checking for suffix of object files
configure:3334: /usr/bin/clang -c -pipe -Os -arch x86_64 -I/opt/local/include conftest.c >&5
configure:3338: $? = 0
configure:3359: result: o
configure:3363: checking whether we are using the GNU C compiler
configure:3382: /usr/bin/clang -c -pipe -Os -arch x86_64 -I/opt/local/include conftest.c >&5
configure:3382: $? = 0
configure:3391: result: yes
configure:3400: checking whether /usr/bin/clang accepts -g
configure:3420: /usr/bin/clang -c -g -I/opt/local/include conftest.c >&5
configure:3420: $? = 0
configure:3461: result: yes
configure:3478: checking for /usr/bin/clang option to accept ISO C89
configure:3541: /usr/bin/clang -c -pipe -Os -arch x86_64 -I/opt/local/include conftest.c >&5
configure:3541: $? = 0
configure:3554: result: none needed
configure:3686: checking for C++ compiler version
configure:3695: /usr/bin/clang++ --version >&5
Apple LLVM version 9.1.0 (clang-902.0.39.1)
Target: x86_64-apple-darwin17.5.0
Thread model: posix
InstalledDir: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin
configure:3706: $? = 0
configure:3695: /usr/bin/clang++ -v >&5
Apple LLVM version 9.1.0 (clang-902.0.39.1)
Target: x86_64-apple-darwin17.5.0
Thread model: posix
InstalledDir: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin
configure:3706: $? = 0
configure:3695: /usr/bin/clang++ -V >&5
clang: error: argument to '-V' is missing (expected 1 value)
clang: error: no input files
configure:3706: $? = 1
configure:3695: /usr/bin/clang++ -qversion >&5
clang: error: unknown argument: '-qversion'
clang: error: no input files
configure:3706: $? = 1
configure:3710: checking whether we are using the GNU C++ compiler
configure:3729: /usr/bin/clang++ -c -pipe -Os -stdlib=libc++ -arch x86_64 -I/opt/local/include conftest.cpp >&5
configure:3729: $? = 0
configure:3738: result: yes
configure:3747: checking whether /usr/bin/clang++ accepts -g
configure:3767: /usr/bin/clang++ -c -g -I/opt/local/include conftest.cpp >&5
configure:3767: $? = 0
configure:3808: result: yes
configure:3836: checking how to run the C preprocessor
configure:3867: /usr/bin/clang -E -I/opt/local/include conftest.c
configure:3867: $? = 0
configure:3881: /usr/bin/clang -E -I/opt/local/include conftest.c
conftest.c:9:10: fatal error: 'ac_nonexistent.h' file not found
#include <ac_nonexistent.h>
^~~~~~~~~~~~~~~~~~
1 error generated.
configure:3881: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "OMCompiler"
| #define PACKAGE_TARNAME "openmodelica"
| #define PACKAGE_VERSION "dev"
| #define PACKAGE_STRING "OMCompiler dev"
| #define PACKAGE_BUGREPORT "https://trac.openmodelica.org/OpenModelica"
| #define PACKAGE_URL "https://openmodelica.org"
| /* end confdefs.h. */
| #include <ac_nonexistent.h>
configure:3906: result: /usr/bin/clang -E
configure:3926: /usr/bin/clang -E -I/opt/local/include conftest.c
configure:3926: $? = 0
configure:3940: /usr/bin/clang -E -I/opt/local/include conftest.c
conftest.c:9:10: fatal error: 'ac_nonexistent.h' file not found
#include <ac_nonexistent.h>
^~~~~~~~~~~~~~~~~~
1 error generated.
configure:3940: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "OMCompiler"
| #define PACKAGE_TARNAME "openmodelica"
| #define PACKAGE_VERSION "dev"
| #define PACKAGE_STRING "OMCompiler dev"
| #define PACKAGE_BUGREPORT "https://trac.openmodelica.org/OpenModelica"
| #define PACKAGE_URL "https://openmodelica.org"
| /* end confdefs.h. */
| #include <ac_nonexistent.h>
configure:3968: checking whether make sets $(MAKE)
configure:3990: result: yes
configure:4105: checking for Fortran compiler version
configure:4114: /opt/local/bin/gfortran-mp-5 --version >&5
GNU Fortran (MacPorts gcc5 5.5.0_0) 5.5.0
Copyright (C) 2015 Free Software Foundation, Inc.
GNU Fortran comes with NO WARRANTY, to the extent permitted by law.
You may redistribute copies of GNU Fortran
under the terms of the GNU General Public License.
For more information about these matters, see the file named COPYING
configure:4125: $? = 0
configure:4114: /opt/local/bin/gfortran-mp-5 -v >&5
Using built-in specs.
COLLECT_GCC=/opt/local/bin/gfortran-mp-5
COLLECT_LTO_WRAPPER=/opt/local/libexec/gcc/x86_64-apple-darwin17/5.5.0/lto-wrapper
Target: x86_64-apple-darwin17
Configured with: /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_lang_gcc5/gcc5/work/gcc-5.5.0/configure --prefix=/opt/local --build=x86_64-apple-darwin17 --enable-languages=c,c++,objc,obj-c++,lto,fortran,java --libdir=/opt/local/lib/gcc5 --includedir=/opt/local/include/gcc5 --infodir=/opt/local/share/info --mandir=/opt/local/share/man --datarootdir=/opt/local/share/gcc-5 --with-libiconv-prefix=/opt/local --with-local-prefix=/opt/local --with-system-zlib --disable-nls --program-suffix=-mp-5 --with-gxx-include-dir=/opt/local/include/gcc5/c++/ --with-gmp=/opt/local --with-mpfr=/opt/local --with-mpc=/opt/local --with-isl=/opt/local --enable-stage1-checking --disable-multilib --enable-lto --enable-libstdcxx-time --with-build-config=bootstrap-debug --with-as=/opt/local/bin/as --with-ld=/opt/local/bin/ld --with-ar=/opt/local/bin/ar --with-bugurl=https://trac.macports.org/newticket --disable-tls --with-pkgversion='MacPorts gcc5 5.5.0_0'
Thread model: posix
gcc version 5.5.0 (MacPorts gcc5 5.5.0_0)
configure:4125: $? = 0
configure:4114: /opt/local/bin/gfortran-mp-5 -V >&5
gfortran-mp-5: error: unrecognized command line option '-V'
gfortran-mp-5: fatal error: no input files
compilation terminated.
configure:4125: $? = 1
configure:4114: /opt/local/bin/gfortran-mp-5 -qversion >&5
gfortran-mp-5: error: unrecognized command line option '-qversion'
gfortran-mp-5: fatal error: no input files
compilation terminated.
configure:4125: $? = 1
configure:4134: checking whether we are using the GNU Fortran compiler
configure:4147: /opt/local/bin/gfortran-mp-5 -c -pipe -Os -m64 conftest.F >&5
configure:4147: $? = 0
configure:4156: result: yes
configure:4162: checking whether /opt/local/bin/gfortran-mp-5 accepts -g
configure:4173: /opt/local/bin/gfortran-mp-5 -c -g conftest.f >&5
configure:4173: $? = 0
configure:4181: result: yes
configure:4231: checking if -Werror works
configure:4245: /usr/bin/clang -o conftest -pipe -Os -arch x86_64 -Werror -I/opt/local/include -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 conftest.c >&5
configure:4245: $? = 0
configure:4246: result: ok
configure:4289: checking looking for --no-undefined
configure:4302: /usr/bin/clang -o conftest -pipe -Os -arch x86_64 -I/opt/local/include -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 -Wl,--no-undefined conftest.c >&5
ld: unknown option: --no-undefined
clang: error: linker command failed with exit code 1 (use -v to see invocation)
configure:4302: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "OMCompiler"
| #define PACKAGE_TARNAME "openmodelica"
| #define PACKAGE_VERSION "dev"
| #define PACKAGE_STRING "OMCompiler dev"
| #define PACKAGE_BUGREPORT "https://trac.openmodelica.org/OpenModelica"
| #define PACKAGE_URL "https://openmodelica.org"
| /* end confdefs.h. */
| void abc() {}
| int
| main ()
| {
| abc();
| ;
| return 0;
| }
configure:4306: result: no
configure:4335: /usr/bin/clang -o conftest -fno-stack-protector -Werror -I/opt/local/include -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 conftest.c >&5
configure:4335: $? = 0
configure:4357: /usr/bin/clang -o conftest -Wno-parentheses-equality -Werror -I/opt/local/include -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 conftest.c >&5
configure:4357: $? = 0
configure:4357: /usr/bin/clang -o conftest -Wno-unused-variable -Werror -I/opt/local/include -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 conftest.c >&5
configure:4357: $? = 0
configure:4379: /usr/bin/clang -o conftest -Werror=implicit-function-declaration -Werror -I/opt/local/include -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 conftest.c >&5
configure:4379: $? = 0
configure:4379: /usr/bin/clang -o conftest -Werror=incompatible-pointer-types -Werror -I/opt/local/include -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 conftest.c >&5
configure:4379: $? = 0
configure:4483: /usr/bin/clang++ -o conftest -pipe -Os -stdlib=libc++ -arch x86_64 -stdlib=libstdc++ -I/opt/local/include -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 conftest.cpp >&5
clang: warning: libstdc++ is deprecated; move to libc++ [-Wdeprecated]
configure:4483: $? = 0
configure:4554: checking whether /usr/bin/clang++ supports C++11 features by default
configure:4611: /usr/bin/clang++ -c -pipe -Os -stdlib=libc++ -arch x86_64 -stdlib=libstdc++ -I/opt/local/include conftest.cpp >&5
conftest.cpp:13:21: error: expected parameter declarator
static_assert(sizeof(int) <= sizeof(T), "not big enough");
^
conftest.cpp:13:21: error: expected ')'
conftest.cpp:13:20: note: to match this '('
static_assert(sizeof(int) <= sizeof(T), "not big enough");
^
conftest.cpp:13:7: error: C++ requires a type specifier for all declarations
static_assert(sizeof(int) <= sizeof(T), "not big enough");
^
conftest.cpp:20:22: warning: 'override' keyword is a C++11 extension [-Wc++11-extensions]
virtual void f() override {}
^
conftest.cpp:23:29: error: a space is required between consecutive right angle brackets (use '> >')
typedef check<check<bool>> right_angle_brackets;
^~
> >
conftest.cpp:26:5: error: unknown type name 'decltype'
decltype(a) b;
^
conftest.cpp:26:16: error: expected ';' after top level declarator
decltype(a) b;
^
;
conftest.cpp:30:15: warning: rvalue references are a C++11 extension [-Wc++11-extensions]
check_type&& cr = static_cast<check_type&&>(c);
^
conftest.cpp:30:45: warning: rvalue references are a C++11 extension [-Wc++11-extensions]
check_type&& cr = static_cast<check_type&&>(c);
^
conftest.cpp:32:5: warning: 'auto' type specifier is a C++11 extension [-Wc++11-extensions]
auto d = a;
^
conftest.cpp:33:5: warning: 'auto' type specifier is a C++11 extension [-Wc++11-extensions]
auto l = [](){};
^
conftest.cpp:33:14: error: expected expression
auto l = [](){};
^
conftest.cpp:43:24: warning: alias declarations are a C++11 extension [-Wc++11-extensions]
using member = typename T::member_type;
^
6 warnings and 7 errors generated.
configure:4611: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "OMCompiler"
| #define PACKAGE_TARNAME "openmodelica"
| #define PACKAGE_VERSION "dev"
| #define PACKAGE_STRING "OMCompiler dev"
| #define PACKAGE_BUGREPORT "https://trac.openmodelica.org/OpenModelica"
| #define PACKAGE_URL "https://openmodelica.org"
| /* end confdefs.h. */
|
| template <typename T>
| struct check
| {
| static_assert(sizeof(int) <= sizeof(T), "not big enough");
| };
|
| struct Base {
| virtual void f() {}
| };
| struct Child : public Base {
| virtual void f() override {}
| };
|
| typedef check<check<bool>> right_angle_brackets;
|
| int a;
| decltype(a) b;
|
| typedef check<int> check_type;
| check_type c;
| check_type&& cr = static_cast<check_type&&>(c);
|
| auto d = a;
| auto l = [](){};
| // Prevent Clang error: unused variable 'l' [-Werror,-Wunused-variable]
| struct use_l { use_l() { l(); } };
|
| // http://stackoverflow.com/questions/13728184/template-aliases-and-sfinae
| // Clang 3.1 fails with headers of libstd++ 4.8.3 when using std::function because of this
| namespace test_template_alias_sfinae {
| struct foo {};
|
| template<typename T>
| using member = typename T::member_type;
|
| template<typename T>
| void func(...) {}
|
| template<typename T>
| void func(member<T>*) {}
|
| void test();
|
| void test() {
| func<foo>(0);
| }
| }
|
configure:4618: result: no
configure:4629: checking whether /usr/bin/clang++ supports C++11 features with -std=c++11
configure:4688: /usr/bin/clang++ -c -pipe -Os -stdlib=libc++ -arch x86_64 -stdlib=libstdc++ -std=c++11 -I/opt/local/include conftest.cpp >&5
configure:4688: $? = 0
configure:4697: result: yes
configure:4776: checking for omc
configure:4783: result: building it through bootstrapping (you might end up unable to recompile omc if you modify source code)
configure:4877: checking for grep that handles long lines and -e
configure:4935: result: /opt/local/bin/grep
configure:4940: checking for egrep
configure:5002: result: /opt/local/bin/grep -E
configure:5007: checking for ANSI C header files
configure:5027: /usr/bin/clang -c -pipe -Os -arch x86_64 -fno-stack-protector -I/opt/local/include conftest.c >&5
configure:5027: $? = 0
configure:5100: /usr/bin/clang -o conftest -pipe -Os -arch x86_64 -fno-stack-protector -I/opt/local/include -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 conftest.c >&5
configure:5100: $? = 0
configure:5100: ./conftest
configure:5100: $? = 0
configure:5111: result: yes
configure:5125: checking for sys/types.h
configure:5125: /usr/bin/clang -c -pipe -Os -arch x86_64 -fno-stack-protector -I/opt/local/include conftest.c >&5
configure:5125: $? = 0
configure:5125: result: yes
configure:5125: checking for sys/stat.h
configure:5125: /usr/bin/clang -c -pipe -Os -arch x86_64 -fno-stack-protector -I/opt/local/include conftest.c >&5
configure:5125: $? = 0
configure:5125: result: yes
configure:5125: checking for stdlib.h
configure:5125: /usr/bin/clang -c -pipe -Os -arch x86_64 -fno-stack-protector -I/opt/local/include conftest.c >&5
configure:5125: $? = 0
configure:5125: result: yes
configure:5125: checking for string.h
configure:5125: /usr/bin/clang -c -pipe -Os -arch x86_64 -fno-stack-protector -I/opt/local/include conftest.c >&5
configure:5125: $? = 0
configure:5125: result: yes
configure:5125: checking for memory.h
configure:5125: /usr/bin/clang -c -pipe -Os -arch x86_64 -fno-stack-protector -I/opt/local/include conftest.c >&5
configure:5125: $? = 0
configure:5125: result: yes
configure:5125: checking for strings.h
configure:5125: /usr/bin/clang -c -pipe -Os -arch x86_64 -fno-stack-protector -I/opt/local/include conftest.c >&5
configure:5125: $? = 0
configure:5125: result: yes
configure:5125: checking for inttypes.h
configure:5125: /usr/bin/clang -c -pipe -Os -arch x86_64 -fno-stack-protector -I/opt/local/include conftest.c >&5
configure:5125: $? = 0
configure:5125: result: yes
configure:5125: checking for stdint.h
configure:5125: /usr/bin/clang -c -pipe -Os -arch x86_64 -fno-stack-protector -I/opt/local/include conftest.c >&5
configure:5125: $? = 0
configure:5125: result: yes
configure:5125: checking for unistd.h
configure:5125: /usr/bin/clang -c -pipe -Os -arch x86_64 -fno-stack-protector -I/opt/local/include conftest.c >&5
configure:5125: $? = 0
configure:5125: result: yes
configure:5139: checking sys/time.h usability
configure:5139: /usr/bin/clang -c -pipe -Os -arch x86_64 -fno-stack-protector -I/opt/local/include conftest.c >&5
configure:5139: $? = 0
configure:5139: result: yes
configure:5139: checking sys/time.h presence
configure:5139: /usr/bin/clang -E -I/opt/local/include conftest.c
configure:5139: $? = 0
configure:5139: result: yes
configure:5139: checking for sys/time.h
configure:5139: result: yes
configure:5153: checking for antlr.Tool support
configure:5160: result: yes
configure:5168: checking expat.h usability
configure:5168: /usr/bin/clang -c -pipe -Os -arch x86_64 -fno-stack-protector -I/opt/local/include conftest.c >&5
configure:5168: $? = 0
configure:5168: result: yes
configure:5168: checking expat.h presence
configure:5168: /usr/bin/clang -E -I/opt/local/include conftest.c
configure:5168: $? = 0
configure:5168: result: yes
configure:5168: checking for expat.h
configure:5168: result: yes
configure:5177: checking for an ANSI C-conforming const
configure:5243: /usr/bin/clang -c -pipe -Os -arch x86_64 -fno-stack-protector -I/opt/local/include conftest.c >&5
configure:5243: $? = 0
configure:5250: result: yes
configure:5258: checking for size_t
configure:5258: /usr/bin/clang -c -pipe -Os -arch x86_64 -fno-stack-protector -I/opt/local/include conftest.c >&5
configure:5258: $? = 0
configure:5258: /usr/bin/clang -c -pipe -Os -arch x86_64 -fno-stack-protector -I/opt/local/include conftest.c >&5
conftest.c:57:21: error: expected expression
if (sizeof ((size_t)))
^
1 error generated.
configure:5258: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "OMCompiler"
| #define PACKAGE_TARNAME "openmodelica"
| #define PACKAGE_VERSION "dev"
| #define PACKAGE_STRING "OMCompiler dev"
| #define PACKAGE_BUGREPORT "https://trac.openmodelica.org/OpenModelica"
| #define PACKAGE_URL "https://openmodelica.org"
| #define HAVE_CXX11 1
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_SYS_TIME_H 1
| /* end confdefs.h. */
| #include <stdio.h>
| #ifdef HAVE_SYS_TYPES_H
| # include <sys/types.h>
| #endif
| #ifdef HAVE_SYS_STAT_H
| # include <sys/stat.h>
| #endif
| #ifdef STDC_HEADERS
| # include <stdlib.h>
| # include <stddef.h>
| #else
| # ifdef HAVE_STDLIB_H
| # include <stdlib.h>
| # endif
| #endif
| #ifdef HAVE_STRING_H
| # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
| # include <memory.h>
| # endif
| # include <string.h>
| #endif
| #ifdef HAVE_STRINGS_H
| # include <strings.h>
| #endif
| #ifdef HAVE_INTTYPES_H
| # include <inttypes.h>
| #endif
| #ifdef HAVE_STDINT_H
| # include <stdint.h>
| #endif
| #ifdef HAVE_UNISTD_H
| # include <unistd.h>
| #endif
| int
| main ()
| {
| if (sizeof ((size_t)))
| return 0;
| ;
| return 0;
| }
configure:5258: result: yes
configure:5272: checking for vprintf
configure:5272: /usr/bin/clang -o conftest -pipe -Os -arch x86_64 -fno-stack-protector -I/opt/local/include -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 conftest.c >&5
conftest.c:44:6: warning: incompatible redeclaration of library function 'vprintf' [-Wincompatible-library-redeclaration]
char vprintf ();
^
conftest.c:44:6: note: 'vprintf' is a builtin with type 'int (const char *, struct __va_list_tag *)'
1 warning generated.
configure:5272: $? = 0
configure:5272: result: yes
configure:5278: checking for _doprnt
configure:5278: /usr/bin/clang -o conftest -pipe -Os -arch x86_64 -fno-stack-protector -I/opt/local/include -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 conftest.c >&5
Undefined symbols for architecture x86_64:
"__doprnt", referenced from:
_main in conftest-df2ec3.o
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
configure:5278: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "OMCompiler"
| #define PACKAGE_TARNAME "openmodelica"
| #define PACKAGE_VERSION "dev"
| #define PACKAGE_STRING "OMCompiler dev"
| #define PACKAGE_BUGREPORT "https://trac.openmodelica.org/OpenModelica"
| #define PACKAGE_URL "https://openmodelica.org"
| #define HAVE_CXX11 1
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_SYS_TIME_H 1
| #define HAVE_VPRINTF 1
| /* end confdefs.h. */
| /* Define _doprnt to an innocuous variant, in case <limits.h> declares _doprnt.
| For example, HP-UX 11i <limits.h> declares gettimeofday. */
| #define _doprnt innocuous__doprnt
|
| /* System header to define __stub macros and hopefully few prototypes,
| which can conflict with char _doprnt (); below.
| Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
| <limits.h> exists even on freestanding compilers. */
|
| #ifdef __STDC__
| # include <limits.h>
| #else
| # include <assert.h>
| #endif
|
| #undef _doprnt
|
| /* Override any GCC internal prototype to avoid an error.
| Use char because int might match the return type of a GCC
| builtin and then its argument prototype would still apply. */
| #ifdef __cplusplus
| extern "C"
| #endif
| char _doprnt ();
| /* The GNU C library defines this for functions which it implements
| to always fail with ENOSYS. Some functions are actually named
| something starting with __ and the normal name is an alias. */
| #if defined __stub__doprnt || defined __stub____doprnt
| choke me
| #endif
|
| int
| main ()
| {
| return _doprnt ();
| ;
| return 0;
| }
configure:5278: result: no
configure:5292: checking for getcwd
configure:5292: /usr/bin/clang -o conftest -pipe -Os -arch x86_64 -fno-stack-protector -I/opt/local/include -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 conftest.c >&5
configure:5292: $? = 0
configure:5292: result: yes
configure:5292: checking for select
configure:5292: /usr/bin/clang -o conftest -pipe -Os -arch x86_64 -fno-stack-protector -I/opt/local/include -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 conftest.c >&5
configure:5292: $? = 0
configure:5292: result: yes
configure:5292: checking for strdup
configure:5292: /usr/bin/clang -o conftest -pipe -Os -arch x86_64 -fno-stack-protector -I/opt/local/include -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 conftest.c >&5
conftest.c:47:6: warning: incompatible redeclaration of library function 'strdup' [-Wincompatible-library-redeclaration]
char strdup ();
^
conftest.c:47:6: note: 'strdup' is a builtin with type 'char *(const char *)'
1 warning generated.
configure:5292: $? = 0
configure:5292: result: yes
configure:5292: checking for strerror
configure:5292: /usr/bin/clang -o conftest -pipe -Os -arch x86_64 -fno-stack-protector -I/opt/local/include -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 conftest.c >&5
conftest.c:48:6: warning: incompatible redeclaration of library function 'strerror' [-Wincompatible-library-redeclaration]
char strerror ();
^
conftest.c:48:6: note: 'strerror' is a builtin with type 'char *(int)'
1 warning generated.
configure:5292: $? = 0
configure:5292: result: yes
configure:5303: checking for scandir
configure:5331: /usr/bin/clang -o conftest -pipe -Os -arch x86_64 -fno-stack-protector -I/opt/local/include -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 conftest.c >&5
conftest.c:33:57: error: function definition is not allowed here
int file_select_directories(const struct dirent *entry) {
^
conftest.c:37:12: error: function definition is not allowed here
int main() {
^
2 errors generated.
configure:5331: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "OMCompiler"
| #define PACKAGE_TARNAME "openmodelica"
| #define PACKAGE_VERSION "dev"
| #define PACKAGE_STRING "OMCompiler dev"
| #define PACKAGE_BUGREPORT "https://trac.openmodelica.org/OpenModelica"
| #define PACKAGE_URL "https://openmodelica.org"
| #define HAVE_CXX11 1
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_SYS_TIME_H 1
| #define HAVE_VPRINTF 1
| #define HAVE_GETCWD 1
| #define HAVE_SELECT 1
| #define HAVE_STRDUP 1
| #define HAVE_STRERROR 1
| /* end confdefs.h. */
|
| #include <dirent.h>
|
| int
| main ()
| {
|
| int file_select_directories(const struct dirent *entry) {
| return 0;
| }
|
| int main() {
| char dir[]=".";
| int count;
| struct dirent **files;
| scandir(dir, &files, file_select_directories, 0);
| return 0;
| }
|
| ;
| return 0;
| }
configure:5336: result: no
configure:5342: checking for OpenMP
configure:5374: /usr/bin/clang -o conftest -fopenmp=libomp -I/opt/local/include -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 conftest.c >&5
clang: error: unsupported argument 'libomp' to option 'fopenmp='
clang: error: unsupported argument 'libomp' to option 'fopenmp='
configure:5374: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "OMCompiler"
| #define PACKAGE_TARNAME "openmodelica"
| #define PACKAGE_VERSION "dev"
| #define PACKAGE_STRING "OMCompiler dev"
| #define PACKAGE_BUGREPORT "https://trac.openmodelica.org/OpenModelica"
| #define PACKAGE_URL "https://openmodelica.org"
| #define HAVE_CXX11 1
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_SYS_TIME_H 1
| #define HAVE_VPRINTF 1
| #define HAVE_GETCWD 1
| #define HAVE_SELECT 1
| #define HAVE_STRDUP 1
| #define HAVE_STRERROR 1
| /* end confdefs.h. */
|
| #if !defined(_OPENMP)
| #error "Not an OpenMP compiler"
| #endif
| #include <omp.h>
| #include <stdio.h>
|
| int
| main ()
| {
|
| int i;
| #pragma omp parallel for private(i) schedule(dynamic)
| for (i=0; i<16; i++)
| printf("Thread %d doing work %d\n", omp_get_thread_num(), i);
| return 0;
|
| ;
| return 0;
| }
configure:5374: /usr/bin/clang -o conftest -fopenmp=libiomp5 -I/opt/local/include -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 conftest.c >&5
clang: error: unsupported argument 'libiomp5' to option 'fopenmp='
clang: error: unsupported argument 'libiomp5' to option 'fopenmp='
configure:5374: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "OMCompiler"
| #define PACKAGE_TARNAME "openmodelica"
| #define PACKAGE_VERSION "dev"
| #define PACKAGE_STRING "OMCompiler dev"
| #define PACKAGE_BUGREPORT "https://trac.openmodelica.org/OpenModelica"
| #define PACKAGE_URL "https://openmodelica.org"
| #define HAVE_CXX11 1
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_SYS_TIME_H 1
| #define HAVE_VPRINTF 1
| #define HAVE_GETCWD 1
| #define HAVE_SELECT 1
| #define HAVE_STRDUP 1
| #define HAVE_STRERROR 1
| /* end confdefs.h. */
|
| #if !defined(_OPENMP)
| #error "Not an OpenMP compiler"
| #endif
| #include <omp.h>
| #include <stdio.h>
|
| int
| main ()
| {
|
| int i;
| #pragma omp parallel for private(i) schedule(dynamic)
| for (i=0; i<16; i++)
| printf("Thread %d doing work %d\n", omp_get_thread_num(), i);
| return 0;
|
| ;
| return 0;
| }
configure:5374: /usr/bin/clang -o conftest -fopenmp -I/opt/local/include -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 conftest.c >&5
clang: error: unsupported option '-fopenmp'
clang: error: unsupported option '-fopenmp'
configure:5374: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "OMCompiler"
| #define PACKAGE_TARNAME "openmodelica"
| #define PACKAGE_VERSION "dev"
| #define PACKAGE_STRING "OMCompiler dev"
| #define PACKAGE_BUGREPORT "https://trac.openmodelica.org/OpenModelica"
| #define PACKAGE_URL "https://openmodelica.org"
| #define HAVE_CXX11 1
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_SYS_TIME_H 1
| #define HAVE_VPRINTF 1
| #define HAVE_GETCWD 1
| #define HAVE_SELECT 1
| #define HAVE_STRDUP 1
| #define HAVE_STRERROR 1
| /* end confdefs.h. */
|
| #if !defined(_OPENMP)
| #error "Not an OpenMP compiler"
| #endif
| #include <omp.h>
| #include <stdio.h>
|
| int
| main ()
| {
|
| int i;
| #pragma omp parallel for private(i) schedule(dynamic)
| for (i=0; i<16; i++)
| printf("Thread %d doing work %d\n", omp_get_thread_num(), i);
| return 0;
|
| ;
| return 0;
| }
configure:5385: result: no
configure:5402: checking runtime compiler
configure:5417: /usr/bin/clang -o conftest -Werror -I/opt/local/include -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 conftest.c >&5
configure:5417: $? = 0
configure:5418: result: /usr/bin/clang ok
configure:5426: checking runtime compiler CFLAGS
configure:5442: /usr/bin/clang -o conftest -falign-functions -Werror -I/opt/local/include -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 conftest.c >&5
clang: error: optimization flag '-falign-functions' is not supported [-Werror,-Wignored-optimization-argument]
configure:5442: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "OMCompiler"
| #define PACKAGE_TARNAME "openmodelica"
| #define PACKAGE_VERSION "dev"
| #define PACKAGE_STRING "OMCompiler dev"
| #define PACKAGE_BUGREPORT "https://trac.openmodelica.org/OpenModelica"
| #define PACKAGE_URL "https://openmodelica.org"
| #define HAVE_CXX11 1
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_SYS_TIME_H 1
| #define HAVE_VPRINTF 1
| #define HAVE_GETCWD 1
| #define HAVE_SELECT 1
| #define HAVE_STRDUP 1
| #define HAVE_STRERROR 1
| /* end confdefs.h. */
|
| int
| main ()
| {
| return 0;
| ;
| return 0;
| }
configure:5442: /usr/bin/clang -o conftest -mfpmath=sse -Werror -I/opt/local/include -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 conftest.c >&5
configure:5442: $? = 0
configure:5471: result:
configure:5475: checking for library containing dlopen
configure:5506: /usr/bin/clang -o conftest -mfpmath=sse -I/opt/local/include -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 conftest.c >&5
configure:5506: $? = 0
configure:5523: result: none required
configure:5560: checking for library containing dlopen
configure:5608: result: none required
configure:5617: checking for library containing sqrt
configure:5648: /usr/bin/clang -o conftest -pipe -Os -arch x86_64 -fno-stack-protector -I/opt/local/include -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 conftest.c >&5
conftest.c:33:6: warning: incompatible redeclaration of library function 'sqrt' [-Wincompatible-library-redeclaration]
char sqrt ();
^
conftest.c:33:6: note: 'sqrt' is a builtin with type 'double (double)'
1 warning generated.
configure:5648: $? = 0
configure:5665: result: none required
configure:5673: checking for library containing colamd
configure:5704: /usr/bin/clang -o conftest -pipe -Os -arch x86_64 -fno-stack-protector -I/opt/local/include -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 conftest.c >&5
Undefined symbols for architecture x86_64:
"_colamd", referenced from:
_main in conftest-923600.o
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
configure:5704: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "OMCompiler"
| #define PACKAGE_TARNAME "openmodelica"
| #define PACKAGE_VERSION "dev"
| #define PACKAGE_STRING "OMCompiler dev"
| #define PACKAGE_BUGREPORT "https://trac.openmodelica.org/OpenModelica"
| #define PACKAGE_URL "https://openmodelica.org"
| #define HAVE_CXX11 1
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_SYS_TIME_H 1
| #define HAVE_VPRINTF 1
| #define HAVE_GETCWD 1
| #define HAVE_SELECT 1
| #define HAVE_STRDUP 1
| #define HAVE_STRERROR 1
| /* end confdefs.h. */
|
| /* Override any GCC internal prototype to avoid an error.
| Use char because int might match the return type of a GCC
| builtin and then its argument prototype would still apply. */
| #ifdef __cplusplus
| extern "C"
| #endif
| char colamd ();
| int
| main ()
| {
| return colamd ();
| ;
| return 0;
| }
configure:5704: /usr/bin/clang -o conftest -pipe -Os -arch x86_64 -fno-stack-protector -I/opt/local/include -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 conftest.c -lcolamd >&5
configure:5704: $? = 0
configure:5721: result: -lcolamd
configure:5729: checking for library containing make_lp
configure:5760: /usr/bin/clang -o conftest -pipe -Os -arch x86_64 -fno-stack-protector -I/opt/local/include -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 conftest.c -lcolamd >&5
Undefined symbols for architecture x86_64:
"_make_lp", referenced from:
_main in conftest-fe15cb.o
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
configure:5760: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "OMCompiler"
| #define PACKAGE_TARNAME "openmodelica"
| #define PACKAGE_VERSION "dev"
| #define PACKAGE_STRING "OMCompiler dev"
| #define PACKAGE_BUGREPORT "https://trac.openmodelica.org/OpenModelica"
| #define PACKAGE_URL "https://openmodelica.org"
| #define HAVE_CXX11 1
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_SYS_TIME_H 1
| #define HAVE_VPRINTF 1
| #define HAVE_GETCWD 1
| #define HAVE_SELECT 1
| #define HAVE_STRDUP 1
| #define HAVE_STRERROR 1
| /* end confdefs.h. */
|
| /* Override any GCC internal prototype to avoid an error.
| Use char because int might match the return type of a GCC
| builtin and then its argument prototype would still apply. */
| #ifdef __cplusplus
| extern "C"
| #endif
| char make_lp ();
| int
| main ()
| {
| return make_lp ();
| ;
| return 0;
| }
configure:5760: /usr/bin/clang -o conftest -pipe -Os -arch x86_64 -fno-stack-protector -I/opt/local/include -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 conftest.c -llpsolve55_pic -lcolamd >&5
ld: library not found for -llpsolve55_pic
clang: error: linker command failed with exit code 1 (use -v to see invocation)
configure:5760: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "OMCompiler"
| #define PACKAGE_TARNAME "openmodelica"
| #define PACKAGE_VERSION "dev"
| #define PACKAGE_STRING "OMCompiler dev"
| #define PACKAGE_BUGREPORT "https://trac.openmodelica.org/OpenModelica"
| #define PACKAGE_URL "https://openmodelica.org"
| #define HAVE_CXX11 1
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_SYS_TIME_H 1
| #define HAVE_VPRINTF 1
| #define HAVE_GETCWD 1
| #define HAVE_SELECT 1
| #define HAVE_STRDUP 1
| #define HAVE_STRERROR 1
| /* end confdefs.h. */
|
| /* Override any GCC internal prototype to avoid an error.
| Use char because int might match the return type of a GCC
| builtin and then its argument prototype would still apply. */
| #ifdef __cplusplus
| extern "C"
| #endif
| char make_lp ();
| int
| main ()
| {
| return make_lp ();
| ;
| return 0;
| }
configure:5760: /usr/bin/clang -o conftest -pipe -Os -arch x86_64 -fno-stack-protector -I/opt/local/include -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 conftest.c -llpsolve55 -lcolamd >&5
configure:5760: $? = 0
configure:5777: result: -llpsolve55
configure:5941: checking lp_lib.h usability
configure:5941: /usr/bin/clang -c -pipe -Os -arch x86_64 -fno-stack-protector -I/opt/local/include conftest.c >&5
conftest.c:59:10: fatal error: 'lp_lib.h' file not found
#include <lp_lib.h>
^~~~~~~~~~
1 error generated.
configure:5941: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "OMCompiler"
| #define PACKAGE_TARNAME "openmodelica"
| #define PACKAGE_VERSION "dev"
| #define PACKAGE_STRING "OMCompiler dev"
| #define PACKAGE_BUGREPORT "https://trac.openmodelica.org/OpenModelica"
| #define PACKAGE_URL "https://openmodelica.org"
| #define HAVE_CXX11 1
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_SYS_TIME_H 1
| #define HAVE_VPRINTF 1
| #define HAVE_GETCWD 1
| #define HAVE_SELECT 1
| #define HAVE_STRDUP 1
| #define HAVE_STRERROR 1
| /* end confdefs.h. */
| #include <stdio.h>
| #ifdef HAVE_SYS_TYPES_H
| # include <sys/types.h>
| #endif
| #ifdef HAVE_SYS_STAT_H
| # include <sys/stat.h>
| #endif
| #ifdef STDC_HEADERS
| # include <stdlib.h>
| # include <stddef.h>
| #else
| # ifdef HAVE_STDLIB_H
| # include <stdlib.h>
| # endif
| #endif
| #ifdef HAVE_STRING_H
| # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
| # include <memory.h>
| # endif
| # include <string.h>
| #endif
| #ifdef HAVE_STRINGS_H
| # include <strings.h>
| #endif
| #ifdef HAVE_INTTYPES_H
| # include <inttypes.h>
| #endif
| #ifdef HAVE_STDINT_H
| # include <stdint.h>
| #endif
| #ifdef HAVE_UNISTD_H
| # include <unistd.h>
| #endif
| #include <lp_lib.h>
configure:5941: result: no
configure:5941: checking lp_lib.h presence
configure:5941: /usr/bin/clang -E -I/opt/local/include conftest.c
conftest.c:26:10: fatal error: 'lp_lib.h' file not found
#include <lp_lib.h>
^~~~~~~~~~
1 error generated.
configure:5941: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "OMCompiler"
| #define PACKAGE_TARNAME "openmodelica"
| #define PACKAGE_VERSION "dev"
| #define PACKAGE_STRING "OMCompiler dev"
| #define PACKAGE_BUGREPORT "https://trac.openmodelica.org/OpenModelica"
| #define PACKAGE_URL "https://openmodelica.org"
| #define HAVE_CXX11 1
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_SYS_TIME_H 1
| #define HAVE_VPRINTF 1
| #define HAVE_GETCWD 1
| #define HAVE_SELECT 1
| #define HAVE_STRDUP 1
| #define HAVE_STRERROR 1
| /* end confdefs.h. */
| #include <lp_lib.h>
configure:5941: result: no
configure:5941: checking for lp_lib.h
configure:5941: result: no
configure:5946: checking lpsolve/lp_lib.h usability
configure:5946: /usr/bin/clang -c -pipe -Os -arch x86_64 -fno-stack-protector -I/opt/local/include conftest.c >&5
configure:5946: $? = 0
configure:5946: result: yes
configure:5946: checking lpsolve/lp_lib.h presence
configure:5946: /usr/bin/clang -E -I/opt/local/include conftest.c
configure:5946: $? = 0
configure:5946: result: yes
configure:5946: checking for lpsolve/lp_lib.h
configure:5946: result: yes
configure:5968: checking for socket
configure:5968: /usr/bin/clang -o conftest -pipe -Os -arch x86_64 -fno-stack-protector -I/opt/local/include -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 conftest.c >&5
configure:5968: $? = 0
configure:5968: result: yes
configure:6021: checking for gethostbyname
configure:6021: /usr/bin/clang -o conftest -pipe -Os -arch x86_64 -fno-stack-protector -I/opt/local/include -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 conftest.c >&5
configure:6021: $? = 0
configure:6021: result: yes
configure:6171: checking LAPACK/BLAS flags
configure:6189: /usr/bin/clang -o conftest -pipe -Os -arch x86_64 -fno-stack-protector -I/opt/local/include -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 conftest.c -Wl,--no-undefined >&5
ld: unknown option: --no-undefined
clang: error: linker command failed with exit code 1 (use -v to see invocation)
configure:6189: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "OMCompiler"
| #define PACKAGE_TARNAME "openmodelica"
| #define PACKAGE_VERSION "dev"
| #define PACKAGE_STRING "OMCompiler dev"
| #define PACKAGE_BUGREPORT "https://trac.openmodelica.org/OpenModelica"
| #define PACKAGE_URL "https://openmodelica.org"
| #define HAVE_CXX11 1
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_SYS_TIME_H 1
| #define HAVE_VPRINTF 1
| #define HAVE_GETCWD 1
| #define HAVE_SELECT 1
| #define HAVE_STRDUP 1
| #define HAVE_STRERROR 1
| /* end confdefs.h. */
|
| int
| main ()
| {
| return 0;
| ;
| return 0;
| }
configure:6356: /usr/bin/clang -o conftest -pipe -Os -arch x86_64 -fno-stack-protector -I/opt/local/include -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 conftest.c -llapack -lblas >&5
Undefined symbols for architecture x86_64:
"_ATL_dger", referenced from:
_ATL_dgetf2 in liblapack.a(ATL_dgetf2.o)
"_ATL_xerbla", referenced from:
_atl_f77wrap_dgesv_ in liblapack.a(ATL_f77wrap_dgesv.o)
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
configure:6356: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "OMCompiler"
| #define PACKAGE_TARNAME "openmodelica"
| #define PACKAGE_VERSION "dev"
| #define PACKAGE_STRING "OMCompiler dev"
| #define PACKAGE_BUGREPORT "https://trac.openmodelica.org/OpenModelica"
| #define PACKAGE_URL "https://openmodelica.org"
| #define HAVE_CXX11 1
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_SYS_TIME_H 1
| #define HAVE_VPRINTF 1
| #define HAVE_GETCWD 1
| #define HAVE_SELECT 1
| #define HAVE_STRDUP 1
| #define HAVE_STRERROR 1
| /* end confdefs.h. */
|
| /* Override any GCC internal prototype to avoid an error.
| Use char because int might match the return type of a GCC
| builtin and then its argument prototype would still apply. */
| #ifdef __cplusplus
| extern "C"
| #endif
| char dgesv_ ();
| int
| main ()
| {
| return dgesv_ ();
| ;
| return 0;
| }
configure:6361: error: dgesv (LAPACK) linking failed using -llapack -lblas
## ---------------- ##
## Cache variables. ##
## ---------------- ##
ac_cv_build=x86_64-apple-darwin17.5.0
ac_cv_c_compiler_gnu=yes
ac_cv_c_const=yes
ac_cv_cxx_compiler_gnu=yes
ac_cv_env_CCC_set=
ac_cv_env_CCC_value=
ac_cv_env_CC_set=set
ac_cv_env_CC_value=/usr/bin/clang
ac_cv_env_CFLAGS_set=set
ac_cv_env_CFLAGS_value='-pipe -Os -arch x86_64'
ac_cv_env_CPPFLAGS_set=set
ac_cv_env_CPPFLAGS_value=-I/opt/local/include
ac_cv_env_CPP_set=
ac_cv_env_CPP_value=
ac_cv_env_CXXFLAGS_set=set
ac_cv_env_CXXFLAGS_value='-pipe -Os -stdlib=libc++ -arch x86_64'
ac_cv_env_CXX_set=set
ac_cv_env_CXX_value=/usr/bin/clang++
ac_cv_env_FCFLAGS_set=set
ac_cv_env_FCFLAGS_value='-pipe -Os -m64'
ac_cv_env_FC_set=set
ac_cv_env_FC_value=/opt/local/bin/gfortran-mp-5
ac_cv_env_LDFLAGS_set=set
ac_cv_env_LDFLAGS_value='-L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64'
ac_cv_env_LIBS_set=
ac_cv_env_LIBS_value=
ac_cv_env_RUNTIMECC_set=
ac_cv_env_RUNTIMECC_value=
ac_cv_env_RUNTIMECFLAGS_set=
ac_cv_env_RUNTIMECFLAGS_value=
ac_cv_env_build_alias_set=
ac_cv_env_build_alias_value=
ac_cv_env_host_alias_set=
ac_cv_env_host_alias_value=
ac_cv_env_target_alias_set=
ac_cv_env_target_alias_value=
ac_cv_fc_compiler_gnu=yes
ac_cv_func__doprnt=no
ac_cv_func_getcwd=yes
ac_cv_func_gethostbyname=yes
ac_cv_func_select=yes
ac_cv_func_socket=yes
ac_cv_func_strdup=yes
ac_cv_func_strerror=yes
ac_cv_func_vprintf=yes
ac_cv_header_expat_h=yes
ac_cv_header_inttypes_h=yes
ac_cv_header_lp_lib_h=no
ac_cv_header_lpsolve_lp_lib_h=yes
ac_cv_header_memory_h=yes
ac_cv_header_stdc=yes
ac_cv_header_stdint_h=yes
ac_cv_header_stdlib_h=yes
ac_cv_header_string_h=yes
ac_cv_header_strings_h=yes
ac_cv_header_sys_stat_h=yes
ac_cv_header_sys_time_h=yes
ac_cv_header_sys_types_h=yes
ac_cv_header_unistd_h=yes
ac_cv_host=x86_64-apple-darwin17.5.0
ac_cv_objext=o
ac_cv_path_EGREP='/opt/local/bin/grep -E'
ac_cv_path_GREP=/opt/local/bin/grep
ac_cv_prog_CPP='/usr/bin/clang -E'
ac_cv_prog_ac_ct_CC=/usr/bin/clang
ac_cv_prog_cc_c89=
ac_cv_prog_cc_g=yes
ac_cv_prog_cxx_g=yes
ac_cv_prog_fc_g=yes
ac_cv_prog_make_make_set=yes
ac_cv_search_colamd=-lcolamd
ac_cv_search_dlopen='none required'
ac_cv_search_make_lp=-llpsolve55
ac_cv_search_sqrt='none required'
ac_cv_target=x86_64-apple-darwin17.5.0
ac_cv_type_size_t=yes
ax_cv_cxx_compile_cxx11=no
ax_cv_cxx_compile_cxx11__std_cpp11=yes
## ----------------- ##
## Output variables. ##
## ----------------- ##
AR='ar'
AR_SH=''
BOOST_INCLUDE=''
BOOTSTRAP_STATIC=''
CC='/usr/bin/clang'
CFLAGS='-pipe -Os -arch x86_64 -fno-stack-protector'
CHECK_C_ERRORS=' -Wno-parentheses-equality -Wno-unused-variable -Werror=implicit-function-declaration -Werror=incompatible-pointer-types'
CMAKE_EXTRA_DEFINES=''
CMAKE_LDFLAGS_UNDEFINED_LOOKUP=''
CMINPACKLIB_SHARED=''
CONFIG_OS=''
CONFIG_WITH_OPENMP='0'
CORBACFLAGS=''
CORBALIBS=''
CORBA_QMAKE_INCLUDES=''
CPP='/usr/bin/clang -E'
CPPFLAGS='-I/opt/local/include'
CPP_RUNTIME_ARGS=''
CXX='/usr/bin/clang++'
CXXFLAGS='-pipe -Os -stdlib=libc++ -arch x86_64 -stdlib=libstdc++ -std=c++11'
DEFS=''
DLLEXT=''
ECHO_C='\c'
ECHO_N=''
ECHO_T=''
EGREP='/opt/local/bin/grep -E'
EXE=''
EXEEXT=''
EXTRA_CFLAGS_GENERATED_CODE=' -Wno-parentheses-equality -Wno-unused-variable -Werror=implicit-function-declaration -Werror=incompatible-pointer-types'
FC='/opt/local/bin/gfortran-mp-5'
FCFLAGS='-pipe -Os -m64'
FMILIB_SHARED=''
FPMATHFORTRAN=''
GENERATED_AUTOCONF_FILES=''
GRAPHLIB=''
GREP='/opt/local/bin/grep'
HAVE_CXX11='1'
HAVE_GETTEXT=''
IDLCMD=''
IDLPATH=''
IPOPT_CFLAGS=''
IPOPT_LDFLAGS=''
IPOPT_TARGET=''
LAPACK_TARGET=''
LDFLAGS='-L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64'
LDFLAGS_LIBSTDCXX='-stdlib=libstdc++'
LDFLAGS_SOCKET=''
LD_LAPACK='-llapack -lblas'
LIBCMINPACKLIB=''
LIBDL=''
LIBFMILIB=''
LIBFMIRUNTIME=''
LIBGC=''
LIBLPSOLVE55='-llpsolve55 -lcolamd '
LIBNSL=''
LIBOBJS=''
LIBRUNTIME=''
LIBS='-llapack -lblas'
LIBSIMULATION=''
LIBSOCKET=''
LIBZMQLIB=''
LINK=''
LIS_LDFLAGS=''
LPSOLVEINC='lpsolve/lp_lib.h'
LTLIBOBJS=''
MAKE='make'
MODELICA_SPEC_PLATFORM=''
MSL_EXTRA_ARGS=''
NO_FMIL=''
NO_LAPACK=''
NO_LPLIB=''
OBJEXT='o'
OMBUILDDIR='/opt/local/var/macports/build/_opt_local_var_macports_sources_build.openmodelica.org_macports_lang_openmodelica-devel/openmodelica-devel/work/openmodelica_1.13.0~dev-884-g9a6d20f/build'
OMC='/opt/local/var/macports/build/_opt_local_var_macports_sources_build.openmodelica.org_macports_lang_openmodelica-devel/openmodelica-devel/work/openmodelica_1.13.0~dev-884-g9a6d20f/build/bin/omc'
OMCRUNTIME_SHARED_LDFLAGS=''
OMCTARGET=''
OMC_LIBS=''
OMENCRYPTION=''
OMNOTEBOOK=''
OMOPTIM_CC=''
OMOPTIM_CXX=''
OMPCFLAGS=''
OMSHELL_TERMINAL=''
OPENBLAS_EXTRA_ARGS=''
OPENCL=''
OPENMODELICA_SPEC_PLATFORM=''
OS_TARGET=''
PACKAGE_BUGREPORT='https://trac.openmodelica.org/OpenModelica'
PACKAGE_NAME='OMCompiler'
PACKAGE_STRING='OMCompiler dev'
PACKAGE_TARNAME='openmodelica'
PACKAGE_URL='https://openmodelica.org'
PACKAGE_VERSION='dev'
PATH_SEPARATOR=':'
QMAKE='/opt/local/libexec/qt4/bin/qmake'
QT_USE_CORBA=''
RPATH=''
RPATH_QMAKE=''
RT_LDFLAGS=''
RT_LDFLAGS_GENERATED_CODE=''
RT_LDFLAGS_GENERATED_CODE_SIM=''
RT_LDFLAGS_GENERATED_CODE_SOURCE_FMU=''
RT_LDFLAGS_OPTIONAL=''
RT_LDFLAGS_SHARED=''
RT_LDFLAGS_SIM=''
RT_LDFLAGS_SIM_OPTIONAL=''
RUNTIMECC='/usr/bin/clang'
RUNTIMECFLAGS=''
SET_MAKE=''
SHELL='/bin/sh'
SHREXT=''
SOURCE_REVISION=''
SUNDIALS_LDFLAGS=''
SUNDIALS_TARGET=''
UMFPACK_LDFLAGS=''
UMFPACK_SHARED=''
UMFPACK_TARGET=''
USE_CORBA=''
USE_GRAPH=''
USE_METIS=''
USE_PATOH=''
WINDRES=''
WITH_FMIL=''
WITH_HWLOC=''
WITH_UMFPACK='/* Without UMFPACK */'
WITH_UUID=''
ac_ct_CC='/usr/bin/clang'
ac_ct_CXX=''
ac_ct_FC=''
antlrinc=''
antlrlib=''
bindir='${exec_prefix}/bin'
build='x86_64-apple-darwin17.5.0'
build_alias=''
build_cpu='x86_64'
build_os='darwin17.5.0'
build_vendor='apple'
datadir='${datarootdir}'
datarootdir='${prefix}/share'
date=''
docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
dvidir='${docdir}'
exec_prefix='NONE'
host='x86_64-apple-darwin17.5.0'
host_alias=''
host_cpu='x86_64'
host_os='darwin17.5.0'
host_short='x86_64-darwin17.5.0'
host_vendor='apple'
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'
omc_antlr_jar=''
pdfdir='${docdir}'
prefix='/opt/local'
program_transform_name='s,x,x,'
psdir='${docdir}'
sbindir='${exec_prefix}/sbin'
sharedstatedir='${prefix}/com'
subdirs=''
sysconfdir='${prefix}/etc'
target='x86_64-apple-darwin17.5.0'
target_alias=''
target_cpu='x86_64'
target_os='darwin17.5.0'
target_vendor='apple'
with_paradiseo=''
with_paradiseo_include=''
with_paradiseo_lib=''
with_qwt=''
with_qwt_suffix=''
## ----------- ##
## confdefs.h. ##
## ----------- ##
/* confdefs.h */
#define PACKAGE_NAME "OMCompiler"
#define PACKAGE_TARNAME "openmodelica"
#define PACKAGE_VERSION "dev"
#define PACKAGE_STRING "OMCompiler dev"
#define PACKAGE_BUGREPORT "https://trac.openmodelica.org/OpenModelica"
#define PACKAGE_URL "https://openmodelica.org"
#define HAVE_CXX11 1
#define STDC_HEADERS 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STRING_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_SYS_TIME_H 1
#define HAVE_VPRINTF 1
#define HAVE_GETCWD 1
#define HAVE_SELECT 1
#define HAVE_STRDUP 1
#define HAVE_STRERROR 1
configure: exit 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment