octave-maintainers
[Top][All Lists]
Advanced

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

RE: Building on MinGW


From: John D
Subject: RE: Building on MinGW
Date: Mon, 17 Jun 2013 08:06:25 -0400


-----Original Message-----
From: John W. Eaton [mailto:address@hidden 
Sent: Monday, June 17, 2013 12:14 AM
To: John D
Cc: 'Clemens Buchacher'; 'Philip Nienhuis'; address@hidden
Subject: Re: Building on MinGW

On 06/16/2013 06:17 PM, John D wrote:
>
> I had been half hoping that with a successful build with mingw, I 
> could just pull the latest hg of octave and compile it without issues.
> Unfortunately it didn't work so easily  :(
>
> libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I.. 
> -I../liboctave/cruft/misc -I../l iboctave/array -I../liboctave/numeric 
> -I../liboctave/numeric -I../liboctave/oper ators 
> -I../liboctave/operators -I../liboctave/system -I../liboctave/util 
> -I./oct ave-value -I./operators -Iparse-tree -I./parse-tree 
> -Iinterp-core -I./interp-cor e -Iinterpfcn -I./interpfcn -Icorefcn 
> -I../libgnu -I../libgnu -I/home/jdonoghue/ 
> mxe-octave/usr/i686-pc-mingw32/include -mieee-fp 
> -I/home/jdonoghue/mxe-octave/us r/i686-pc-mingw32/include
> -IC:/MinGW/msys/1.0/home/jdonoghue/mxe-octave/usr/i686
> -pc-mingw32/include/freetype2
> -IC:/MinGW/msys/1.0/home/jdonoghue/mxe-octave/usr/
> i686-pc-mingw32/include
> -IC:/MinGW/msys/1.0/home/jdonoghue/mxe-octave/usr/i686-p
> c-mingw32/include -Wall -W -Wshadow -Wformat -Wpointer-arith 
> -Wwrite-strings -Wc ast-align -Wcast-qual -g -O2 -pthread -MT 
> parse-tree/parse_tree_libparser_la-lex
> .lo -MD -MP -MF parse-tree/.deps/parse_tree_libparser_la-lex.Tpo -c 
> parse-tree/l ex.cc  -DDLL_EXPORT -DPIC -o 
> parse-tree/.libs/parse_tree_libparser_la-lex.o
> In file included from lex.ll:94:0:
> parse-tree/octave.gperf:83:12: error: 'DO' was not declared in this 
> scope In file included from lex.ll:94:0:
> parse-tree/octave.gperf:86:13: error: 'END' was not declared in this 
> scope In file included from lex.ll:94:0:
> parse-tree/octave.gperf:84:14: error: 'ELSE' was not declared in this 
> scope In file included from lex.ll:94:0:
> parse-tree/octave.gperf:78:15: error: 'BREAK' was not declared in this 
> scope In file included from lex.ll:94:0:
> parse-tree/octave.gperf:112:16: error: 'FUNC_RET' was not declared in 
> this scope
>
> In file included from lex.ll:94:0:
> parse-tree/octave.gperf:104:13: error: 'GET' was not declared in this 
> scope In file included from lex.ll:94:0:
> parse-tree/octave.gperf:79:14: error: 'CASE' was not declared in this 
> scope In file included from lex.ll:94:0:
> parse-tree/octave.gperf:95:20: error: 'END' was not declared in this 
> scope In file included from lex.ll:94:0:

That looks like gperf did not correctly generate the parse-tree/oct-gperf.h
file.

jwe
------------------------------

I diffed the oct-gperf.h from the mxe-build to the one generated from trying
to compile the hg sources and they look the same with the exception of some
#line filename lines, which hve a different path for the file name from your
machine vs mine.

One thing I saw in configure, which I also saw in the mxe-build was a
warning about bison:

configure:7886: checking for bison
configure:7902: found /home/jdonoghue/mxe-octave/usr/bin/bison
configure:7913: result: bison -y
configure:7927: checking syntax of bison push/pull declaration
configure:7971: result:
configure:7987: WARNING:

I wasn't able to find a suitable style for declaring a push-pull
parser in a bison input file so I'm disabling bison.

configure:8005: WARNING:

I didn't find bison, but it's only a problem if you need to
reconstruct parse.cc, which is the case if you're building from VCS
sources.




reply via email to

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