Results 1 to 3 of 3

Thread: Building IOZone

  1. #1

    Default Building IOZone

    Guys,

    Trying to build iozone so I can do some benchmarking work and I am running openSUSE 11.1 x86_64.

    After downloading the src I run the make command "make linux-AMD64".

    The build process starts, but I quickly get a bunch of errors. I'm not sure what part of this is important and what's not so I'm just going to post it and see if someone can't give me a pointer as to what I am missing.

    Thank you,

    Joe

    Code:
    joseph@linux-mdf2:~/Desktop/iozone3_321/src/current> make linux-AMD64
    
    Building iozone for Linux-AMD64
    
    cc -c -O3 -Dunix -DHAVE_ANSIC_C -DASYNC_IO -DNAME='"linux-AMD64"' \
                    -D__AMD64__ -DSHARED_MEM -Dlinux -D_LARGEFILE64_SOURCE \
                     iozone.c \
                    -o iozone_linux-AMD64.o
    In file included from /usr/include/errno.h:36,
                     from iozone.c:61:
    /usr/include/bits/errno.h:25:26: error: linux/errno.h: No such file or directory
    In file included from /usr/include/bits/posix1_lim.h:153,
                     from /usr/include/limits.h:145,
                     from /usr/lib64/gcc/x86_64-suse-linux/4.3/include-fixed/limits.h:122,
                     from /usr/lib64/gcc/x86_64-suse-linux/4.3/include-fixed/syslimits.h:7,
                     from /usr/lib64/gcc/x86_64-suse-linux/4.3/include-fixed/limits.h:11,
                     from /usr/include/bits/socket.h:32,
                     from /usr/include/sys/socket.h:40,
                     from iozone.c:308:
    /usr/include/bits/local_lim.h:39:26: error: linux/limits.h: No such file or directory
    In file included from /usr/include/sys/socket.h:40,
                     from iozone.c:308:
    /usr/include/bits/socket.h:334:24: error: asm/socket.h: No such file or directory
    iozone.c: In function āstart_master_listenā:
    iozone.c:19194: error: āSOL_SOCKETā undeclared (first use in this function)
    iozone.c:19194: error: (Each undeclared identifier is reported only once
    iozone.c:19194: error: for each function it appears in.)
    iozone.c:19194: error: āSO_RCVBUFā undeclared (first use in this function)
    iozone.c: In function āstart_child_listenā:
    iozone.c:19652: error: āSOL_SOCKETā undeclared (first use in this function)
    iozone.c:19652: error: āSO_RCVBUFā undeclared (first use in this function)
    iozone.c: In function āstart_child_listen_asyncā:
    iozone.c:19818: error: āSOL_SOCKETā undeclared (first use in this function)
    iozone.c:19818: error: āSO_RCVBUFā undeclared (first use in this function)
    iozone.c: In function āsp_start_child_listenā:
    iozone.c:21803: error: āSOL_SOCKETā undeclared (first use in this function)
    iozone.c:21803: error: āSO_RCVBUFā undeclared (first use in this function)
    iozone.c: In function āsp_start_master_listenā:
    iozone.c:22025: error: āSOL_SOCKETā undeclared (first use in this function)
    iozone.c:22025: error: āSO_RCVBUFā undeclared (first use in this function)
    make: *** [iozone_linux-AMD64.o] Error 1

  2. #2
    Join Date
    Jun 2008
    Location
    Podunk
    Posts
    26,519
    Blog Entries
    15

    Default Re: Building IOZone

    Quote Originally Posted by TheDelChop
    Guys,

    Trying to build iozone so I can do some benchmarking work and I am
    running openSUSE 11.1 x86_64.

    After downloading the src I run the make command "make linux-AMD64".

    The build process starts, but I quickly get a bunch of errors. I'm not
    sure what part of this is important and what's not so I'm just going to
    post it and see if someone can't give me a pointer as to what I am
    missing.

    Thank you,

    Joe
    <snip>
    Hi
    Did you try the src rpm, it should pick up your arch. It will build
    with some warning though.
    Code:
    rpmbuild --rebuild  iozone-3-321.src.rpm
    sudo rpm -Uhv /usr/src/packages/RPMS/x86_64/iozone-3-321.x86_64.rpm
    The files are down in /opt/iozone

    --
    Cheers Malcolm °æ° (Linux Counter #276890)
    openSUSE 11.1 (i586) Kernel 2.6.27.21-0.1-pae
    up 0:09, 2 users, load average: 0.61, 0.65, 0.40
    ASUS eeePC 1000HE ATOM N280 1.66GHz | GPU Mobile 945GM/GMS/GME


  3. #3

    Default Re: Building IOZone

    Thank you, I'll try this once my internet connection at home comes back so I can SSH in.

    Cause what is there better to do at work besides benchmark your RAID array on my SUSE box?

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •