Filebench on AIX 5.3 - Aix

This is a discussion on Filebench on AIX 5.3 - Aix ; Hello all. I am trying to compile filebench, a software of available benchmark for solaris and linux, in aix but I have multiple errors and I don't have a lot of experience in aix .Somebody had proven this software in ...

+ Reply to Thread
Results 1 to 2 of 2

Thread: Filebench on AIX 5.3

  1. Filebench on AIX 5.3

    Hello all.
    I am trying to compile filebench, a software of available benchmark
    for solaris and linux, in aix but I have multiple errors and I don't
    have a lot of experience in aix .Somebody had proven this software in
    AIX, you can help me.


    Thanks.

    These they are the errors:

    root (bogus) /root/filebench-1.64->make
    make all-recursive
    Making all in filebench
    source='fileobj.c' object='fileobj.o' libtool=no
    depfile='.deps/fileobj.Po' tmpdepfile='.deps/
    fileobj.T Po'
    depmode=gcc3 /bin/sh ../config/depcomp gcc -D_REENTRANT -I. -I. -I..
    -I../intl -I -DFILEBENCHDIR=\"/usr/
    l ocal/filebench\" -g
    -O2 -c `test -f 'fileobj.c' || echo './'`fileobj.c
    In file included from fileobj.c:10:
    /usr/include/pthread.h:596: error: parse error before '*' token
    /usr/include/pthread.h:599: error: parse error before '*' token
    /usr/include/pthread.h:603: error: parse error before '*' token
    /usr/include/pthread.h:606: error: parse error before '*' token
    /usr/include/pthread.h:609: error: parse error before '*' token
    /usr/include/pthread.h:612: error: parse error before '*' token
    /usr/include/pthread.h:615: error: parse error before '*' token
    /usr/include/pthread.h:618: error: parse error before '*' token
    /usr/include/pthread.h:621: error: parse error before '*' token
    /usr/include/pthread.h:625: error: parse error before '*' token
    /usr/include/pthread.h:628: error: parse error before '*' token
    /usr/include/pthread.h:639: error: parse error before '*' token
    /usr/include/pthread.h:643: error: parse error before '*' token
    /usr/include/pthread.h:666: error: parse error before '*' token
    /usr/include/pthread.h:669: error: parse error before '*' token
    /usr/include/pthread.h:672: error: parse error before '*' token
    /usr/include/pthread.h:675: error: parse error before '*' token
    /usr/include/pthread.h:678: error: parse error before '*' token
    /usr/include/pthread.h:686: error: parse error before '*' token
    /usr/include/pthread.h:689: error: parse error before '*' token
    /usr/include/pthread.h:692: error: parse error before '*' token
    /usr/include/pthread.h:695: error: parse error before '*' token
    /usr/include/pthread.h:703: error: parse error before '*' token
    /usr/include/pthread.h:707: error: parse error before '*' token
    /usr/include/pthread.h:710: error: parse error before '*' token
    In file included from fileobj.c:20:
    vars.h:24: error: redefinition of 'struct var'
    In file included from /usr/include/aio.h:31,
    from threadflow.h:25,
    from flowop.h:20,
    from filebench.h:20,
    from fileobj.c:21:
    /usr/include/sys/aio.h:100: error: field 'aio_sigevent' has incomplete
    type
    /usr/include/sys/aio.h:163: error: field 'aio_sigevent' has incomplete
    type
    In file included from filebench.h:21,
    from fileobj.c:21:
    ipc.h:56: error: parse error before 'pthread_rwlock_t'
    ipc.h:56: warning: no semicolon at end of struct or union
    ipc.h:57: warning: data definition has no type or storage class
    ipc.h:107: error: parse error before '}' token
    ipc.h:107: warning: data definition has no type or storage class
    ipc.h:117: error: parse error before '*' token
    ipc.h:117: warning: data definition has no type or storage class
    ipc.h:130: error: parse error before '*' token
    ipc.h:130: warning: data definition has no type or storage class
    fileobj.c: In function 'fileobj_init':
    fileobj.c:179: error: request for member 'filelist' in something not a
    structure or union
    fileobj.c:183: error: request for member 'fileobj_lock' in something
    not a structure or union
    fileobj.c:221: error: request for member 'filelist' in something not a
    structure or union
    fileobj.c:228: error: request for member 'fileobj_lock' in something
    not a structure or union
    fileobj.c: In function 'fileobj_define':
    fileobj.c:245: error: request for member 'fileobj_lock' in something
    not a structure or union
    fileobj.c:248: error: request for member 'filelist' in something not a
    structure or union
    fileobj.c:249: error: request for member 'filelist' in something not a
    structure or union
    fileobj.c:252: error: request for member 'filelist' in something not a
    structure or union
    fileobj.c:253: error: request for member 'filelist' in something not a
    structure or union
    fileobj.c:256: error: request for member 'fileobj_lock' in something
    not a structure or union
    fileobj.c: In function 'fileobj_open':
    fileobj.c:284: error: 'O_FSYNC' undeclared (first use in this
    function)
    fileobj.c:284: error: (Each undeclared identifier is reported only
    once
    fileobj.c:284: error: for each function it appears in.)
    fileobj.c: In function 'fileobj_find':
    fileobj.c:312: error: request for member 'filelist' in something not a
    structure or union
    fileobj.c:314: error: request for member 'fileobj_lock' in something
    not a structure or union
    fileobj.c:319: error: request for member 'fileobj_lock' in something
    not a structure or union
    fileobj.c:324: error: request for member 'fileobj_lock' in something
    not a structure or union
    fileobj.c: In function 'fileobj_iter':
    fileobj.c:332: error: request for member 'filelist' in something not a
    structure or union
    fileobj.c:335: error: request for member 'fileobj_lock' in something
    not a structure or union
    fileobj.c:343: error: request for member 'fileobj_lock' in something
    not a structure or union
    make: 1254-004 The error code from the last command is 1.


    Stop.
    make: 1254-004 The error code from the last command is 1.


    Stop.
    make: 1254-004 The error code from the last command is 2.


    Stop.


  2. Re: Filebench on AIX 5.3

    truebanu@gmail.com wrote:
    > Hello all.
    > I am trying to compile filebench, a software of available benchmark
    > for solaris and linux, in aix but I have multiple errors and I don't
    > have a lot of experience in aix .Somebody had proven this software in
    > AIX, you can help me.
    >
    >
    > Thanks.
    >
    > These they are the errors:
    >
    > root (bogus) /root/filebench-1.64->make
    > make all-recursive
    > Making all in filebench
    > source='fileobj.c' object='fileobj.o' libtool=no
    > depfile='.deps/fileobj.Po' tmpdepfile='.deps/
    > fileobj.T Po'
    > depmode=gcc3 /bin/sh ../config/depcomp gcc -D_REENTRANT -I. -I. -I..
    > -I../intl -I -DFILEBENCHDIR=\"/usr/
    > l ocal/filebench\" -g
    > -O2 -c `test -f 'fileobj.c' || echo './'`fileobj.c
    > In file included from fileobj.c:10:
    > /usr/include/pthread.h:596: error: parse error before '*' token
    > /usr/include/pthread.h:599: error: parse error before '*' token
    > /usr/include/pthread.h:603: error: parse error before '*' token
    > /usr/include/pthread.h:606: error: parse error before '*' token
    > /usr/include/pthread.h:609: error: parse error before '*' token
    > /usr/include/pthread.h:612: error: parse error before '*' token
    > /usr/include/pthread.h:615: error: parse error before '*' token
    > /usr/include/pthread.h:618: error: parse error before '*' token
    > /usr/include/pthread.h:621: error: parse error before '*' token
    > /usr/include/pthread.h:625: error: parse error before '*' token
    > /usr/include/pthread.h:628: error: parse error before '*' token
    > /usr/include/pthread.h:639: error: parse error before '*' token
    > /usr/include/pthread.h:643: error: parse error before '*' token
    > /usr/include/pthread.h:666: error: parse error before '*' token
    > /usr/include/pthread.h:669: error: parse error before '*' token
    > /usr/include/pthread.h:672: error: parse error before '*' token
    > /usr/include/pthread.h:675: error: parse error before '*' token
    > /usr/include/pthread.h:678: error: parse error before '*' token
    > /usr/include/pthread.h:686: error: parse error before '*' token
    > /usr/include/pthread.h:689: error: parse error before '*' token
    > /usr/include/pthread.h:692: error: parse error before '*' token
    > /usr/include/pthread.h:695: error: parse error before '*' token
    > /usr/include/pthread.h:703: error: parse error before '*' token
    > /usr/include/pthread.h:707: error: parse error before '*' token
    > /usr/include/pthread.h:710: error: parse error before '*' token
    > In file included from fileobj.c:20:
    > vars.h:24: error: redefinition of 'struct var'
    > In file included from /usr/include/aio.h:31,
    > from threadflow.h:25,
    > from flowop.h:20,
    > from filebench.h:20,
    > from fileobj.c:21:
    > /usr/include/sys/aio.h:100: error: field 'aio_sigevent' has incomplete
    > type
    > /usr/include/sys/aio.h:163: error: field 'aio_sigevent' has incomplete
    > type
    > In file included from filebench.h:21,
    > from fileobj.c:21:
    > ipc.h:56: error: parse error before 'pthread_rwlock_t'
    > ipc.h:56: warning: no semicolon at end of struct or union
    > ipc.h:57: warning: data definition has no type or storage class
    > ipc.h:107: error: parse error before '}' token
    > ipc.h:107: warning: data definition has no type or storage class
    > ipc.h:117: error: parse error before '*' token
    > ipc.h:117: warning: data definition has no type or storage class
    > ipc.h:130: error: parse error before '*' token
    > ipc.h:130: warning: data definition has no type or storage class
    > fileobj.c: In function 'fileobj_init':
    > fileobj.c:179: error: request for member 'filelist' in something not a
    > structure or union
    > fileobj.c:183: error: request for member 'fileobj_lock' in something
    > not a structure or union
    > fileobj.c:221: error: request for member 'filelist' in something not a
    > structure or union
    > fileobj.c:228: error: request for member 'fileobj_lock' in something
    > not a structure or union
    > fileobj.c: In function 'fileobj_define':
    > fileobj.c:245: error: request for member 'fileobj_lock' in something
    > not a structure or union
    > fileobj.c:248: error: request for member 'filelist' in something not a
    > structure or union
    > fileobj.c:249: error: request for member 'filelist' in something not a
    > structure or union
    > fileobj.c:252: error: request for member 'filelist' in something not a
    > structure or union
    > fileobj.c:253: error: request for member 'filelist' in something not a
    > structure or union
    > fileobj.c:256: error: request for member 'fileobj_lock' in something
    > not a structure or union
    > fileobj.c: In function 'fileobj_open':
    > fileobj.c:284: error: 'O_FSYNC' undeclared (first use in this
    > function)
    > fileobj.c:284: error: (Each undeclared identifier is reported only
    > once
    > fileobj.c:284: error: for each function it appears in.)
    > fileobj.c: In function 'fileobj_find':
    > fileobj.c:312: error: request for member 'filelist' in something not a
    > structure or union
    > fileobj.c:314: error: request for member 'fileobj_lock' in something
    > not a structure or union
    > fileobj.c:319: error: request for member 'fileobj_lock' in something
    > not a structure or union
    > fileobj.c:324: error: request for member 'fileobj_lock' in something
    > not a structure or union
    > fileobj.c: In function 'fileobj_iter':
    > fileobj.c:332: error: request for member 'filelist' in something not a
    > structure or union
    > fileobj.c:335: error: request for member 'fileobj_lock' in something
    > not a structure or union
    > fileobj.c:343: error: request for member 'fileobj_lock' in something
    > not a structure or union
    > make: 1254-004 The error code from the last command is 1.
    >
    >
    > Stop.
    > make: 1254-004 The error code from the last command is 1.
    >
    >
    > Stop.
    > make: 1254-004 The error code from the last command is 2.
    >
    >
    > Stop.
    >



    Try using gnu make. I have ran into errors like this with the native make.

+ Reply to Thread