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

problems while invoking flex

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

Reply
 
LinkBack Thread Tools Display Modes
Old   May 18, 2009, 12:26
Default problems while invoking flex
  #1
New Member
 
Jan Oberhagemann
Join Date: May 2009
Posts: 3
Rep Power: 8
JObe is on a distinguished road
Hi there,

i am trying to compile OpenFOAM-1.5-dev on Scientific Linux 5, 64bit. The third party packages have successfully been compiled and linked, but starting "Allwmake" in the OpenFOAM-1.5-dev directory, i almost immediately trap into some error messages:
(...)
+ wmake libso triSurface
flex: unknown flag '-'. For usage, try
flex --help
mv: cannot stat `lex.yy.cc': No such file or directory

Does anyone have a clue?

Best regards,
Jan
JObe is offline   Reply With Quote

Old   May 20, 2009, 05:20
Default ...old flex
  #2
Senior Member
 
dmoroian's Avatar
 
Dragos
Join Date: Mar 2009
Posts: 647
Rep Power: 11
dmoroian is on a distinguished road
Hi Jan,
You probably have an old version of flex.

Dragos
dmoroian is offline   Reply With Quote

Old   May 20, 2009, 11:48
Default
  #3
New Member
 
Jan Oberhagemann
Join Date: May 2009
Posts: 3
Rep Power: 8
JObe is on a distinguished road
using version 2.5.4 seems to work. Thanks a lot!
JObe is offline   Reply With Quote

Old   May 20, 2009, 12:17
Default
  #4
Senior Member
 
dmoroian's Avatar
 
Dragos
Join Date: Mar 2009
Posts: 647
Rep Power: 11
dmoroian is on a distinguished road
2.5.4.... uh, that's old!
According to flex website (http://flex.sourceforge.net/) this version was released in 1997.
The latest version available is 2.5.35, released last year. There are some memory leaks associated with older flex versions, so it would be a good idea to update.

Dragos
dmoroian is offline   Reply With Quote

Old   May 20, 2009, 12:32
Default
  #5
New Member
 
Jan Oberhagemann
Join Date: May 2009
Posts: 3
Rep Power: 8
JObe is on a distinguished road
you`re right. seems like a good idea to switch to something newer...
JObe 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
Needed Benchmark Problems for FSI Mechstud Main CFD Forum 4 July 26, 2011 12:13
Some problems with Star CD Micha CD-adapco 0 August 6, 2003 13:55
Airpak: Problems with heat flow contour conditions Ivan de Miguel Urain FLUENT 1 November 16, 2001 10:36
unstructured grid sreekanth Main CFD Forum 1 August 6, 2001 15:09
Inverse problems Aleksey Alekseev Main CFD Forum 0 May 12, 1999 15:38


All times are GMT -4. The time now is 03:45.