help-flex
[Top][All Lists]
Advanced

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

Re: Troubles with compiling flex-2.5.31


From: Julián Calderón Almendros
Subject: Re: Troubles with compiling flex-2.5.31
Date: Tue, 10 Jun 2003 22:24:54 +0200

The output is:
make  all-recursive
make[1]: Entering directory `/src/flex-2.5.31'
Making all in .
make[2]: Entering directory `/src/flex-2.5.31'
if
cc -DHAVE_CONFIG_H -I. -I. -I.  -DLOCALEDIR=\"/c/gcc/3.2.3/share/locale\" -I
/c/gcc/3.2.3/include -I./intl -I/c/gcc/3.2.3/include  -g -O2 -MT
libmain.o -MD -MP -MF ".deps/libmain.Tpo" \
  -c -o libmain.o `test -f 'libmain.c' || echo './'`libmain.c; \
then mv ".deps/libmain.Tpo" ".deps/libmain.Po"; \
else rm -f ".deps/libmain.Tpo"; exit 1; \
fi
if
cc -DHAVE_CONFIG_H -I. -I. -I.  -DLOCALEDIR=\"/c/gcc/3.2.3/share/locale\" -I
/c/gcc/3.2.3/include -I./intl -I/c/gcc/3.2.3/include  -g -O2 -MT
libyywrap.o -MD -MP -MF ".deps/libyywrap.Tpo" \
  -c -o libyywrap.o `test -f 'libyywrap.c' || echo './'`libyywrap.c; \
then mv ".deps/libyywrap.Tpo" ".deps/libyywrap.Po"; \
else rm -f ".deps/libyywrap.Tpo"; exit 1; \
fi
rm -f libfl.a
ar cru libfl.a libmain.o libyywrap.o
ranlib libfl.a
if
cc -DHAVE_CONFIG_H -I. -I. -I.  -DLOCALEDIR=\"/c/gcc/3.2.3/share/locale\" -I
/c/gcc/3.2.3/include -I./intl -I/c/gcc/3.2.3/include  -g -O2 -MT
ccl.o -MD -MP -MF ".deps/ccl.Tpo" \
  -c -o ccl.o `test -f 'ccl.c' || echo './'`ccl.c; \
then mv ".deps/ccl.Tpo" ".deps/ccl.Po"; \
else rm -f ".deps/ccl.Tpo"; exit 1; \
fi
In file included from ccl.c:34:
flexdef.h:205:1: warning: "INFINITY" redefined
In file included from flexdef.h:49,
                 from ccl.c:34:
c:/gcc/3.2.3/include/math.h:256:1: warning: this is the location of the
previous definition
if
cc -DHAVE_CONFIG_H -I. -I. -I.  -DLOCALEDIR=\"/c/gcc/3.2.3/share/locale\" -I
/c/gcc/3.2.3/include -I./intl -I/c/gcc/3.2.3/include  -g -O2 -MT
dfa.o -MD -MP -MF ".deps/dfa.Tpo" \
  -c -o dfa.o `test -f 'dfa.c' || echo './'`dfa.c; \
then mv ".deps/dfa.Tpo" ".deps/dfa.Po"; \
else rm -f ".deps/dfa.Tpo"; exit 1; \
fi
In file included from dfa.c:32:
flexdef.h:205:1: warning: "INFINITY" redefined
In file included from flexdef.h:49,
                 from dfa.c:32:
c:/gcc/3.2.3/include/math.h:256:1: warning: this is the location of the
previous definition
if
cc -DHAVE_CONFIG_H -I. -I. -I.  -DLOCALEDIR=\"/c/gcc/3.2.3/share/locale\" -I
/c/gcc/3.2.3/include -I./intl -I/c/gcc/3.2.3/include  -g -O2 -MT
ecs.o -MD -MP -MF ".deps/ecs.Tpo" \
  -c -o ecs.o `test -f 'ecs.c' || echo './'`ecs.c; \
then mv ".deps/ecs.Tpo" ".deps/ecs.Po"; \
else rm -f ".deps/ecs.Tpo"; exit 1; \
fi
In file included from ecs.c:35:
flexdef.h:205:1: warning: "INFINITY" redefined
In file included from flexdef.h:49,
                 from ecs.c:35:
c:/gcc/3.2.3/include/math.h:256:1: warning: this is the location of the
previous definition
if
cc -DHAVE_CONFIG_H -I. -I. -I.  -DLOCALEDIR=\"/c/gcc/3.2.3/share/locale\" -I
/c/gcc/3.2.3/include -I./intl -I/c/gcc/3.2.3/include  -g -O2 -MT
gen.o -MD -MP -MF ".deps/gen.Tpo" \
  -c -o gen.o `test -f 'gen.c' || echo './'`gen.c; \
then mv ".deps/gen.Tpo" ".deps/gen.Po"; \
else rm -f ".deps/gen.Tpo"; exit 1; \
fi
In file included from gen.c:34:
flexdef.h:205:1: warning: "INFINITY" redefined
In file included from flexdef.h:49,
                 from gen.c:34:
c:/gcc/3.2.3/include/math.h:256:1: warning: this is the location of the
previous definition
if
cc -DHAVE_CONFIG_H -I. -I. -I.  -DLOCALEDIR=\"/c/gcc/3.2.3/share/locale\" -I
/c/gcc/3.2.3/include -I./intl -I/c/gcc/3.2.3/include  -g -O2 -MT
main.o -MD -MP -MF ".deps/main.Tpo" \
  -c -o main.o `test -f 'main.c' || echo './'`main.c; \
then mv ".deps/main.Tpo" ".deps/main.Po"; \
else rm -f ".deps/main.Tpo"; exit 1; \
fi
In file included from main.c:35:
flexdef.h:205:1: warning: "INFINITY" redefined
In file included from flexdef.h:49,
                 from main.c:35:
c:/gcc/3.2.3/include/math.h:256:1: warning: this is the location of the
previous definition
if
cc -DHAVE_CONFIG_H -I. -I. -I.  -DLOCALEDIR=\"/c/gcc/3.2.3/share/locale\" -I
/c/gcc/3.2.3/include -I./intl -I/c/gcc/3.2.3/include  -g -O2 -MT
misc.o -MD -MP -MF ".deps/misc.Tpo" \
  -c -o misc.o `test -f 'misc.c' || echo './'`misc.c; \
then mv ".deps/misc.Tpo" ".deps/misc.Po"; \
else rm -f ".deps/misc.Tpo"; exit 1; \
fi
In file included from misc.c:34:
flexdef.h:205:1: warning: "INFINITY" redefined
In file included from flexdef.h:49,
                 from misc.c:34:
c:/gcc/3.2.3/include/math.h:256:1: warning: this is the location of the
previous definition
if
cc -DHAVE_CONFIG_H -I. -I. -I.  -DLOCALEDIR=\"/c/gcc/3.2.3/share/locale\" -I
/c/gcc/3.2.3/include -I./intl -I/c/gcc/3.2.3/include  -g -O2 -MT
nfa.o -MD -MP -MF ".deps/nfa.Tpo" \
  -c -o nfa.o `test -f 'nfa.c' || echo './'`nfa.c; \
then mv ".deps/nfa.Tpo" ".deps/nfa.Po"; \
else rm -f ".deps/nfa.Tpo"; exit 1; \
fi
In file included from nfa.c:34:
flexdef.h:205:1: warning: "INFINITY" redefined
In file included from flexdef.h:49,
                 from nfa.c:34:
c:/gcc/3.2.3/include/math.h:256:1: warning: this is the location of the
previous definition
if
cc -DHAVE_CONFIG_H -I. -I. -I.  -DLOCALEDIR=\"/c/gcc/3.2.3/share/locale\" -I
/c/gcc/3.2.3/include -I./intl -I/c/gcc/3.2.3/include  -g -O2 -MT
parse.o -MD -MP -MF ".deps/parse.Tpo" \
  -c -o parse.o `test -f 'parse.c' || echo './'`parse.c; \
then mv ".deps/parse.Tpo" ".deps/parse.Po"; \
else rm -f ".deps/parse.Tpo"; exit 1; \
fi
In file included from parse.y:72:
flexdef.h:205:1: warning: "INFINITY" redefined
In file included from flexdef.h:49,
                 from parse.y:72:
