octave-maintainers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

problem of flex? lex.octave_.c lex.cc (MinGW build)


From: Tatsuro MATSUOKA
Subject: problem of flex? lex.octave_.c lex.cc (MinGW build)
Date: Fri, 8 Jan 2010 16:57:49 +0900 (JST)

Hello

With temporal treatment 'getlogin' and multiple definition error (I add manually
-Wl,--allow-multiple-definition flag in libtool command in linking liboctave ), 
I can get
liboctave-3-3-50+.dll.

http://old.nabble.com/Re:-link-error-of-liboctave-(MinGW-build)-p27070255.html

Of course, the temporal treatment should be corrected in the future, I have 
done it to search problem
forgoing stages.

In compiling src/lex.cc, I have encounter the error below,

make[2]: Entering directory `/home/octaves/OctBuild/hg-devel/src'
/bin/sh ../../../hg/octave-work/build-aux/ylwrap 
../../../hg/octave-work/src/lex.ll lex.octave_.c
lex.cc -- flex -I -I
"d:/usr/Tatsu/mingwhome/octaves/OctBuild/hg-devel/src/../../../hg/octave-work/src/lex.ll",
 line 27:
unrecognized '%' directive
"d:/usr/Tatsu/mingwhome/octaves/OctBuild/hg-devel/src/../../../hg/octave-work/src/lex.ll",
 line 28:
bad character: #
"d:/usr/Tatsu/mingwhome/octaves/OctBuild/hg-devel/src/../../../hg/octave-work/src/lex.ll",
 line 28:
unknown error processing section 1
"d:/usr/Tatsu/mingwhome/octaves/OctBuild/hg-devel/src/../../../hg/octave-work/src/lex.ll",
 line 28:
unknown error processing section 1
"d:/usr/Tatsu/mingwhome/octaves/OctBuild/hg-devel/src/../../../hg/octave-work/src/lex.ll",
 line 28:
unknown error processing section 1
"d:/usr/Tatsu/mingwhome/octaves/OctBuild/hg-devel/src/../../../hg/octave-work/src/lex.ll",
 line 29:
bad character: #
"d:/usr/Tatsu/mingwhome/octaves/OctBuild/hg-devel/src/../../../hg/octave-work/src/lex.ll",
 line 29:
unknown error processing section 1
"d:/usr/Tatsu/mingwhome/octaves/OctBuild/hg-devel/src/../../../hg/octave-work/src/lex.ll",
 line 29:
bad character: <
"d:/usr/Tatsu/mingwhome/octaves/OctBuild/hg-devel/src/../../../hg/octave-work/src/lex.ll",
 line 29:
unknown error processing section 1
"d:/usr/Tatsu/mingwhome/octaves/OctBuild/hg-devel/src/../../../hg/octave-work/src/lex.ll",
 line 29:
bad character: .
"d:/usr/Tatsu/mingwhome/octaves/OctBuild/hg-devel/src/../../../hg/octave-work/src/lex.ll",
 line 29:
unknown error processing section 1
"d:/usr/Tatsu/mingwhome/octaves/OctBuild/hg-devel/src/../../../hg/octave-work/src/lex.ll",
 line 29:
bad character: >
"d:/usr/Tatsu/mingwhome/octaves/OctBuild/hg-devel/src/../../../hg/octave-work/src/lex.ll",
 line 30:
bad character: #
"d:/usr/Tatsu/mingwhome/octaves/OctBuild/hg-devel/src/../../../hg/octave-work/src/lex.ll",
 line 30:
unknown error processing section 1
"d:/usr/Tatsu/mingwhome/octaves/OctBuild/hg-devel/src/../../../hg/octave-work/src/lex.ll",
 line 31:
bad character: }
make[2]: *** [lex.cc] Error 1

***************
in lex.ll

27: %top {
28: #ifdef HAVE_CONFIG_H
29: #include <config.h>
30: #endif
31: }

I have been using flex on gnuwin32
$ flex --version
c:\Programs\GnuWin32\bin\flex.exe version 2.5.4

I will try msus-flex (flex-2.5.35-1).

Are there suggestion for the errors above?

Regards

Tatsuro


 

 

--------------------------------------
Get the new Internet Explorer 8 optimized for Yahoo! JAPAN
http://pr.mail.yahoo.co.jp/ie8/


reply via email to

[Prev in Thread] Current Thread [Next in Thread]