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

Compilation on Debian testing readSTLASCIIC error in lexyycc

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

Reply
 
LinkBack Thread Tools Display Modes
Old   September 28, 2005, 08:52
Default Hello, I'm trying to compil
  #1
jkr
Guest
 
Posts: n/a
Hello,

I'm trying to compile openfoam on Debian Etch (testing) and I'm now stuck with that error:

<<<<<
SOURCE=triSurface/interfaces/STL/readSTLASCII.L ; foamFlex++ -f $SOURCE ; mv lex.yy.cc Make/linuxOpt/readSTLASCII.C ; g++-4.0 -m32 -Dlinux -Wall -W -Wno-unused-parameter -Wold-style-cast -O3 -ffast-math -DNoRepository -ftemplate-depth-30 -I/home/jkr/OpenFOAM/OpenFOAM-1.2/src/meshTools/lnInclude -I/home/jkr/OpenFOAM/OpenFOAM-1.2/src/OpenFOAM/lnInclude -IlnInclude -I. -fPIC -pthread -c Make/linuxOpt/readSTLASCII.C -o Make/linuxOpt/readSTLASCII.o
lex.yy.cc: In member function 'virtual int yyFlexLexer::yylex()':
lex.yy.cc:5774: error: 'yy_current_buffer' was not declared in this scope
lex.yy.cc:5795: warning: use of old-style cast
lex.yy.cc:5795: warning: use of old-style cast
[... several lines of the same kind ]
make: *** [Make/linuxOpt/readSTLASCII.o] Erreur 1
>>>>>

It seems to be a compiler error but I'm not litterate in C/C++ programming.

Is there any special/system requirements for compiling on Debian (libs...)?

Thanks for your help.

\bye

JKr
  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
OpenDx and Debian testing ie lenny AMD64 msrinath80 OpenFOAM Post-Processing 0 July 27, 2008 17:27
Compilation whith a debian pifou74 OpenFOAM Installation 3 April 10, 2008 08:31
Compilation error skabilan OpenFOAM Installation 1 September 17, 2007 13:33
udf compilation error !!!! Sagnik Mazumdar FLUENT 2 November 3, 2005 11:10
need help on testing scheme and error Tingguang Main CFD Forum 13 November 5, 2001 05:03


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