[erlang-questions] Windows 10 x64 - basho - eleveldb - compilation environment

Walter Weinmann walter.weinmann@REDACTED
Wed Dec 14 14:19:45 CET 2016


I'm running Windows 10 x64 with Cygwin x64.

*make* is.

$ make -v
GNU Make 4.2.1
Built for x86_64-unknown-cygwin

*gcc *is:

$ gcc -v
Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-pc-cygwin/5.4.0/lto-wrapper.exe
Target: x86_64-pc-cygwin
Configured with:
/cygdrive/i/szsz/tmpp/gcc/gcc-5.4.0-1.x86_64/src/gcc-5.4.0/configure
--srcdir=/cygdrive/i/szsz/tmpp/gcc/gcc-5.4.0-1.x86_64/src/gcc-5.4.0
--prefix=/usr --exec-prefix=/usr --localstatedir=/var --sysconfdir=/etc
--docdir=/usr/share/doc/gcc --htmldir=/usr/share/doc/gcc/html -C
--build=x86_64-pc-cygwin --host=x86_64-pc-cygwin --target=x86_64-pc-cygwin
--without-libiconv-prefix --without-libintl-prefix --libexecdir=/usr/lib
--enable-shared --enable-shared-libgcc --enable-static
--enable-version-specific-runtime-libs --enable-bootstrap
--enable-__cxa_atexit --with-dwarf2 --with-tune=generic
--enable-languages=ada,c,c++,fortran,lto,objc,obj-c++ --enable-graphite
--enable-threads=posix --enable-libatomic --enable-libcilkrts
--enable-libgomp --enable-libitm --enable-libquadmath
--enable-libquadmath-support --enable-libssp --enable-libada
--enable-libgcj-sublibs --disable-java-awt --disable-symvers
--with-ecj-jar=/usr/share/java/ecj.jar --with-gnu-ld --with-gnu-as
--with-cloog-include=/usr/include/cloog-isl --without-libiconv-prefix
--without-libintl-prefix --with-system-zlib --enable-linker-build-id
--with-default-libstdcxx-abi=gcc4-compatible
Thread model: posix
gcc version 5.4.0 (GCC)

Running *make inside the eleveldb directory* (Cygwin shell) gives:

walte@REDACTED ~/eleveldb_idea/eleveldb
$ make
./rebar get-deps
==> eleveldb (get-deps)
./rebar compile
==> eleveldb (compile)
Compiling
d:/SoftDevelopment/Projects/eleveldb_idea/eleveldb/c_src/eleveldb.cc
Microsoft (R) C/C++ Optimizing Compiler Version 16.00.40219.01 for x64
Copyright (C) Microsoft Corporation.  All rights reserved.

cl : Command line warning D9002 : ignoring unknown option '-O3'
cl : Command line warning D9002 : ignoring unknown option '-fPIC'
cl : Command line warning D9002 : ignoring unknown option '-O3'
eleveldb.cc
d:/SoftDevelopment/Projects/eleveldb_idea/eleveldb/c_src/eleveldb.cc(23) :
fatal error C1083: Cannot open include file: 'syslog.h': No such file or
directory
ERROR: compile failed while processing
D:/SoftDevelopment/Projects/eleveldb_idea/eleveldb: rebar_abort
make: *** [Makefile:15: compile] Error 1

*How can I fix it?*
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20161214/f0738b21/attachment.htm>


More information about the erlang-questions mailing list