CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   OpenFOAM Bugs (http://www.cfd-online.com/Forums/openfoam-bugs/)
-   -   Undefined reference to %60yyFlexLexeryywrapb (http://www.cfd-online.com/Forums/openfoam-bugs/62470-undefined-reference-60yyflexlexeryywrapb.html)

zhoubinwx May 26, 2008 12:38

Dear all, When I install icoL
 
Dear all,
When I install icoLagrangianFoam to FoamX, and try to compile it, I get this error:

-------------------
zhou@wsfoam:~/OpenFOAM/zhou-1.4.1/applications/solvers/IcoLagrangianFoam$ ./Allwmake
+ wmake icoLagrangianFoam
g++ -m32 -Dlinux -DDP -Wall -Wno-strict-aliasing -Wextra -Wno-unused-parameter -Wold-style-cast -O3 -DNoRepository -ftemplate-depth-40 -I/home/zhou/OpenFOAM/OpenFOAM-1.4.1/src/cfdTools/incompressible -I/home/zhou/OpenFOAM/OpenFOAM-1.4.1/src/OpenFOAM/lnInclude -I/home/zhou/OpenFOAM/OpenFOAM-1.4.1/src/lagrangian/basic/lnInclude -I/home/zhou/OpenFOAM/OpenFOAM-1.4.1/src/cfdTools/general/lnInclude -I/home/zhou/OpenFOAM/OpenFOAM-1.4.1/src/finiteVolume/lnInclude -IlnInclude -I. -I/home/zhou/OpenFOAM/OpenFOAM-1.4.1/src/OpenFOAM/lnInclude -fPIC -pthread Make/linuxGccDPOpt/icoLagrangianFoam.o Make/linuxGccDPOpt/HardBallParticle.o Make/linuxGccDPOpt/IncompressibleCloud.o -L/home/zhou/OpenFOAM/OpenFOAM-1.4.1/lib/linuxGccDPOpt \
-lfiniteVolume -llagrangian -lOpenFOAM -ldl -lm -o /home/zhou/OpenFOAM/zhou-1.4.1/applications/bin/linuxGccDPOpt/icoLagrangianFoam
/home/zhou/OpenFOAM/OpenFOAM-1.4.1/lib/linuxGccDPOpt/libtriSurface.so: undefined reference to `yyFlexLexer::yywrap()'
collect2: ld returned 1 exit status
make: *** [/home/zhou/OpenFOAM/zhou-1.4.1/applications/bin/linuxGccDPOpt/icoLagrangianFoam ] Error 1
-----------------

Do you know how to deal with this problem?
OpenFOAM/OpenFOAM-1.4.1/lib/linuxGccDPOpt/libtriSurface.so: undefined reference to `yyFlexLexer::yywrap()'
collect2: ld returned 1 exit status

Thank you very much.
Bin

elisabet May 28, 2008 05:57

Dear Bin, Have you already
 
Dear Bin,

Have you already had a look at http://www.cfd-online.com/OpenFOAM_D...s/1/7503.html?
That worked for me....

elisabet


All times are GMT -4. The time now is 14:32.