CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   OpenFOAM Installation (http://www.cfd-online.com/Forums/openfoam-installation/)
-   -   Can anybody help me to solve the list errors while compiling Openfoam 15 on Opensuse 103 32bit (http://www.cfd-online.com/Forums/openfoam-installation/57284-can-anybody-help-me-solve-list-errors-while-compiling-openfoam-15-opensuse-103-32bit.html)

coompressor November 12, 2008 20:53

The following are the messages
 
The following are the messages related to the possible errors while compiling
************************************************
alex@alex:~/OpenFOAM/OpenFOAM-1.5> ./Allwmake
+ cd .
+ cd wmake/src
+ make
make: Nothing to be done for `all'.
+ cd /home/alex/OpenFOAM/ThirdParty
+ ./Allwmake
+ '[' -n '' ']'
+ '[' -n '' ']'
+ '[' -n '' ']'
+ '[' -n '' ']'
+ '[' -n '' ']'
+ wmake libso zlib-1.2.3
'/home/alex/OpenFOAM/OpenFOAM-1.5/lib/linuxGccDPOpt/libz.so' is up to date.
+ cd malloc
+ ./Allwmake
+ wmake libso hoard
'/home/alex/OpenFOAM/OpenFOAM-1.5/lib/linuxGccDPOpt/libhoard.so' is up to date.
+ wmake libo fbsdmalloc
'/home/alex/OpenFOAM/OpenFOAM-1.5/lib/linuxGccDPOpt/libfbsdmalloc.o' is up to date.
+ case "$WM_MPLIB" in
+ '[' -r /home/alex/OpenFOAM/ThirdParty/openmpi-1.2.6/platforms/linuxGccDPOpt/lib/libmpi. so ']'
+ echo 'have OPENMPI shared library'
have OPENMPI shared library
+ cd metis-5.0pre2
+ wmake libso GKlib
'/home/alex/OpenFOAM/OpenFOAM-1.5/lib/linuxGccDPOpt/libGKlib.so' is up to date.
+ wmake libso libmetis
'/home/alex/OpenFOAM/OpenFOAM-1.5/lib/linuxGccDPOpt/libmetis.so' is up to date.
+ '[' -d /home/alex/OpenFOAM/ThirdParty/openmpi-1.2.6/platforms/linuxGccDPOpt ']'
+ cd ParMetis-3.1
+ wmake libso METISLib
'/home/alex/OpenFOAM/OpenFOAM-1.5/lib/linuxGccDPOpt/openmpi-1.2.6/libmetis-parme tis.so' is up to date.
+ wmake libso ParMETISLib
'/home/alex/OpenFOAM/OpenFOAM-1.5/lib/linuxGccDPOpt/openmpi-1.2.6/libparmetis.so ' is up to date.
+ wmake libso ParMGridGen-1.0/MGridGen/IMlib
'/home/alex/OpenFOAM/OpenFOAM-1.5/lib/linuxGccDPOpt/libIMlib.so' is up to date.
+ wmake libso ParMGridGen-1.0/MGridGen/Lib
'/home/alex/OpenFOAM/OpenFOAM-1.5/lib/linuxGccDPOpt/libMGridGen.so' is up to date.
+ cd src
+ ./Allwmake
+ cd OpenFOAM
+ wmakeLnInclude .
+ cd Pstream
+ ./Allwmake
+ wmake libso dummy
'/home/alex/OpenFOAM/OpenFOAM-1.5/lib/linuxGccDPOpt/dummy/libPstream.so' is up to date.
+ case "$WM_MPLIB" in
+ export WM_OPTIONS=linuxGccDPOptOPENMPI
+ WM_OPTIONS=linuxGccDPOptOPENMPI
+ set +x

Note: ignore spurious warnings about missing mpicxx.h headers
+ wmake libso mpi
'/home/alex/OpenFOAM/OpenFOAM-1.5/lib/linuxGccDPOpt/openmpi-1.2.6/libPstream.so' is up to date.
+ wmake libo OSspecific/Unix
'/home/alex/OpenFOAM/OpenFOAM-1.5/lib/linuxGccDPOpt/libOSspecific.o' is up to date.
+ wmake libso OpenFOAM
'/home/alex/OpenFOAM/OpenFOAM-1.5/lib/linuxGccDPOpt/libOpenFOAM.so' is up to date.
+ wmake libso lagrangian/basic
'/home/alex/OpenFOAM/OpenFOAM-1.5/lib/linuxGccDPOpt/liblagrangian.so' is up to date.
+ wmake libso triSurface
SOURCE=triSurface/interfaces/STL/readSTLASCII.L ; flex++ -f $SOURCE ; mv lex.yy.cc Make/linuxGccDPOpt/readSTLASCII.C ; g++ -m32 -Dlinux -DDP -Wall -Wno-strict-aliasing -Wextra -Wno-unused-parameter -Wold-style-cast -O3 -DNoRepository -ftemplate-depth-40 -I/home/alex/OpenFOAM/ThirdParty/zlib-1.2.3 -IlnInclude -I. -I/home/alex/OpenFOAM/OpenFOAM-1.5/src/OpenFOAM/lnInclude -I/home/alex/OpenFOAM/OpenFOAM-1.5/src/OSspecific/Unix/lnInclude -fPIC -pthread -c Make/linuxGccDPOpt/readSTLASCII.C -o Make/linuxGccDPOpt/readSTLASCII.o
lex.yy.cc: In member function 'int STLLexer::lex()':
lex.yy.cc:5549: warning: use of old-style cast
lex.yy.cc:5549: warning: use of old-style cast
lex.yy.cc:5565: warning: use of old-style cast
lex.yy.cc:5779: warning: use of old-style cast
triSurface/interfaces/STL/readSTLASCII.L:208: warning: unused variable 'endPtr'
lex.yy.cc: In member function 'int yyFlexLexer::yy_get_next_buffer()':
lex.yy.cc:6027: warning: use of old-style cast
lex.yy.cc:6050: warning: use of old-style cast
lex.yy.cc:6063: warning: use of old-style cast
lex.yy.cc:6063: warning: use of old-style cast
lex.yy.cc:6084: warning: use of old-style cast
lex.yy.cc: In member function 'yy_state_type yyFlexLexer::yy_get_previous_state()':
lex.yy.cc:6131: warning: use of old-style cast
lex.yy.cc:6131: warning: use of old-style cast
lex.yy.cc: In member function 'void yyFlexLexer::yyunput(int, char*)':
lex.yy.cc:6191: warning: use of old-style cast
lex.yy.cc:6192: warning: use of old-style cast
lex.yy.cc:6200: warning: use of old-style cast
lex.yy.cc: In member function 'int yyFlexLexer::yyinput()':
lex.yy.cc:6267: warning: use of old-style cast
lex.yy.cc: In member function 'virtual yy_buffer_state* yyFlexLexer::yy_create_buffer(std::istream*, int)':
lex.yy.cc:6345: warning: use of old-style cast
lex.yy.cc:6354: warning: use of old-style cast
lex.yy.cc: In member function 'virtual void yyFlexLexer::yy_delete_buffer(yy_buffer_state*)':
lex.yy.cc:6376: warning: use of old-style cast
lex.yy.cc:6379: warning: use of old-style cast
lex.yy.cc:6381: warning: use of old-style cast
lex.yy.cc: In member function 'void yyFlexLexer::yyensure_buffer_stack()':
lex.yy.cc:6508: warning: use of old-style cast
lex.yy.cc:6526: warning: use of old-style cast
lex.yy.cc: In member function 'void yyFlexLexer::yy_push_state(int)':
lex.yy.cc:6544: warning: use of old-style cast
lex.yy.cc:6547: warning: use of old-style cast
lex.yy.cc:6547: warning: use of old-style cast
lex.yy.cc: In function 'void* yyalloc(yy_size_t)':
lex.yy.cc:6627: warning: use of old-style cast
lex.yy.cc: In function 'void* yyrealloc(void*, yy_size_t)':
lex.yy.cc:6639: warning: use of old-style cast
lex.yy.cc:6639: warning: use of old-style cast
lex.yy.cc: In function 'void yyfree(void*)':
lex.yy.cc:6644: warning: use of old-style cast
SOURCE=triSurface/interfaces/STL/readSTLBINARY.C ; g++ -m32 -Dlinux -DDP -Wall -Wno-strict-aliasing -Wextra -Wno-unused-parameter -Wold-style-cast -O3 -DNoRepository -ftemplate-depth-40 -I/home/alex/OpenFOAM/ThirdParty/zlib-1.2.3 -IlnInclude -I. -I/home/alex/OpenFOAM/OpenFOAM-1.5/src/OpenFOAM/lnInclude -I/home/alex/OpenFOAM/OpenFOAM-1.5/src/OSspecific/Unix/lnInclude -fPIC -pthread -c $SOURCE -o Make/linuxGccDPOpt/readSTLBINARY.o
SOURCE=triSurface/interfaces/GTS/writeGTS.C ; g++ -m32 -Dlinux -DDP -Wall -Wno-strict-aliasing -Wextra -Wno-unused-parameter -Wold-style-cast -O3 -DNoRepository -ftemplate-depth-40 -I/home/alex/OpenFOAM/ThirdParty/zlib-1.2.3 -IlnInclude -I. -I/home/alex/OpenFOAM/OpenFOAM-1.5/src/OpenFOAM/lnInclude -I/home/alex/OpenFOAM/OpenFOAM-1.5/src/OSspecific/Unix/lnInclude -fPIC -pthread -c $SOURCE -o Make/linuxGccDPOpt/writeGTS.o



lex.yy.cc: In member function 'virtual int yyFlexLexer::yylex()':
lex.yy.cc:12145: warning: use of old-style cast
lex.yy.cc:12145: warning: use of old-style cast
lex.yy.cc:12161: warning: use of old-style cast
lex.yy.cc:12860: warning: use of old-style cast
lex.yy.cc: In member function 'int yyFlexLexer::yy_get_next_buffer()':
lex.yy.cc:13108: warning: use of old-style cast
lex.yy.cc:13131: warning: use of old-style cast
lex.yy.cc:13144: warning: use of old-style cast
lex.yy.cc:13144: warning: use of old-style cast
lex.yy.cc:13165: warning: use of old-style cast
lex.yy.cc: In member function 'yy_state_type yyFlexLexer::yy_get_previous_state()':
lex.yy.cc:13212: warning: use of old-style cast
lex.yy.cc:13212: warning: use of old-style cast
lex.yy.cc: In member function 'void yyFlexLexer::yyunput(int, char*)':
lex.yy.cc:13272: warning: use of old-style cast
lex.yy.cc:13273: warning: use of old-style cast
lex.yy.cc:13281: warning: use of old-style cast
lex.yy.cc: In member function 'int yyFlexLexer::yyinput()':
lex.yy.cc:13348: warning: use of old-style cast
lex.yy.cc: In member function 'virtual yy_buffer_state* yyFlexLexer::yy_create_buffer(std::istream*, int)':
lex.yy.cc:13426: warning: use of old-style cast
lex.yy.cc:13435: warning: use of old-style cast
lex.yy.cc: In member function 'virtual void yyFlexLexer::yy_delete_buffer(yy_buffer_state*)':
lex.yy.cc:13457: warning: use of old-style cast
lex.yy.cc:13460: warning: use of old-style cast
lex.yy.cc:13462: warning: use of old-style cast
lex.yy.cc: In member function 'void yyFlexLexer::yyensure_buffer_stack()':
lex.yy.cc:13589: warning: use of old-style cast
lex.yy.cc:13607: warning: use of old-style cast
lex.yy.cc: In member function 'void yyFlexLexer::yy_push_state(int)':
lex.yy.cc:13625: warning: use of old-style cast
lex.yy.cc:13628: warning: use of old-style cast
lex.yy.cc:13628: warning: use of old-style cast
lex.yy.cc: In function 'void* yyalloc(yy_size_t)':
lex.yy.cc:13708: warning: use of old-style cast
lex.yy.cc: In function 'void* yyrealloc(void*, yy_size_t)':
lex.yy.cc:13720: warning: use of old-style cast
lex.yy.cc:13720: warning: use of old-style cast
lex.yy.cc: In function 'void yyfree(void*)':
lex.yy.cc:13725: warning: use of old-style cast

-- Loading ParaView CMake commands
-- Loading ParaView CMake commands - done
CMake Error: Error in cmake code at
#ifndef _@PLUGIN_NAME@Plugin_h:458:
Unknown CMake command "QT4_WRAP_CPP".
CMake Error: Error in cmake code at
/home/alex/OpenFOAM/OpenFOAM-1.5/applications/utilities/postProcessing/graphics/ PV3FoamReader/PV3FoamReader/CMakeLists.txt:44:
A command failed during the invocation of macro "ADD_PARAVIEW_GUI_EXTENSION".
CMake Error: Error in cmake code at
#ifndef _@PLUGIN_NAME@Plugin_h:562:
ADD_PARAVIEW_GUI_EXTENSION unknown error.
Current CMake stack: /home/alex/OpenFOAM/OpenFOAM-1.5/applications/utilities/postProcessing/graphics/ PV3FoamReader/PV3FoamReader/CMakeLists.txt;/home/alex/OpenFOAM/ThirdParty/cmake- 2.4.6/platforms/linux/share/cmake-2.4/Modules/CMakeCInformation.cmake;/home/alex /OpenFOAM/ThirdParty/cmake-2.4.6/platforms/linux/share/cmake-2.4/Modules/CMakeCX XInformation.cmake
CMake Error: Error in cmake code at
/home/alex/OpenFOAM/OpenFOAM-1.5/applications/utilities/postProcessing/graphics/ PV3FoamReader/PV3FoamReader/CMakeLists.txt:44:
A command failed during the invocation of macro "ADD_PARAVIEW_PLUGIN".
CMake Error: Error in cmake code at
/home/alex/OpenFOAM/OpenFOAM-1.5/applications/utilities/postProcessing/graphics/ PV3FoamReader/PV3FoamReader/CMakeLists.txt:43:
ADD_PARAVIEW_PLUGIN unknown error.
Current CMake stack: /home/alex/OpenFOAM/OpenFOAM-1.5/applications/utilities/postProcessing/graphics/ PV3FoamReader/PV3FoamReader/CMakeLists.txt;/home/alex/OpenFOAM/ThirdParty/cmake- 2.4.6/platforms/linux/share/cmake-2.4/Modules/CMakeCInformation.cmake;/home/alex /OpenFOAM/ThirdParty/cmake-2.4.6/platforms/linux/share/cmake-2.4/Modules/CMakeCX XInformation.cmake
-- Configuring done
+ make
make[3]: Entering directory `/home/alex/OpenFOAM/OpenFOAM-1.5/applications/utilities/postProcessing/graphics /PV3FoamReader/PV3FoamReader/Make/linuxGccDPOpt'
make[3]: *** No targets specified and no makefile found. Stop.
make[3]: Leaving directory `/home/alex/OpenFOAM/OpenFOAM-1.5/applications/utilities/postProcessing/graphics /PV3FoamReader/PV3FoamReader/Make/linuxGccDPOpt'
make[2]: *** [PV3FoamReader] Error 2
+ '[' -d /home/alex/OpenFOAM/ThirdParty/ParaView3.3-cvs/platforms/linuxGcc -a -r /home/alex/OpenFOAM/ThirdParty/ParaView3.3-cvs/platforms/linuxGcc ']'
+ case "$ParaView_VERSION" in
make[2]: Target `application' not remade because of errors.
make[2]: Leaving directory `/home/alex/OpenFOAM/OpenFOAM-1.5/applications/utilities/postProcessing/graphics '
make[1]: *** [graphics] Error 2
make[1]: Target `application' not remade because of errors.
make[1]: Leaving directory `/home/alex/OpenFOAM/OpenFOAM-1.5/applications/utilities/postProcessing'
make: *** [postProcessing] Error 2


All times are GMT -4. The time now is 05:53.