c:/gcc/3.2.3/include/math.h:256:1: warning: this is the location of the
previous definition
if
cc -DHAVE_CONFIG_H -I. -I. -I.  -DLOCALEDIR=\"/c/gcc/3.2.3/share/locale\" -I
/c/gcc/3.2.3/include -I./intl -I/c/gcc/3.2.3/include  -g -O2 -MT
scan.o -MD -MP -MF ".deps/scan.Tpo" \
  -c -o scan.o `test -f 'scan.c' || echo './'`scan.c; \
then mv ".deps/scan.Tpo" ".deps/scan.Po"; \
else rm -f ".deps/scan.Tpo"; exit 1; \
fi
In file included from scan.l:35:
flexdef.h:205:1: warning: "INFINITY" redefined
In file included from flexdef.h:49,
                 from scan.l:35:
c:/gcc/3.2.3/include/math.h:256:1: warning: this is the location of the
previous definition
if
cc -DHAVE_CONFIG_H -I. -I. -I.  -DLOCALEDIR=\"/c/gcc/3.2.3/share/locale\" -I
/c/gcc/3.2.3/include -I./intl -I/c/gcc/3.2.3/include  -g -O2 -MT
skel.o -MD -MP -MF ".deps/skel.Tpo" \
  -c -o skel.o `test -f 'skel.c' || echo './'`skel.c; \
then mv ".deps/skel.Tpo" ".deps/skel.Po"; \
else rm -f ".deps/skel.Tpo"; exit 1; \
fi
In file included from skel.c:3:
flexdef.h:205:1: warning: "INFINITY" redefined
In file included from flexdef.h:49,
                 from skel.c:3:
c:/gcc/3.2.3/include/math.h:256:1: warning: this is the location of the
previous definition
if
cc -DHAVE_CONFIG_H -I. -I. -I.  -DLOCALEDIR=\"/c/gcc/3.2.3/share/locale\" -I
/c/gcc/3.2.3/include -I./intl -I/c/gcc/3.2.3/include  -g -O2 -MT
sym.o -MD -MP -MF ".deps/sym.Tpo" \
  -c -o sym.o `test -f 'sym.c' || echo './'`sym.c; \
then mv ".deps/sym.Tpo" ".deps/sym.Po"; \
else rm -f ".deps/sym.Tpo"; exit 1; \
fi
In file included from sym.c:34:
flexdef.h:205:1: warning: "INFINITY" redefined
In file included from flexdef.h:49,
                 from sym.c:34:
c:/gcc/3.2.3/include/math.h:256:1: warning: this is the location of the
previous definition
if
cc -DHAVE_CONFIG_H -I. -I. -I.  -DLOCALEDIR=\"/c/gcc/3.2.3/share/locale\" -I
/c/gcc/3.2.3/include -I./intl -I/c/gcc/3.2.3/include  -g -O2 -MT
tblcmp.o -MD -MP -MF ".deps/tblcmp.Tpo" \
  -c -o tblcmp.o `test -f 'tblcmp.c' || echo './'`tblcmp.c; \
then mv ".deps/tblcmp.Tpo" ".deps/tblcmp.Po"; \
else rm -f ".deps/tblcmp.Tpo"; exit 1; \
fi
In file included from tblcmp.c:34:
flexdef.h:205:1: warning: "INFINITY" redefined
In file included from flexdef.h:49,
                 from tblcmp.c:34:
c:/gcc/3.2.3/include/math.h:256:1: warning: this is the location of the
previous definition
if
cc -DHAVE_CONFIG_H -I. -I. -I.  -DLOCALEDIR=\"/c/gcc/3.2.3/share/locale\" -I
/c/gcc/3.2.3/include -I./intl -I/c/gcc/3.2.3/include  -g -O2 -MT
yylex.o -MD -MP -MF ".deps/yylex.Tpo" \
  -c -o yylex.o `test -f 'yylex.c' || echo './'`yylex.c; \
