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

Undefined reference to %60yyFlexLexeryywrapb

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   May 26, 2008, 13:38
Default Dear all, When I install icoL
  #1
Senior Member
 
ZHOU Bin
Join Date: Mar 2009
Location: Nanjing/Torino, Nanjing/Piemente, China/Italy
Posts: 164
Rep Power: 17
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, 06:57
Default Dear Bin, Have you already
  #2
Member
 
Elisabet Mas de les Valls
Join Date: Mar 2009
Location: Barcelona, Spain
Posts: 64
Rep Power: 17
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


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 Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
[OpenFOAM.com] Undefined reference to %60yyFlexLexeryywrapb arjaan OpenFOAM Installation 13 June 1, 2016 13:33
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 mateusz_slowikowski OpenFOAM Running, Solving & CFD 3 March 11, 2008 13:19
MPICH : undefined reference to.. Vincent Siemens 3 March 24, 2005 13:30


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