Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

FileBench compilation error on Fedora Core 6

Status
Not open for further replies.

sasj0e

IS-IT--Management
Nov 6, 2002
82
Hi,

I am trying to compile Filebench tool on Fedora Core 6. Getting following error messages.
Please let me know, incase you have a solution to this problem.

[root@localhost filebench-1.64]# make
make all-recursive
make[1]: Entering directory `/root/Desktop/filebench-1.64'
Making all in filebench
make[2]: Entering directory `/root/Desktop/filebench-1.64/filebench'
source='flowop.c' object='flowop.o' libtool=no \
depfile='.deps/flowop.Po' tmpdepfile='.deps/flowop.TPo' \
depmode=gcc3 /bin/sh ../config/depcomp \
cc -D_REENTRANT -DLINUX_PORT -D_GNU_SOURCE -D__USE_LARGEFILE64 -I. -I. -I.. -I../intl -I -DFILEBENCHDIR=\"/usr/local/filebench\" -g -O2 -O -I/usr/include/nptl -DYYDEBUG=1 -c `test -f 'flowop.c' || echo './'`flowop.c
flowop.c:22: error: expected declaration specifiers or ‘...’ before ‘gettid’
flowop.c: In function ‘_syscall0’:
flowop.c:26: error: storage class specified for parameter ‘flowop_define_common’
flowop.c:30: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token
flowop.c:45: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token
flowop.c:75: error: parameter ‘controlstats_zeroed’ is initialized
flowop.c:79: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token
flowop.c:137: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token
flowop.c:311: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token
flowop.c:317: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token
flowop.c:408: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token
flowop.c:439: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token
flowop.c:509: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token
flowop.c:527: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token
flowop.c:539: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token
flowop.c:552: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token
flowop.c:593: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token
flowop.c:613: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token
flowop.c:620: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token
flowop.c:624: error: old-style parameter declarations in prototyped function definition
flowop.c:22: error: parameter name omitted
flowop.c:624: error: expected ‘{’ at end of input
make[2]: *** [flowop.o] Error 1
make[2]: Leaving directory `/root/Desktop/filebench-1.64/filebench'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/root/Desktop/filebench-1.64'
make: *** [all] Error 2
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top