PDA

Bekijk de volledige versie : Compile mdadm



s1za
22-03-2010, 18:06
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.

wpte
22-03-2010, 18:27
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)

s1za
22-03-2010, 19:56
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.