Allwmake OpenFOAM-5.1 make: Nothing to be done for `all'. ======================================== Start ThirdParty Allwmake ======================================== ======================================== Build MPI libraries if required have OPENMPI shared library (openmpi-2.1.1) ======================================== Build Scotch decomposition library scotch_6.0.3 ThirdParty-5.1/platforms/linux64IccDPInt64/scotch_6.0.3 scotch header in ThirdParty-5.1/platforms/linux64IccDPInt64/scotch_6.0.3/include scotch libs in ThirdParty-5.1/platforms/linux64IccDPInt64/lib ======================================== Build PTScotch decomposition library scotch_6.0.3 (uses MPI) ThirdParty-5.1/platforms/linux64IccDPInt64/scotch_6.0.3 ptscotch header in ThirdParty-5.1/platforms/linux64IccDPInt64/scotch_6.0.3/include/openmpi-2.1.1 ptscotch libs in ThirdParty-5.1/platforms/linux64IccDPInt64/lib/openmpi-2.1.1 ======================================== Build Metis decomposition optional component Metis was not found ======================================== Build CGAL optional component was not found ======================================== Done ThirdParty Allwmake ======================================== Allwmake src no git description found Allwmake src/Pstream wmake dummy wmake mpi Allwmake libo src/OSspecific/POSIX found -- enabling inotify for file monitoring. wmake libo . wmake OpenFOAM wmake fileFormats wmake surfMesh flex -+ -oOpenFOAM-5.1/platforms/linux64IccDPInt64Opt/src/surfMesh/surfaceFormats/stl/STLsurfaceFormatASCII.L.C -f surfaceFormats/stl/STLsurfaceFormatASCII.L && icpc -std=c++11 -fp-trap=common -fp-model precise -Dlinux64 -DWM_ARCH_OPTION=64 -DWM_DP -DWM_LABEL_SIZE=64 -Wall -Wextra -Wnon-virtual-dtor -Wno-unused-parameter -Wno-invalid-offsetof -diag-disable 327,654,1125,2289,2304,11062,11074,11076 -O3 -DNoRepository -IOpenFOAM-5.1/src/fileFormats/lnInclude -IlnInclude -I. -IOpenFOAM-5.1/src/OpenFOAM/lnInclude -IOpenFOAM-5.1/src/OSspecific/POSIX/lnInclude -fPIC -diag-disable 1224,2026,2305 -c OpenFOAM-5.1/platforms/linux64IccDPInt64Opt/src/surfMesh/surfaceFormats/stl/STLsurfaceFormatASCII.L.C -o OpenFOAM-5.1/platforms/linux64IccDPInt64Opt/src/surfMesh/surfaceFormats/stl/STLsurfaceFormatASCII.o OpenFOAM-5.1/platforms/linux64IccDPInt64Opt/src/surfMesh/surfaceFormats/stl/STLsurfaceFormatASCII.L.C(5474): error: expression must have class type yyin.rdbuf(std::cin.rdbuf()); ^ OpenFOAM-5.1/platforms/linux64IccDPInt64Opt/src/surfMesh/surfaceFormats/stl/STLsurfaceFormatASCII.L.C(5477): error: expression must have class type yyout.rdbuf(std::cout.rdbuf()); ^ OpenFOAM-5.1/platforms/linux64IccDPInt64Opt/src/surfMesh/surfaceFormats/stl/STLsurfaceFormatASCII.L.C(5810): error: expression must have class type YY_CURRENT_BUFFER_LVALUE->yy_input_file = yyin.rdbuf(); ^ OpenFOAM-5.1/platforms/linux64IccDPInt64Opt/src/surfMesh/surfaceFormats/stl/STLsurfaceFormatASCII.L.C(5924): error: a value of type "std::basic_streambuf> *" cannot be used to initialize an entity of type "std::istream *" yyin(arg_yyin ? arg_yyin->rdbuf() : std::cin.rdbuf()), ^ OpenFOAM-5.1/platforms/linux64IccDPInt64Opt/src/surfMesh/surfaceFormats/stl/STLsurfaceFormatASCII.L.C(5925): error: a value of type "std::basic_streambuf> *" cannot be used to initialize an entity of type "std::ostream *" yyout(arg_yyout ? arg_yyout->rdbuf() : std::cout.rdbuf()) ^ OpenFOAM-5.1/platforms/linux64IccDPInt64Opt/src/surfMesh/surfaceFormats/stl/STLsurfaceFormatASCII.L.C(5927): error: identifier "ctor_common" is undefined ctor_common(); ^ OpenFOAM-5.1/platforms/linux64IccDPInt64Opt/src/surfMesh/surfaceFormats/stl/STLsurfaceFormatASCII.L.C(5932): error: no instance of overloaded function "yyFlexLexer::yyFlexLexer" matches the specified type yyFlexLexer::yyFlexLexer( std::istream& arg_yyin, std::ostream& arg_yyout ): ^ OpenFOAM-5.1/platforms/linux64IccDPInt64Opt/src/surfMesh/surfaceFormats/stl/STLsurfaceFormatASCII.L.C(5932): error: expected a "{" yyFlexLexer::yyFlexLexer( std::istream& arg_yyin, std::ostream& arg_yyout ): ^ OpenFOAM-5.1/platforms/linux64IccDPInt64Opt/src/surfMesh/surfaceFormats/stl/STLsurfaceFormatASCII.L.C(5935): warning #12: parsing restarts here after previous syntax error { ^ OpenFOAM-5.1/platforms/linux64IccDPInt64Opt/src/surfMesh/surfaceFormats/stl/STLsurfaceFormatASCII.L.C(5936): error: identifier "ctor_common" is undefined ctor_common(); ^ OpenFOAM-5.1/platforms/linux64IccDPInt64Opt/src/surfMesh/surfaceFormats/stl/STLsurfaceFormatASCII.L.C(5941): error: class "yyFlexLexer" has no member "ctor_common" void yyFlexLexer::ctor_common() ^ OpenFOAM-5.1/platforms/linux64IccDPInt64Opt/src/surfMesh/surfaceFormats/stl/STLsurfaceFormatASCII.L.C(5943): error: identifier "yy_c_buf_p" is undefined yy_c_buf_p = 0; ^ OpenFOAM-5.1/platforms/linux64IccDPInt64Opt/src/surfMesh/surfaceFormats/stl/STLsurfaceFormatASCII.L.C(5944): error: identifier "yy_init" is undefined yy_init = 0; ^ OpenFOAM-5.1/platforms/linux64IccDPInt64Opt/src/surfMesh/surfaceFormats/stl/STLsurfaceFormatASCII.L.C(5945): error: identifier "yy_start" is undefined yy_start = 0; ^ OpenFOAM-5.1/platforms/linux64IccDPInt64Opt/src/surfMesh/surfaceFormats/stl/STLsurfaceFormatASCII.L.C(5946): error: identifier "yy_flex_debug" is undefined yy_flex_debug = 0; ^ OpenFOAM-5.1/platforms/linux64IccDPInt64Opt/src/surfMesh/surfaceFormats/stl/STLsurfaceFormatASCII.L.C(5947): error: identifier "yylineno" is undefined yylineno = 1; // this will only get updated if %option yylineno ^ OpenFOAM-5.1/platforms/linux64IccDPInt64Opt/src/surfMesh/surfaceFormats/stl/STLsurfaceFormatASCII.L.C(5949): error: identifier "yy_did_buffer_switch_on_eof" is undefined yy_did_buffer_switch_on_eof = 0; ^ OpenFOAM-5.1/platforms/linux64IccDPInt64Opt/src/surfMesh/surfaceFormats/stl/STLsurfaceFormatASCII.L.C(5951): error: identifier "yy_looking_for_trail_begin" is undefined yy_looking_for_trail_begin = 0; ^ OpenFOAM-5.1/platforms/linux64IccDPInt64Opt/src/surfMesh/surfaceFormats/stl/STLsurfaceFormatASCII.L.C(5952): error: identifier "yy_more_flag" is undefined yy_more_flag = 0; ^ OpenFOAM-5.1/platforms/linux64IccDPInt64Opt/src/surfMesh/surfaceFormats/stl/STLsurfaceFormatASCII.L.C(5953): error: identifier "yy_more_len" is undefined yy_more_len = 0; ^ OpenFOAM-5.1/platforms/linux64IccDPInt64Opt/src/surfMesh/surfaceFormats/stl/STLsurfaceFormatASCII.L.C(5954): error: identifier "yy_more_offset" is undefined yy_more_offset = yy_prev_more_offset = 0; ^ OpenFOAM-5.1/platforms/linux64IccDPInt64Opt/src/surfMesh/surfaceFormats/stl/STLsurfaceFormatASCII.L.C(5954): error: identifier "yy_prev_more_offset" is undefined yy_more_offset = yy_prev_more_offset = 0; ^ OpenFOAM-5.1/platforms/linux64IccDPInt64Opt/src/surfMesh/surfaceFormats/stl/STLsurfaceFormatASCII.L.C(5956): error: identifier "yy_start_stack_ptr" is undefined yy_start_stack_ptr = yy_start_stack_depth = 0; ^ OpenFOAM-5.1/platforms/linux64IccDPInt64Opt/src/surfMesh/surfaceFormats/stl/STLsurfaceFormatASCII.L.C(5956): error: identifier "yy_start_stack_depth" is undefined yy_start_stack_ptr = yy_start_stack_depth = 0; ^ OpenFOAM-5.1/platforms/linux64IccDPInt64Opt/src/surfMesh/surfaceFormats/stl/STLsurfaceFormatASCII.L.C(5957): error: identifier "yy_start_stack" is undefined yy_start_stack = NULL; ^ OpenFOAM-5.1/platforms/linux64IccDPInt64Opt/src/surfMesh/surfaceFormats/stl/STLsurfaceFormatASCII.L.C(5959): error: identifier "yy_buffer_stack" is undefined yy_buffer_stack = NULL; ^ OpenFOAM-5.1/platforms/linux64IccDPInt64Opt/src/surfMesh/surfaceFormats/stl/STLsurfaceFormatASCII.L.C(5960): error: identifier "yy_buffer_stack_top" is undefined yy_buffer_stack_top = 0; ^ OpenFOAM-5.1/platforms/linux64IccDPInt64Opt/src/surfMesh/surfaceFormats/stl/STLsurfaceFormatASCII.L.C(5961): error: identifier "yy_buffer_stack_max" is undefined yy_buffer_stack_max = 0; ^ OpenFOAM-5.1/platforms/linux64IccDPInt64Opt/src/surfMesh/surfaceFormats/stl/STLsurfaceFormatASCII.L.C(5963): error: identifier "yy_state_buf" is undefined yy_state_buf = 0; ^ OpenFOAM-5.1/platforms/linux64IccDPInt64Opt/src/surfMesh/surfaceFormats/stl/STLsurfaceFormatASCII.L.C(5979): error: declaration is incompatible with "void yyFlexLexer::switch_streams(std::istream *, std::ostream *)" (declared at line 129 of "/usr/include/FlexLexer.h") void yyFlexLexer::switch_streams( std::istream& new_in, std::ostream& new_out ) ^ OpenFOAM-5.1/platforms/linux64IccDPInt64Opt/src/surfMesh/surfaceFormats/stl/STLsurfaceFormatASCII.L.C(5983): error: no suitable conversion function from "std::istream" to "std::istream *" exists yy_switch_to_buffer( yy_create_buffer( new_in, YY_BUF_SIZE ) ); ^ OpenFOAM-5.1/platforms/linux64IccDPInt64Opt/src/surfMesh/surfaceFormats/stl/STLsurfaceFormatASCII.L.C(5986): error: expression must have class type yyout.rdbuf(new_out.rdbuf()); ^ OpenFOAM-5.1/platforms/linux64IccDPInt64Opt/src/surfMesh/surfaceFormats/stl/STLsurfaceFormatASCII.L.C(5994): error: a value of type "std::istream **" cannot be assigned to an entity of type "std::istream *" new_in = &yyin; ^ OpenFOAM-5.1/platforms/linux64IccDPInt64Opt/src/surfMesh/surfaceFormats/stl/STLsurfaceFormatASCII.L.C(5998): error: a value of type "std::ostream **" cannot be assigned to an entity of type "std::ostream *" new_out = &yyout; ^ OpenFOAM-5.1/platforms/linux64IccDPInt64Opt/src/surfMesh/surfaceFormats/stl/STLsurfaceFormatASCII.L.C(6001): error: no suitable conversion function from "std::istream" to "std::istream *" exists switch_streams(*new_in, *new_out); ^ OpenFOAM-5.1/platforms/linux64IccDPInt64Opt/src/surfMesh/surfaceFormats/stl/STLsurfaceFormatASCII.L.C(6001): error: no suitable conversion function from "std::ostream" to "std::ostream *" exists switch_streams(*new_in, *new_out); ^ OpenFOAM-5.1/platforms/linux64IccDPInt64Opt/src/surfMesh/surfaceFormats/stl/STLsurfaceFormatASCII.L.C(6010): error: expression must have class type if ( yyin.eof() || yyin.fail() ) ^ OpenFOAM-5.1/platforms/linux64IccDPInt64Opt/src/surfMesh/surfaceFormats/stl/STLsurfaceFormatASCII.L.C(6010): error: expression must have class type if ( yyin.eof() || yyin.fail() ) ^ OpenFOAM-5.1/platforms/linux64IccDPInt64Opt/src/surfMesh/surfaceFormats/stl/STLsurfaceFormatASCII.L.C(6025): error: expression must have class type (void) yyin.read( buf, max_size ); ^ OpenFOAM-5.1/platforms/linux64IccDPInt64Opt/src/surfMesh/surfaceFormats/stl/STLsurfaceFormatASCII.L.C(6027): error: expression must have class type if ( yyin.bad() ) ^ OpenFOAM-5.1/platforms/linux64IccDPInt64Opt/src/surfMesh/surfaceFormats/stl/STLsurfaceFormatASCII.L.C(6030): error: expression must have class type return yyin.gcount(); ^ OpenFOAM-5.1/platforms/linux64IccDPInt64Opt/src/surfMesh/surfaceFormats/stl/STLsurfaceFormatASCII.L.C(6036): error: expression must have class type (void) yyout.write( buf, size ); ^ OpenFOAM-5.1/platforms/linux64IccDPInt64Opt/src/surfMesh/surfaceFormats/stl/STLsurfaceFormatASCII.L.C(6345): error: declaration is incompatible with "void yyFlexLexer::yyrestart(std::istream *)" (declared at line 123 of "/usr/include/FlexLexer.h") void yyFlexLexer::yyrestart( std::istream& input_file ) ^ OpenFOAM-5.1/platforms/linux64IccDPInt64Opt/src/surfMesh/surfaceFormats/stl/STLsurfaceFormatASCII.L.C(6354): error: no suitable conversion function from "std::istream" to "std::istream *" exists yy_init_buffer( YY_CURRENT_BUFFER, input_file ); ^ OpenFOAM-5.1/platforms/linux64IccDPInt64Opt/src/surfMesh/surfaceFormats/stl/STLsurfaceFormatASCII.L.C(6366): error: a value of type "std::istream **" cannot be assigned to an entity of type "std::istream *" input_file = &yyin; ^ OpenFOAM-5.1/platforms/linux64IccDPInt64Opt/src/surfMesh/surfaceFormats/stl/STLsurfaceFormatASCII.L.C(6368): error: no suitable conversion function from "std::istream" to "std::istream *" exists yyrestart( *input_file ); ^ OpenFOAM-5.1/platforms/linux64IccDPInt64Opt/src/surfMesh/surfaceFormats/stl/STLsurfaceFormatASCII.L.C(6410): error: expression must have class type yyin.rdbuf(YY_CURRENT_BUFFER_LVALUE->yy_input_file); ^ OpenFOAM-5.1/platforms/linux64IccDPInt64Opt/src/surfMesh/surfaceFormats/stl/STLsurfaceFormatASCII.L.C(6420): error: declaration is incompatible with "yy_buffer_state *yyFlexLexer::yy_create_buffer(std::istream *, int)" (declared at line 121 of "/usr/include/FlexLexer.h") YY_BUFFER_STATE yyFlexLexer::yy_create_buffer( std::istream& file, int size ) ^ OpenFOAM-5.1/platforms/linux64IccDPInt64Opt/src/surfMesh/surfaceFormats/stl/STLsurfaceFormatASCII.L.C(6439): error: no suitable conversion function from "std::istream" to "std::istream *" exists yy_init_buffer( b, file ); ^ OpenFOAM-5.1/platforms/linux64IccDPInt64Opt/src/surfMesh/surfaceFormats/stl/STLsurfaceFormatASCII.L.C(6452): error: no suitable conversion function from "std::istream" to "std::istream *" exists return yy_create_buffer( *file, size ); ^ OpenFOAM-5.1/platforms/linux64IccDPInt64Opt/src/surfMesh/surfaceFormats/stl/STLsurfaceFormatASCII.L.C(6478): error: declaration is incompatible with "void yyFlexLexer::yy_init_buffer(yy_buffer_state *, std::istream *)" (declared at line 141 of "/usr/include/FlexLexer.h") void yyFlexLexer::yy_init_buffer( YY_BUFFER_STATE b, std::istream& file ) ^ compilation aborted for OpenFOAM-5.1/platforms/linux64IccDPInt64Opt/src/surfMesh/surfaceFormats/stl/STLsurfaceFormatASCII.L.C (code 2) make: *** [OpenFOAM-5.1/platforms/linux64IccDPInt64Opt/src/surfMesh/surfaceFormats/stl/STLsurfaceFormatASCII.o] Error 2