Build error with Xyce 6.1 using Cygwin

57 views
Skip to first unread message

Jason Jacobs

unread,
May 8, 2014, 12:37:54 AM5/8/14
to xyce-...@googlegroups.com
Hello Xyce community,

I've run into an error while building Xyce with Cygwin on Windows 7.  So far I've followed the build guide, as well as the YouTube video Tom Russo linked in a previous post.  The Trilinos build went smoothly once I sorted out some Cygwin file permission issues.
I've created the ./reconfigure script as suggested in the build guide and the video:
 
/cygdrive/p/src/Xyce-6.1/configure \
LDFLAGS="-L/usr/local/lib -L/usr/lib/xyce/serial/lib" \
CPPFLAGS="-I/usr/include/suitesparse -I/usr/lib/xyce/serial/include" \
CC=gcc \
CXX=g++ \
f77=gfortran \

The configure script seems to run fine.  Then, when I run make,I get an error:

Makefile:836: recipe for target 'N_LAS_IfpackPrecond.lo' failed
make[3]: *** [N_LAS_IfpackPrecond.lo] Error 1
make[3]: Leaving directory '/cygdrive/p/src/Xyce-6.1/build/src/LinearAlgebraServicesPKG'
Makefile:846: recipe for target 'all-recursive' failed
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory '/cygdrive/p/src/Xyce-6.1/build/src'
Makefile:590: recipe for target 'all' failed
make[1]: *** [all] Error 2
make[1]: Leaving directory '/cygdrive/p/src/Xyce-6.1/build/src'
Makefile:439: recipe for target 'all-recursive' failed
make: *** [all-recursive] Error 1

Scrolling up into the output, I can see where the errors are happening:

libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I/cygdrive/p/src/Xyce-6.1/src/LinearAlgebraServicesPKG -I../../src -I/cygdrive/p/src/Xyce-6.1/src/AnalysisPKG/ie -I/cygdrive/p/src/Xyce-6.1/src/IOInterfacePKG/include -I/cygdrive/p/src/Xyce-6.1/src/IOInterfacePKG/Output/include -I/cygdrive/p/src/Xyce-6.1/src/DeviceMiceModelPKG/OpenModels/include -I/cygdrive/p/src/Xyce-6.1/src/DeviceModelPKG/TCADModels/include -I/cygdrive/p/src/Xyce-6.1/src/DeviceModelPKG/EXTSC/includedels/include -I/cygdrive/p/src/Xyce-6.1/src/DeviceModelPKG/ADMS/include -I/cygdrive/p/src/Xyce-6.1/src/ErrorHandlingPKG/include -I/cygdrive/p/src/Xyce-6.1/Xyce-6.1/src/LoaderServicesPKG/include -I/cygdrive/p/src/Xyce-6.1/src/NonlinearSolverPKG/include -I/cygdrive/p/src/Xyce-6.1/src/ParallelDistPKG/include -I/-I/cygdrive/p/src/Xyce-6.1/src/TopoManagerPKG/include -I/cygdrive/p/src/Xyce-6.1/src/UtilityPKG/include -I/cygdrive/p/src/Xyce-6.1/src/MultiTimePDEPKG/incle -I../../src -I. -DXyce_NOX_LOCA_SUPPORT -DXyce_FFTW -DXyce_IntelFFT -DXyce_FFT -DXyce_REACTION_PARSER -DXyce_FORTRAN_TEST -DXyce_OP_START -DXyce_AMD -DXyORROPIA -DXyce_EXTDEV -DXyce_NOX_USE_VECTOR_COPY -DXyce_SPICE_NORMS -I/usr/include/suitesparse -I/usr/lib/xyce/serial/include -g -O2 -MT N_LAS_IfpackPreconrive/p/src/Xyce-6.1/src/LinearAlgebraServicesPKG/src/N_LAS_IfpackPrecond.C -o N_LAS_IfpackPrecond.o
/cygdrive/p/src/Xyce-6.1/src/LinearAlgebraServicesPKG/src/N_LAS_IfpackPrecond.C: In member function 'virtual bool N_LAS_IfpackPrecond::setOptions(const N_U
/cygdrive/p/src/Xyce-6.1/src/LinearAlgebraServicesPKG/src/N_LAS_IfpackPrecond.C:158:3: error: 'list' was not declared in this scope
   list<N_UTL_Param>::const_iterator it_tpL = OB.getParams().begin();
   ^
/cygdrive/p/src/Xyce-6.1/src/LinearAlgebraServicesPKG/src/N_LAS_IfpackPrecond.C:158:3: note: suggested alternative:
In file included from /usr/lib/gcc/x86_64-pc-cygwin/4.8.2/include/c++/list:63:0,
                 from /cygdrive/p/src/Xyce-6.1/src/UtilityPKG/include/N_UTL_fwd.h:53,
                 from /cygdrive/p/src/Xyce-6.1/src/LinearAlgebraServicesPKG/include/N_LAS_IfpackPrecond.h:49,
                 from /cygdrive/p/src/Xyce-6.1/src/LinearAlgebraServicesPKG/src/N_LAS_IfpackPrecond.C:60:
/usr/lib/gcc/x86_64-pc-cygwin/4.8.2/include/c++/bits/stl_list.h:438:11: note:   'std::list'
     class list : protected _List_base<_Tp, _Alloc>
           ^
/cygdrive/p/src/Xyce-6.1/src/LinearAlgebraServicesPKG/src/N_LAS_IfpackPrecond.C:158:19: error: expected primary-expression before '>' token
   list<N_UTL_Param>::const_iterator it_tpL = OB.getParams().begin();
                   ^
/cygdrive/p/src/Xyce-6.1/src/LinearAlgebraServicesPKG/src/N_LAS_IfpackPrecond.C:158:20: error: '::const_iterator' has not been declared
   list<N_UTL_Param>::const_iterator it_tpL = OB.getParams().begin();

From there, I just get error messages until Make reports the error summary.

Has anyone seen these sorts of issues before?  

Thanks,

Jason
Reply all
Reply to author
Forward
0 new messages