Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,786,401 Members 43,773 Now Online
XDA Developers Android and Mobile Development Forum

[Q] Compile error when building kernel?

Tip us?
 
brakke97
Old
#1  
brakke97's Avatar
Senior Member - OP
Thanks Meter 177
Posts: 396
Join Date: Jul 2012
Location: Leuven
Default [Q] Compile error when building kernel?

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!


My Contributions:
# Tutorial: How to make your own Android kernel!
# Explanation:What's the difference between Odex and Deodex?

Contact:
# Social: Twitter | Google+
 
brakke97
Old
#2  
brakke97's Avatar
Senior Member - OP
Thanks Meter 177
Posts: 396
Join Date: Jul 2012
Location: Leuven
Anyone?


My Contributions:
# Tutorial: How to make your own Android kernel!
# Explanation:What's the difference between Odex and Deodex?

Contact:
# Social: Twitter | Google+
Tags
android, compile, error, kernel
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes