Problem in installig PYTHIA (with ROOT LINK)

Hi…Im trying to instal PYTHIA 8.2.15 & I encountered the following error:

$ ./configure --enable-shared --with-root-include=${ROOTSYS}/include --with-root-lib=${ROOTSYS}/lib --with-root-bin=${ROOTSYS}/bin
WARNING: Unknown architecture , set as LINUX.

PYTHIA Configuration Summary

Configured for LINUX with the following options:
–enable-shared

The following optional external packages will be used:

  • ROOT

$ make
g++ src/SusyResonanceWidths.cc -o tmp/SusyResonanceWidths.o -c -MD -Iinclude -O2 -ansi -pedantic -W -Wall -Wshadow -fPIC
src/SusyResonanceWidths.cc:1:0: warning: -fPIC ignored for target (all code is position independent)
// SusyResonanceWidths.cc is a part of the PYTHIA event generator.
^
In file included from include/Pythia8/PythiaStdlib.h:15:0,
from include/Pythia8/Basics.h:16,
from include/Pythia8/ParticleData.h:14,
from include/Pythia8/SusyResonanceWidths.h:13,
from src/SusyResonanceWidths.cc:10:
/usr/lib/gcc/x86_64-pc-cygwin/5.3.0/include/c++/cstdlib:214:11: error: ‘::lldiv_t’ has not been declared
using ::lldiv_t;
^
/usr/lib/gcc/x86_64-pc-cygwin/5.3.0/include/c++/cstdlib:220:11: error: ‘::_Exit’ has not been declared
using ::_Exit;
^
/usr/lib/gcc/x86_64-pc-cygwin/5.3.0/include/c++/cstdlib:224:11: error: ‘::llabs’ has not been declared
using ::llabs;
^
/usr/lib/gcc/x86_64-pc-cygwin/5.3.0/include/c++/cstdlib:226:10: error: ‘lldiv_t’ does not name a type
inline lldiv_t
^
/usr/lib/gcc/x86_64-pc-cygwin/5.3.0/include/c++/cstdlib:230:11: error: ‘::lldiv’ has not been declared
using ::lldiv;
^
/usr/lib/gcc/x86_64-pc-cygwin/5.3.0/include/c++/cstdlib:241:11: error: ‘::atoll’ has not been declared
using ::atoll;
^
/usr/lib/gcc/x86_64-pc-cygwin/5.3.0/include/c++/cstdlib:242:11: error: ‘::strtoll’ has not been declared
using ::strtoll;
^
/usr/lib/gcc/x86_64-pc-cygwin/5.3.0/include/c++/cstdlib:243:11: error: ‘::strtoull’ has not been declared
using ::strtoull;
^
/usr/lib/gcc/x86_64-pc-cygwin/5.3.0/include/c++/cstdlib:245:11: error: ‘::strtof’ has not been declared
using ::strtof;
^
/usr/lib/gcc/x86_64-pc-cygwin/5.3.0/include/c++/cstdlib:246:11: error: ‘::strtold’ has not been declared
using ::strtold;
^
/usr/lib/gcc/x86_64-pc-cygwin/5.3.0/include/c++/cstdlib:254:22: error: ‘__gnu_cxx::lldiv_t’ has not been declared
using ::__gnu_cxx::lldiv_t;
^
/usr/lib/gcc/x86_64-pc-cygwin/5.3.0/include/c++/cstdlib:256:22: error: ‘__gnu_cxx::_Exit’ has not been declared
using ::__gnu_cxx::_Exit;
^
/usr/lib/gcc/x86_64-pc-cygwin/5.3.0/include/c++/cstdlib:258:22: error: ‘__gnu_cxx::llabs’ has not been declared
using ::__gnu_cxx::llabs;
^
/usr/lib/gcc/x86_64-pc-cygwin/5.3.0/include/c++/cstdlib:259:22: error: ‘__gnu_cxx::div’ has not been declared
using ::__gnu_cxx::div;
^
/usr/lib/gcc/x86_64-pc-cygwin/5.3.0/include/c++/cstdlib:260:22: error: ‘__gnu_cxx::lldiv’ has not been declared
using ::__gnu_cxx::lldiv;
^
/usr/lib/gcc/x86_64-pc-cygwin/5.3.0/include/c++/cstdlib:262:22: error: ‘__gnu_cxx::atoll’ has not been declared
using ::__gnu_cxx::atoll;
^
/usr/lib/gcc/x86_64-pc-cygwin/5.3.0/include/c++/cstdlib:263:22: error: ‘__gnu_cxx::strtof’ has not been declared
using ::__gnu_cxx::strtof;
^
/usr/lib/gcc/x86_64-pc-cygwin/5.3.0/include/c++/cstdlib:264:22: error: ‘__gnu_cxx::strtoll’ has not been declared
using ::__gnu_cxx::strtoll;
^
/usr/lib/gcc/x86_64-pc-cygwin/5.3.0/include/c++/cstdlib:265:22: error: ‘__gnu_cxx::strtoull’ has not been declared
using ::__gnu_cxx::strtoull;
^
/usr/lib/gcc/x86_64-pc-cygwin/5.3.0/include/c++/cstdlib:266:22: error: ‘__gnu_cxx::strtold’ has not been declared
using ::__gnu_cxx::strtold;
^
In file included from /usr/lib/gcc/x86_64-pc-cygwin/5.3.0/include/c++/fstream:41:0,
from include/Pythia8/PythiaStdlib.h:37,
from include/Pythia8/Basics.h:16,
from include/Pythia8/ParticleData.h:14,
from include/Pythia8/SusyResonanceWidths.h:13,
from src/SusyResonanceWidths.cc:10:
/usr/lib/gcc/x86_64-pc-cygwin/5.3.0/include/c++/cstdio:175:11: error: ‘::snprintf’ has not been declared
using ::snprintf;
^
/usr/lib/gcc/x86_64-pc-cygwin/5.3.0/include/c++/cstdio:176:11: error: ‘::vfscanf’ has not been declared
using ::vfscanf;
^
/usr/lib/gcc/x86_64-pc-cygwin/5.3.0/include/c++/cstdio:177:11: error: ‘::vscanf’ has not been declared
using ::vscanf;
^
/usr/lib/gcc/x86_64-pc-cygwin/5.3.0/include/c++/cstdio:178:11: error: ‘::vsnprintf’ has not been declared
using ::vsnprintf;
^
/usr/lib/gcc/x86_64-pc-cygwin/5.3.0/include/c++/cstdio:179:11: error: ‘::vsscanf’ has not been declared
using ::vsscanf;
^
/usr/lib/gcc/x86_64-pc-cygwin/5.3.0/include/c++/cstdio:185:22: error: ‘__gnu_cxx::snprintf’ has not been declared
using ::__gnu_cxx::snprintf;
^
/usr/lib/gcc/x86_64-pc-cygwin/5.3.0/include/c++/cstdio:186:22: error: ‘__gnu_cxx::vfscanf’ has not been declared
using ::__gnu_cxx::vfscanf;
^
/usr/lib/gcc/x86_64-pc-cygwin/5.3.0/include/c++/cstdio:187:22: error: ‘__gnu_cxx::vscanf’ has not been declared
using ::__gnu_cxx::vscanf;
^
/usr/lib/gcc/x86_64-pc-cygwin/5.3.0/include/c++/cstdio:188:22: error: ‘__gnu_cxx::vsnprintf’ has not been declared
using ::__gnu_cxx::vsnprintf;
^
/usr/lib/gcc/x86_64-pc-cygwin/5.3.0/include/c++/cstdio:189:22: error: ‘__gnu_cxx::vsscanf’ has not been declared
using ::__gnu_cxx::vsscanf;
^
Makefile:91: recipe for target ‘tmp/SusyResonanceWidths.o’ failed
make: *** [tmp/SusyResonanceWidths.o] Error 1

Any help to resolve the problem will be appreciated.
Thanks in advance

This looks more a Pythia problem than a ROOT problem. Are you sure that Pythia is supported on cygwin? I would contact Pythia support and ask the question there.