then mv ".deps/yylex.Tpo" ".deps/yylex.Po"; \
else rm -f ".deps/yylex.Tpo"; exit 1; \
fi
In file included from yylex.c:35:
flexdef.h:205:1: warning: "INFINITY" redefined
In file included from flexdef.h:49,
                 from yylex.c:35:
c:/gcc/3.2.3/include/math.h:256:1: warning: this is the location of the
previous definition
if
cc -DHAVE_CONFIG_H -I. -I. -I.  -DLOCALEDIR=\"/c/gcc/3.2.3/share/locale\" -I
/c/gcc/3.2.3/include -I./intl -I/c/gcc/3.2.3/include  -g -O2 -MT
options.o -MD -MP -MF ".deps/options.Tpo" \
  -c -o options.o `test -f 'options.c' || echo './'`options.c; \
then mv ".deps/options.Tpo" ".deps/options.Po"; \
else rm -f ".deps/options.Tpo"; exit 1; \
fi
In file included from scanopt.h:37,
                 from options.h:36,
                 from options.c:34:
flexdef.h:205:1: warning: "INFINITY" redefined
In file included from flexdef.h:49,
                 from scanopt.h:37,
                 from options.h:36,
                 from options.c:34:
c:/gcc/3.2.3/include/math.h:256:1: warning: this is the location of the
previous definition
if
cc -DHAVE_CONFIG_H -I. -I. -I.  -DLOCALEDIR=\"/c/gcc/3.2.3/share/locale\" -I
/c/gcc/3.2.3/include -I./intl -I/c/gcc/3.2.3/include  -g -O2 -MT
scanopt.o -MD -MP -MF ".deps/scanopt.Tpo" \
  -c -o scanopt.o `test -f 'scanopt.c' || echo './'`scanopt.c; \
then mv ".deps/scanopt.Tpo" ".deps/scanopt.Po"; \
else rm -f ".deps/scanopt.Tpo"; exit 1; \
fi
In file included from scanopt.c:34:
flexdef.h:205:1: warning: "INFINITY" redefined
In file included from flexdef.h:49,
                 from scanopt.c:34:
c:/gcc/3.2.3/include/math.h:256:1: warning: this is the location of the
previous definition
if
cc -DHAVE_CONFIG_H -I. -I. -I.  -DLOCALEDIR=\"/c/gcc/3.2.3/share/locale\" -I
/c/gcc/3.2.3/include -I./intl -I/c/gcc/3.2.3/include  -g -O2 -MT
buf.o -MD -MP -MF ".deps/buf.Tpo" \
  -c -o buf.o `test -f 'buf.c' || echo './'`buf.c; \
then mv ".deps/buf.Tpo" ".deps/buf.Po"; \
else rm -f ".deps/buf.Tpo"; exit 1; \
fi
In file included from buf.c:34:
flexdef.h:205:1: warning: "INFINITY" redefined
In file included from flexdef.h:49,
                 from buf.c:34:
c:/gcc/3.2.3/include/math.h:256:1: warning: this is the location of the
previous definition
if
cc -DHAVE_CONFIG_H -I. -I. -I.  -DLOCALEDIR=\"/c/gcc/3.2.3/share/locale\" -I
/c/gcc/3.2.3/include -I./intl -I/c/gcc/3.2.3/include  -g -O2 -MT
tables.o -MD -MP -MF ".deps/tables.Tpo" \
  -c -o tables.o `test -f 'tables.c' || echo './'`tables.c; \
then mv ".deps/tables.Tpo" ".deps/tables.Po"; \
else rm -f ".deps/tables.Tpo"; exit 1; \
fi
In file included from tables.c:36:
flexdef.h:205:1: warning: "INFINITY" redefined
In file included from flexdef.h:49,
                 from tables.c:36:
