Results 1 to 3 of 3

Thread: Compile mdadm

  1. #1

    Compile mdadm

    hi,

    I'm trying to compile the latest version of mdadm (3.1.2) in asus rt-n16 (with the latest firmware from oleg linux 2.6.22.19) but I'm stuck with this error:

    error: `O_NOATIME' undeclared (first use in this function)
    error: (Each undeclared identifier is reported only once
    error: for each function it appears in.)

    I tried to look in fcntl.h (in several places) with no luck aldo google didn't help...

    Any help would be appreciated.

  2. #2
    Join Date
    Dec 2007
    Location
    The Netherlands - Eindhoven
    Posts
    1,767
    Quote Originally Posted by s1za View Post
    hi,

    I'm trying to compile the latest version of mdadm (3.1.2) in asus rt-n16 (with the latest firmware from oleg linux 2.6.22.19) but I'm stuck with this error:

    error: `O_NOATIME' undeclared (first use in this function)
    error: (Each undeclared identifier is reported only once
    error: for each function it appears in.)

    I tried to look in fcntl.h (in several places) with no luck aldo google didn't help...

    Any help would be appreciated.
    how are you compiling it? crosscompiler or the compiler on your router?
    it's written in c, so that should usually work on the native compiler
    there could be a problem because it's a part of the kernel (I believe), so maybe you're able to configure it without noatime, since you probably mount drives with noatime (no updating of access times of files, which reduces load)

  3. #3
    Quote Originally Posted by wpte View Post
    how are you compiling it? crosscompiler or the compiler on your router?
    it's written in c, so that should usually work on the native compiler
    there could be a problem because it's a part of the kernel (I believe), so maybe you're able to configure it without noatime, since you probably mount drives with noatime (no updating of access times of files, which reduces load)
    I'm compiling it on the router.

Similar Threads

  1. Can you help me compile this?
    By samura in forum WL-500gP Q&A
    Replies: 0
    Last Post: 10-10-2008, 10:37
  2. Compile a driver how to?
    By parper in forum WL-500gP Q&A
    Replies: 2
    Last Post: 17-03-2008, 12:49
  3. Compile Ralink Wifi minipci driver as module
    By Flying in forum WL-500gP Q&A
    Replies: 1
    Last Post: 27-02-2008, 12:30
  4. How do I compile 'stuff' on the WL700ge?
    By neil in forum WL-700g Firmware Discussion
    Replies: 7
    Last Post: 14-01-2008, 11:56

Posting Permissions

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