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

[OpenFOAM.org] Flex problem when building OpenFOam 3.0.x

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   December 20, 2015, 09:18
Default Flex problem when building OpenFOam 3.0.x
  #1
Senior Member
 
BastiL
Join Date: Mar 2009
Posts: 530
Rep Power: 20
bastil is on a distinguished road
Hello,

I have loaded the latest OpenFOAM 3.0.x and I try to install it using system openmpi (1.10), system gcc (4.9.3) and system flex (2.6.0) on Gentoo x86_64.

When building the applications I ran in flex issues which I thought where resolved years ago:

Code:
undefined reference to `yyFlexLexer::yywrap()
This happens for many apps like ansysToFoam and prevents lots of applications to be build afterwards. I tried an older flex out of the 2.5.x-series as well but I get the same issue. I don't know how to fix this issue.
bastil is offline   Reply With Quote

Old   December 20, 2015, 18:20
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: See the posts from this thread, as the same issue occurs on ArchLinux and the 2 part solution is given there in 2 posts of mine: http://www.cfd-online.com/Forums/ope...archlinux.html
wyldckat is offline   Reply With Quote

Old   December 23, 2015, 05:39
Default
  #3
Senior Member
 
BastiL
Join Date: Mar 2009
Posts: 530
Rep Power: 20
bastil is on a distinguished road
Thanks. Downgrading flex followed by a complete rebuild solved the issue.
bastil 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
How to contribute to the community of OpenFOAM users and to the OpenFOAM technology wyldckat OpenFOAM 17 November 10, 2017 16:54
OpenFOAM v3.0+ ?? SBusch OpenFOAM 22 December 26, 2016 15:24
Can OpenFoam solve this problem? salazardetroya OpenFOAM Running, Solving & CFD 1 July 29, 2015 23:34
OpenFOAM 1.7.1 installation problem on Fedora 14 armonica OpenFOAM Installation 16 March 31, 2011 14:16
OpenFOAM Install problem masb OpenFOAM 3 May 25, 2009 12:32


All times are GMT -4. The time now is 01:16.