c:/gcc/3.2.3/include/math.h:256:1: warning: this is the location of the
previous definition
if
cc -DHAVE_CONFIG_H -I. -I. -I.  -DLOCALEDIR=\"/c/gcc/3.2.3/share/locale\" -I
/c/gcc/3.2.3/include -I./intl -I/c/gcc/3.2.3/include  -g -O2 -MT
tables_shared.o -MD -MP -MF ".deps/tables_shared.Tpo" \
  -c -o tables_shared.o `test -f 'tables_shared.c' || echo
'./'`tables_shared.c; \
then mv ".deps/tables_shared.Tpo" ".deps/tables_shared.Po"; \
else rm -f ".deps/tables_shared.Tpo"; exit 1; \
fi
In file included from tables_shared.c:45:
flexdef.h:205:1: warning: "INFINITY" redefined
In file included from flexdef.h:49,
                 from tables_shared.c:45:
c:/gcc/3.2.3/include/math.h:256:1: warning: this is the location of the
previous definition
if
cc -DHAVE_CONFIG_H -I. -I. -I.  -DLOCALEDIR=\"/c/gcc/3.2.3/share/locale\" -I
/c/gcc/3.2.3/include -I./intl -I/c/gcc/3.2.3/include  -g -O2 -MT
filter.o -MD -MP -MF ".deps/filter.Tpo" \
  -c -o filter.o `test -f 'filter.c' || echo './'`filter.c; \
then mv ".deps/filter.Tpo" ".deps/filter.Po"; \
else rm -f ".deps/filter.Tpo"; exit 1; \
fi
In file included from filter.c:24:
flexdef.h:205:1: warning: "INFINITY" redefined
In file included from flexdef.h:49,
                 from filter.c:24:
c:/gcc/3.2.3/include/math.h:256:1: warning: this is the location of the
previous definition
if
cc -DHAVE_CONFIG_H -I. -I. -I.  -DLOCALEDIR=\"/c/gcc/3.2.3/share/locale\" -I
/c/gcc/3.2.3/include -I./intl -I/c/gcc/3.2.3/include  -g -O2 -MT
regex.o -MD -MP -MF ".deps/regex.Tpo" \
  -c -o regex.o `test -f 'regex.c' || echo './'`regex.c; \
then mv ".deps/regex.Tpo" ".deps/regex.Po"; \
else rm -f ".deps/regex.Tpo"; exit 1; \
fi
In file included from regex.c:24:
flexdef.h:205:1: warning: "INFINITY" redefined
In file included from flexdef.h:49,
                 from regex.c:24:
c:/gcc/3.2.3/include/math.h:256:1: warning: this is the location of the
previous definition
gcc  -g -O2   -o flex.exe  ccl.o dfa.o ecs.o gen.o main.o misc.o nfa.o
parse.o scan.o skel.o sym.o tblcmp.o yylex.o options.o scanopt.o buf.o
tables.o tables_shared.o filter.o regex.o
 /c/gcc/3.2.3/lib/libintl.a -L/mingw/lib -liconv -lm
main.o(.text+0xb6): In function `flex_main':
C:/msys/1.0/src/flex-2.5.31/main.c:163: undefined reference to `wait'
filter.o(.text+0x216): In function `filter_apply_chain':
C:/msys/1.0/src/flex-2.5.31/filter.c:143: undefined reference to `pipe'
filter.o(.text+0x225):C:/msys/1.0/src/flex-2.5.31/filter.c:146: undefined
reference to `fork'
filter.o(.text+0x8b6): In function `filter_tee_header':
C:/msys/1.0/src/flex-2.5.31/filter.c:296: undefined reference to `wait'
filter.o(.text+0x96c): In function `filter_fix_linedirs':
C:/msys/1.0/src/flex-2.5.31/filter.c:358: undefined reference to `regexec'
filter.o(.text+0x9b2):C:/msys/1.0/src/flex-2.5.31/filter.c:369: undefined
reference to `regexec'
regex.o(.text+0xb1): In function `flex_regcomp':
C:/msys/1.0/src/flex-2.5.31/regex.c:56: undefined reference to `regcomp'
regex.o(.text+0xde):C:/msys/1.0/src/flex-2.5.31/regex.c:61: undefined
reference to `regerror'
make[2]: *** [flex.exe] Error 1
make[2]: Leaving directory `/src/flex-2.5.31'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/src/flex-2.5.31'
make: *** [all] Error 2


Thanks.

-- 
Hans-Bernhard Broeker (address@hidden)
Even if all the snow were burnt, ashes would remain.








reply via email to

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