CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Installation (https://www.cfd-online.com/Forums/openfoam-installation/)
-   -   [OpenFOAM.org] Flex problem when building OpenFOam 3.0.x (https://www.cfd-online.com/Forums/openfoam-installation/164392-flex-problem-when-building-openfoam-3-0-x.html)

bastil December 20, 2015 08:18

Flex problem when building OpenFOam 3.0.x
 
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.

wyldckat December 20, 2015 17:20

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

bastil December 23, 2015 04:39

Thanks. Downgrading flex followed by a complete rebuild solved the issue.


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