Gérard Henry wrote:
ok, i'm trying to compile from sources files, but it failed:
make package
...
...
source='fileset.c' object='fileset.o' libtool=no \
depfile='.deps/fileset.Po' tmpdepfile='.deps/fileset.TPo' \
depmode=none /bin/bash ../config/depcomp \
cc -D_REENTRANT -I. -I. -I.. -I../intl -I../solaris/gsl-1.4
-DFILEBENCHDIR=\"/opt/filebench\" -g -xO3 -xarch=v9 -DYYDEBUG=1 -c
`test -f 'fileset.c' || echo './'`fileset.c
bison -y -d parser_gram.y
...
make[1]: *** [parser_gram.c] Broken Pipe
make[1]: Leaving directory `/local/src/filebench-1.64/filebench'
make: *** [package] Error 2
i tried to use lex and yacc instead bison:
source='parser_lex.c' object='parser_lex.o' libtool=no \
DEPDIR=.deps depmode=none /bin/bash ../config/depcomp \
cc -D_REENTRANT -I. -I. -I.. -I../intl -I../solaris/gsl-1.4
-DFILEBENCHDIR=\"/opt/filebench\" -g -xO3 -xarch=v9 -DYYDEBUG=1 -c
parser_lex.c
"parser_lex.l", line 31: warning: old-style declaration or incorrect
type for: yylex
"parser_lex.l", line 269: undefined symbol: YY_CURRENT_BUFFER
"parser_lex.l", line 269: warning: improper pointer/integer combination:
op "="
"parser_lex.l", line 270: warning: implicit function declaration:
yy_create_buffer
"parser_lex.l", line 270: warning: improper pointer/integer combination:
op "="
"parser_lex.l", line 271: warning: implicit function declaration:
yy_switch_to_buffer
cc: acomp failed for parser_lex.c
make[1]: *** [parser_lex.o] Error 2
make[1]: Leaving directory `/local/src/filebench-1.64/filebench'
make: *** [package] Error 2
any chance to have it compiled on solaris 9 or 8?
--
Gerard HENRY
Éguilles, 43.5670N, 5.3670E
_______________________________________________
perf-discuss mailing list
perf-discuss@opensolaris.org