|
[Sponsors] |
September 16, 2010, 07:18 |
groovyBC - compile error?
|
#1 |
Senior Member
Pavan
Join Date: May 2009
Location: Melbourne
Posts: 101
Rep Power: 17 |
Hi guys, I'm trying to compile groovyBC into a dynamic library using "wmake libso" and don't know if it compiled properly. Here is the output:
Code:
[pab565@vayu1 groovyBC]$ wmake libso Making dependency list for source file PatchResult.C Making dependency list for source file PatchValueExpressionParser.yy Making dependency list for source file PatchValueExpressionLexer.ll could not open file PatchValueExpressionParser.tab.hh for source file PatchValueExpressionParser.yy Making dependency list for source file PatchValueExpressionDriver.C could not open file PatchValueExpressionParser.tab.hh for source file PatchValueExpressionLexer.ll Making dependency list for source file groovyBCFvPatchFields.C could not open file PatchValueExpressionParser.tab.hh for source file PatchValueExpressionDriver.C Making dependency list for source file groovyBCPointPatchFields.C could not open file PatchValueExpressionParser.tab.hh for source file groovyBCFvPatchFields.C could not open file mixedPointPatchField.H for source file groovyBCPointPatchFields.C could not open file PatchValueExpressionParser.tab.hh for source file groovyBCPointPatchFields.C could not open file pointPatchFieldMapper.H for source file groovyBCPointPatchFields.C SOURCE=PatchResult.C ; g++ -m64 -Dlinux64 -DDP -DFOAM_DEV_REVISION_NUMBER=1669 -Wall -Wno-strict-aliasing -Wextra -Wno-unused-parameter -Wold-style-cast -march=opteron -O3 -DNoRepository -ftemplate-depth-40 -IMake/linux64GccDPOpt -DFOAM_DEV -I/home/565/pab565//OpenFOAM/OpenFOAM-1.5-dev/src/finiteVolume/lnInclude -IlnInclude -I. -I/home/565/pab565//OpenFOAM/OpenFOAM-1.5-dev/src/OpenFOAM/lnInclude -I/home/565/pab565//OpenFOAM/OpenFOAM-1.5-dev/src/OSspecific/Unix/lnInclude -fPIC -c $SOURCE -o Make/linux64GccDPOpt/PatchResult.o SOURCE=PatchValueExpressionParser.yy ; rm -f Make/linux64GccDPOpt/PatchValueExpressionParser.C Make/linux64GccDPOpt/PatchValueExpressionParser.tab.hh; bison -ra -v -d $SOURCE ; mv *.tab.cc Make/linux64GccDPOpt/PatchValueExpressionParser.C ; mv *.tab.hh Make/linux64GccDPOpt/PatchValueExpressionParser.tab.hh ; mv *.hh Make/linux64GccDPOpt ; g++ -m64 -Dlinux64 -DDP -DFOAM_DEV_REVISION_NUMBER=1669 -Wall -Wno-strict-aliasing -Wextra -Wno-unused-parameter -Wold-style-cast -march=opteron -O3 -DNoRepository -ftemplate-depth-40 -IMake/linux64GccDPOpt -DFOAM_DEV -I/home/565/pab565//OpenFOAM/OpenFOAM-1.5-dev/src/finiteVolume/lnInclude -IlnInclude -I. -I/home/565/pab565//OpenFOAM/OpenFOAM-1.5-dev/src/OpenFOAM/lnInclude -I/home/565/pab565//OpenFOAM/OpenFOAM-1.5-dev/src/OSspecific/Unix/lnInclude -fPIC -c Make/linux64GccDPOpt/PatchValueExpressionParser.C -o Make/linux64GccDPOpt/PatchValueExpressionParser.o PatchResult.C: In member function 'void Foam::PatchResult::uglyDelete()': PatchResult.C:97: warning: deleting 'void*' is undefined SOURCE=PatchValueExpressionLexer.ll ; rm Make/linux64GccDPOpt/PatchValueExpressionLexer.C ; flex -f $SOURCE ; mv *.c Make/linux64GccDPOpt/PatchValueExpressionLexer.C ; g++ -m64 -Dlinux64 -DDP -DFOAM_DEV_REVISION_NUMBER=1669 -Wall -Wno-strict-aliasing -Wextra -Wno-unused-parameter -Wold-style-cast -march=opteron -O3 -DNoRepository -ftemplate-depth-40 -IMake/linux64GccDPOpt -DFOAM_DEV -I/home/565/pab565//OpenFOAM/OpenFOAM-1.5-dev/src/finiteVolume/lnInclude -IlnInclude -I. -I/home/565/pab565//OpenFOAM/OpenFOAM-1.5-dev/src/OpenFOAM/lnInclude -I/home/565/pab565//OpenFOAM/OpenFOAM-1.5-dev/src/OSspecific/Unix/lnInclude -fPIC -c Make/linux64GccDPOpt/PatchValueExpressionLexer.C -o Make/linux64GccDPOpt/PatchValueExpressionLexer.o rm: cannot remove `Make/linux64GccDPOpt/PatchValueExpressionLexer.C': No such file or directory PatchValueExpressionParser.tab.cc: In member function 'unsigned char pve::PatchValueExpressionParser::yytranslate_(int)': PatchValueExpressionParser.tab.cc:4030: warning: use of old-style cast Make/linux64GccDPOpt/PatchValueExpressionLexer.C:245: warning: use of old-style cast Make/linux64GccDPOpt/PatchValueExpressionLexer.C:296: warning: use of old-style cast Make/linux64GccDPOpt/PatchValueExpressionLexer.C:296: warning: use of old-style cast lex.ve.c: In function 'int pvelex(pve::PatchValueExpressionParser::semantic_type*, pve::location*, Foam::PatchValueExpressionDriver&)': lex.ve.c:9192: warning: use of old-style cast lex.ve.c:9192: warning: use of old-style cast lex.ve.c:9208: warning: use of old-style cast lex.ve.c:9684: warning: use of old-style cast lex.ve.c: In function 'int yy_get_next_buffer()': lex.ve.c:9852: warning: use of old-style cast lex.ve.c:9879: warning: use of old-style cast lex.ve.c:9892: warning: use of old-style cast lex.ve.c:9893: warning: use of old-style cast lex.ve.c:9914: warning: use of old-style cast lex.ve.c: In function 'yy_state_type yy_get_previous_state()': lex.ve.c:9962: warning: use of old-style cast lex.ve.c:9962: warning: use of old-style cast lex.ve.c: In function 'int yyinput()': lex.ve.c:10119: warning: use of old-style cast lex.ve.c: In function 'yy_buffer_state* ve_create_buffer(FILE*, int)': lex.ve.c:10196: warning: use of old-style cast lex.ve.c:10205: warning: use of old-style cast lex.ve.c: In function 'void ve_delete_buffer(yy_buffer_state*)': lex.ve.c:10228: warning: use of old-style cast lex.ve.c:10231: warning: use of old-style cast lex.ve.c:10233: warning: use of old-style cast lex.ve.c: In function 'yy_buffer_state* ve_scan_buffer(char*, yy_size_t)': lex.ve.c:10312: warning: use of old-style cast lex.ve.c: In function 'yy_buffer_state* ve_scan_bytes(const char*, int)': lex.ve.c:10366: warning: use of old-style cast lex.ve.c: In function 'void yy_push_state(int)': lex.ve.c:10405: warning: use of old-style cast lex.ve.c:10409: warning: use of old-style cast lex.ve.c:10409: warning: use of old-style cast lex.ve.c: In function 'void* yy_flex_alloc(yy_size_t)': lex.ve.c:10516: warning: use of old-style cast lex.ve.c: In function 'void* yy_flex_realloc(void*, yy_size_t)': lex.ve.c:10534: warning: use of old-style cast lex.ve.c:10534: warning: use of old-style cast lex.ve.c: At global scope: lex.ve.c:10391: warning: 'void yy_push_state(int)' defined but not used lex.ve.c:10424: warning: 'void yy_pop_state()' defined but not used lex.ve.c:10435: warning: 'int yy_top_state()' defined but not used SOURCE=PatchValueExpressionDriver.C ; g++ -m64 -Dlinux64 -DDP -DFOAM_DEV_REVISION_NUMBER=1669 -Wall -Wno-strict-aliasing -Wextra -Wno-unused-parameter -Wold-style-cast -march=opteron -O3 -DNoRepository -ftemplate-depth-40 -IMake/linux64GccDPOpt -DFOAM_DEV -I/home/565/pab565//OpenFOAM/OpenFOAM-1.5-dev/src/finiteVolume/lnInclude -IlnInclude -I. -I/home/565/pab565//OpenFOAM/OpenFOAM-1.5-dev/src/OpenFOAM/lnInclude -I/home/565/pab565//OpenFOAM/OpenFOAM-1.5-dev/src/OSspecific/Unix/lnInclude -fPIC -c $SOURCE -o Make/linux64GccDPOpt/PatchValueExpressionDriver.o SOURCE=groovyBCFvPatchFields.C ; g++ -m64 -Dlinux64 -DDP -DFOAM_DEV_REVISION_NUMBER=1669 -Wall -Wno-strict-aliasing -Wextra -Wno-unused-parameter -Wold-style-cast -march=opteron -O3 -DNoRepository -ftemplate-depth-40 -IMake/linux64GccDPOpt -DFOAM_DEV -I/home/565/pab565//OpenFOAM/OpenFOAM-1.5-dev/src/finiteVolume/lnInclude -IlnInclude -I. -I/home/565/pab565//OpenFOAM/OpenFOAM-1.5-dev/src/OpenFOAM/lnInclude -I/home/565/pab565//OpenFOAM/OpenFOAM-1.5-dev/src/OSspecific/Unix/lnInclude -fPIC -c $SOURCE -o Make/linux64GccDPOpt/groovyBCFvPatchFields.o SOURCE=groovyBCPointPatchFields.C ; g++ -m64 -Dlinux64 -DDP -DFOAM_DEV_REVISION_NUMBER=1669 -Wall -Wno-strict-aliasing -Wextra -Wno-unused-parameter -Wold-style-cast -march=opteron -O3 -DNoRepository -ftemplate-depth-40 -IMake/linux64GccDPOpt -DFOAM_DEV -I/home/565/pab565//OpenFOAM/OpenFOAM-1.5-dev/src/finiteVolume/lnInclude -IlnInclude -I. -I/home/565/pab565//OpenFOAM/OpenFOAM-1.5-dev/src/OpenFOAM/lnInclude -I/home/565/pab565//OpenFOAM/OpenFOAM-1.5-dev/src/OSspecific/Unix/lnInclude -fPIC -c $SOURCE -o Make/linux64GccDPOpt/groovyBCPointPatchFields.o '/home/565/pab565//OpenFOAM/pab565-1.5-dev/lib/linux64GccDPOpt/libgroovyBC.so' is up to date. |
|
September 17, 2010, 04:51 |
|
#2 |
Assistant Moderator
Bernhard Gschaider
Join Date: Mar 2009
Posts: 4,225
Rep Power: 51 |
No problem. You've got an .so (the warnings are normal and can't be avoided)
Bernhard |
|
September 18, 2010, 09:42 |
|
#3 |
Senior Member
Pavan
Join Date: May 2009
Location: Melbourne
Posts: 101
Rep Power: 17 |
Thanks Bernhard!
|
|
June 14, 2011, 08:16 |
groovyBC doesn't compile
|
#4 |
New Member
Ulisses
Join Date: Mar 2009
Location: Brazil
Posts: 24
Rep Power: 17 |
Hi guys,
I am struggling to compile groovyBC in OpenFOAM-1.6 but I got the following error: ulisses@linux-ddg2:~/OpenFOAM/ulisses-1.6/applications/utilities/groovyBC> wmake libso linuxGccDPOpt/options:14: *** faltando o separador. Pare. wmake error: file 'Make/linuxGccDPOpt/objectFiles' could not be created My system is SuSE version 11.4. Could someone help me? |
|
June 14, 2011, 11:56 |
|
#5 | |
Assistant Moderator
Bernhard Gschaider
Join Date: Mar 2009
Posts: 4,225
Rep Power: 51 |
Quote:
Please try to completely clean the directory (wclean, "rm -r lnInclude", rmdepall). Make sure that myflex and mybison are in Make-directory. Then try again Bernhard |
||
June 14, 2011, 17:06 |
|
#6 | |
New Member
Ulisses
Join Date: Mar 2009
Location: Brazil
Posts: 24
Rep Power: 17 |
Quote:
I did wthat you suggested (clean completely the directory and check myflex and mybison) but the error remains: ulisses@linux-ddg2:~/OpenFOAM/ulisses-1.6/applications/utilities/groovyBC> wmake libso linuxGccDPOpt/options:14: *** missing separator. Stop. wmake error: file 'Make/linuxGccDPOpt/objectFiles' could not be created My Make/options file is written as follows: 1 # 1 "options" 2 # 1 "<built-in>" 3 # 1 "<command-line>" 4 # 1 "options" 5 include $(OBJECTS_DIR)/../mybison 6 include $(OBJECTS_DIR)/../myflex 7 8 ifdef FOAM_DEV 9 FOAM_DEV_OPTION = -DFOAM_DEV 10 endif 11 12 EXE_INC = -I$(OBJECTS_DIR) 13 $(FOAM_DEV_OPTION) 14 -I$(LIB_SRC)/finiteVolume/lnInclude 15 16 LIB_LIBS = -lfiniteVolume 17 -lOpenFOAM I don't understand why the line 14 gives that error. Thanks for the prompt answer!!! |
||
June 14, 2011, 18:43 |
|
#7 | |
Assistant Moderator
Bernhard Gschaider
Join Date: Mar 2009
Posts: 4,225
Rep Power: 51 |
Quote:
Code:
include $(OBJECTS_DIR)/../mybison include $(OBJECTS_DIR)/../myflex ifdef FOAM_DEV FOAM_DEV_OPTION = -DFOAM_DEV endif EXE_INC = -I$(OBJECTS_DIR) \ $(FOAM_DEV_OPTION) \ -I$(LIB_SRC)/finiteVolume/lnInclude LIB_LIBS = -lfiniteVolume \ -lOpenFOAM |
||
June 15, 2011, 11:06 |
|
#8 |
New Member
Ulisses
Join Date: Mar 2009
Location: Brazil
Posts: 24
Rep Power: 17 |
Thanks Bernhard!!! You solved my problem!!!
|
|
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Building OpenFOAM1.7.0 from source | ata | OpenFOAM Installation | 46 | March 6, 2022 13:21 |
Pressure outlet boundary condition | rolando | OpenFOAM Running, Solving & CFD | 62 | September 18, 2017 06:45 |
OpenFOAM without MPI | kokizzu | OpenFOAM Installation | 4 | May 26, 2014 09:17 |
Ansys Fluent 13.0 UDF compilation problem in Window XP (32 bit) | Yogini | Fluent UDF and Scheme Programming | 7 | October 3, 2012 07:24 |
DecomposePar links against liblamso0 with OpenMPI | jens_klostermann | OpenFOAM Bugs | 11 | June 28, 2007 17:51 |