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

[foam-extend.org] undefined reference to `yyFlexLexer::yywrap()'

Register Blogs Community New Posts Updated Threads Search

Like Tree4Likes
  • 4 Post By wyldckat

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   July 16, 2018, 07:35
Default undefined reference to `yyFlexLexer::yywrap()'
  #1
New Member
 
U.S
Join Date: Jan 2016
Posts: 16
Rep Power: 10
sariug is on a distinguished road
Hello I am receiving the error below, while installing new solver. I have already search everywhere and updated flex++. The reason I opened a new topic is that there is no problem with respect to a .so file. so really confused.



n/foam/foam-extend-3.1/lib/linux64GccDPOpt/libtriSurface.so: undefined reference to `yyFlexLexer::yywrap()'
sariug is offline   Reply With Quote

Old   July 21, 2018, 12:19
Default
  #2
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 128
wyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to all
Quick answer: Quoting from here: https://openfoamwiki.net/index.php/I...end-3.1/Ubuntu

Quote:
Note: Before running Allwmake.firstInstall, you will need to run the following command to fix an issue with the Flex version:
Code:
find src applications -name "*.L" -type f | xargs sed -i -e 's=\(YY\_FLEX\_SUBMINOR\_VERSION\)=YY_FLEX_MINOR_VERSION < 6 \&\& \1='
__________________
wyldckat is offline   Reply With Quote

Old   July 23, 2018, 16:50
Default
  #3
Member
 
cyss38's Avatar
 
Cyrille Bonamy
Join Date: Mar 2015
Location: Grenoble, France
Posts: 86
Rep Power: 11
cyss38 is on a distinguished road
An other solution is to have a flex version < 2.6
2.5.35 is ok for example
cyss38 is offline   Reply With Quote

Old   July 24, 2018, 01:15
Default
  #4
New Member
 
U.S
Join Date: Jan 2016
Posts: 16
Rep Power: 10
sariug is on a distinguished road
Quote:
Originally Posted by wyldckat View Post
It seems to be worked. Thank you !
sariug is offline   Reply With Quote

Reply

Tags
flex, reference, undefined


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
Second Derivative Zero - Boundary Condition fu-ki-pa OpenFOAM 11 March 27, 2021 05:28
LEMOS InflowGenerator r_gordon OpenFOAM Running, Solving & CFD 103 December 18, 2018 01:58
OpenFOAM 1.6-ext git installation on Ubuntu 11.10 x64 Attesz OpenFOAM Installation 45 January 13, 2012 13:38
OpenFOAM on MinGW crosscompiler hosted on Linux allenzhao OpenFOAM Installation 127 January 30, 2009 20:08
G95 + CGNS Bruno Main CFD Forum 1 January 30, 2007 01:34


All times are GMT -4. The time now is 13:07.