Gang, After Drew's 1.4.4 release, I saw that some people were working on patches to get it compiled on Linux. Has anyone gotten 1.4.7 working?
Right now, it looks like it's missing typedefs for boolean_t, and other problems (see below). I'm trying on Red Hat Enterprise Linux 5.2, but I could go to an older release if needed. Thanks, ...Demetri if cc -D_REENTRANT -DLINUX_PORT -D_GNU_SOURCE -D__USE_LARGEFILE64 -I. -I. -I.. -I../intl -DFILEBENCHDIR=\"/usr/local/share/filebench\" -g -O2 -O -I/usr/include/nptl -DYYDEBUG=1 -MT auto_comp.o -MD -MP -MF ".deps/auto_comp.Tpo" -c -o auto_comp.o auto_comp.c; \ then mv -f ".deps/auto_comp.Tpo" ".deps/auto_comp.Po"; else rm -f ".deps/auto_comp.Tpo"; exit 1; fi In file included from procflow.h:33, from filebench.h:57, from auto_comp.c:32: vars.h:63: error: expected specifier-qualifier-list before 'boolean_t' vars.h:88: error: expected specifier-qualifier-list before 'boolean_t' vars.h:174: error: expected ')' before 'bool' vars.h:177: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'avd_get_bool' vars.h:183: error: expected declaration specifiers or '...' before 'boolean_t' vars.h:192: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'var_to_boolean' vars.h:195: error: expected declaration specifiers or '...' before 'boolean_t' In file included from procflow.h:34, from filebench.h:57, from auto_comp.c:32: stats.h:68: error: expected specifier-qualifier-list before 'hrtime_t' In file included from ipc.h:33, from filebench.h:59, from auto_comp.c:32: threadflow.h:46:20: error: procfs.h: No such file or directory In file included from fileset.h:52, from threadflow.h:50, from ipc.h:33, from filebench.h:59, from auto_comp.c:32: fb_avl.h:372: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'avl_update' fb_avl.h:373: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'avl_update_lt' fb_avl.h:374: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'avl_update_gt' fb_avl.h:384: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'avl_is_empty' In file included from threadflow.h:50, from ipc.h:33, from filebench.h:59, from auto_comp.c:32: fileset.h:78: error: expected specifier-qualifier-list before 'uint_t' fileset.h:163: error: expected specifier-qualifier-list before 'uint_t' In file included from ipc.h:33, from filebench.h:59, from auto_comp.c:32: threadflow.h:92: error: expected specifier-qualifier-list before 'hrtime_t' In file included from ipc.h:35, from filebench.h:59, from auto_comp.c:32: flowop.h:104: error: expected specifier-qualifier-list before 'hrtime_t' In file included from filebench.h:59, from auto_comp.c:32: ipc.h:180: error: expected specifier-qualifier-list before 'hrtime_t' In file included from auto_comp.c:32: filebench.h:82:28: error: sys/int_limits.h: No such file or directory In file included from auto_comp.c:33: auto_comp.h:31:22: error: libtecla.h: No such file or directory In file included from auto_comp.c:33: auto_comp.h:37: warning: parameter names (without types) in function declaration auto_comp.c:470: error: expected declaration specifiers or '...' before 'boolean_t' auto_comp.c:471: error: expected ')' before '*' token auto_comp.c: In function 'get_next_loadfile': auto_comp.c:634: warning: comparison between pointer and integer auto_comp.c: In function 'search_loadfiles': auto_comp.c:692: warning: assignment makes integer from pointer without a cast auto_comp.c:697: warning: assignment makes integer from pointer without a cast auto_comp.c: In function 'parse_user_input': auto_comp.c:738: warning: comparison between pointer and integer auto_comp.c:752: warning: comparison between pointer and integer auto_comp.c:756: warning: comparison between pointer and integer auto_comp.c: In function 'parse_attr_list': auto_comp.c:833: warning: comparison between pointer and integer auto_comp.c: At top level: auto_comp.c:903: error: expected declaration specifiers or '...' before 'boolean_t' auto_comp.c: In function 'compare_string': auto_comp.c:915: error: 'issub' undeclared (first use in this function) auto_comp.c:915: error: (Each undeclared identifier is reported only once auto_comp.c:915: error: for each function it appears in.) auto_comp.c:915: error: 'B_TRUE' undeclared (first use in this function) auto_comp.c: At top level: auto_comp.c:952: error: expected ')' before '*' token auto_comp.c: In function 'CPL_MATCH_FN': auto_comp.c:1009: error: 'line' undeclared (first use in this function) auto_comp.c:1009: error: 'word_end' undeclared (first use in this function) auto_comp.c:1038: error: 'cpl' undeclared (first use in this function) -- This message posted from opensolaris.org _______________________________________________ perf-discuss mailing list perf-discuss@opensolaris.org