CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > OpenFOAM Bugs

Undefined reference to %60yyFlexLexeryywrapb

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Display Modes
Old   May 26, 2008, 12:38
Default Dear all, When I install icoL
  #1
Senior Member
 
ZHOU Bin
Join Date: Mar 2009
Location: Nanjing/Shanghai/Torino, Nanjing/Shanghai/Piemente, China/Italy
Posts: 164
Rep Power: 8
zhoubinwx is on a distinguished road
Send a message via ICQ to zhoubinwx Send a message via MSN to zhoubinwx Send a message via Skype™ to zhoubinwx
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
zhoubinwx is offline   Reply With Quote

Old   May 28, 2008, 05:57
Default Dear Bin, Have you already
  #2
Member
 
Elisabet Mas de les Valls
Join Date: Mar 2009
Location: Barcelona, Spain
Posts: 61
Rep Power: 8
elisabet is on a distinguished road
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
elisabet is offline   Reply With Quote

Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Undefined reference mateusz_slowikowski OpenFOAM Running, Solving & CFD 7 February 27, 2015 15:35
Undefined reference to %60mainb seang OpenFOAM Installation 8 February 1, 2014 14:48
Undefined reference to %60yyFlexLexeryywrapb arjaan OpenFOAM Installation 12 October 29, 2008 12:25
Undefined reference mateusz_slowikowski OpenFOAM Running, Solving & CFD 3 March 11, 2008 13:19
MPICH : undefined reference to.. Vincent CD-adapco 3 March 24, 2005 13:30


All times are GMT -4. The time now is 02:24.