Welcome to XDA

Search to go directly to your device's forum

Register an account

Unlock full posting privileges

Ask a question

No registration required
Post Reply

[Q] Compile error when building kernel?

OP brakke97

12th July 2014, 12:47 AM   |  #1  
brakke97's Avatar
OP Senior Member
Flag Leuven
Thanks Meter: 185
 
407 posts
Join Date:Joined: Jul 2012
More
Hey guys

I've a problem with compiling my kernel, especially with one thing. The error has to do with block/elevator.o, does anybody know a fix for this build error?

Code:
 CC      block/elevator.o
block/elevator.c: In function ‘elv_reinsert_request’:
block/elevator.c:628:38: error: ‘struct elevator_ops’ has no member named ‘elevator_reinsert_req_fn’
  if (!q->elevator->elevator_type->ops.elevator_reinsert_req_fn)
                                      ^
block/elevator.c:631:39: error: ‘struct elevator_ops’ has no member named ‘elevator_reinsert_req_fn’
  res = q->elevator->elevator_type->ops.elevator_reinsert_req_fn(q, rq);
                                       ^
block/elevator.c: In function ‘elv_completed_request’:
block/elevator.c:854:4: error: ‘struct request_queue’ has no member named ‘notified_urgent’
   q->notified_urgent = false;
    ^
block/elevator.c:855:4: error: ‘struct request_queue’ has no member named ‘dispatched_urgent’
   q->dispatched_urgent = false;
    ^
make[1]: *** [block/elevator.o] Error 1
make: *** [block] Error 2
make: *** Waiting for unfinished jobs....
Thanks in advance!
Post Reply Subscribe to Thread

Tags
android, compile, error, kernel
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes