Dariush Debian Diary

Diariusz Dariusza

, 06, 2011

Permanent URL Errors compiling redhat6 kernel with openvz (circa 2011-09):

fs/buffer.c: In function '__set_page_dirty':
fs/buffer.c:685: error: implicit declaration of function 'ub_io_account_dirty'
make[2]: *** [fs/buffer.o] Error 1
make[2]: *** Waiting for unfinished jobs....
fs/direct-io.c: In function 'submit_page_section':
fs/direct-io.c:701: error: implicit declaration of function 'virtinfo_notifier_call'
fs/direct-io.c:701: error: 'VITYPE_IO' undeclared (first use in this function)
fs/direct-io.c:701: error: (Each undeclared identifier is reported only once
fs/direct-io.c:701: error: for each function it appears in.)
fs/direct-io.c:701: error: 'VIRTINFO_IO_PREPARE' undeclared (first use in this function)
make[2]: *** [fs/direct-io.o] Error 1
make[1]: *** [fs] Error 2




In file included from arch/x86/mm/fault.c:14:
include/linux/hugetlb.h: In function 'hstate_inode':
include/linux/hugetlb.h:255: error: implicit declaration of function 'HUGETLBFS_SB'
include/linux/hugetlb.h:255: warning: assignment makes pointer from integer without a cast
include/linux/hugetlb.h:256: error: dereferencing pointer to incomplete type
make[3]: *** [arch/x86/mm/fault.o] Error 1
make[2]: *** [arch/x86/mm] Error 2
make[1]: *** [arch/x86] Error 2




In file included from kernel/sched.c:2394:
kernel/sched_autogroup.c: In function 'autogroup_move_group':
kernel/sched_autogroup.c:145: error: expected 'while' before 'while_each_thread'
In file included from kernel/sched.c:2396:
kernel/sched_debug.c: In function 'print_cfs_rq':
kernel/sched_debug.c:180: error: implicit declaration of function 'task_group_path'
kernel/sched_debug.c:180: warning: format '%s' expects type 'char *', but argument 4 has type 'int'
kernel/sched_debug.c:180: warning: format '%s' expects type 'char *', but argument 3 has type 'int'
kernel/sched_debug.c: In function 'print_rt_rq':
kernel/sched_debug.c:227: warning: format '%s' expects type 'char *', but argument 4 has type 'int'
kernel/sched_debug.c:227: warning: format '%s' expects type 'char *', but argument 3 has type 'int'
make[2]: *** [kernel/sched.o] Error 1
make[1]: *** [kernel] Error 2



In file included from kernel/sched.c:2394:
kernel/sched_autogroup.c: In function 'autogroup_move_group':
kernel/sched_autogroup.c:145: error: expected 'while' before 'while_each_thread'
make[2]: *** [kernel/sched.o] Error 1
make[1]: *** [kernel] Error 2
make[1]: Leaving directory `/home/eyck/l/vz/linux-2.6.32'



mm/page-writeback.c: In function 'balance_dirty_pages':
mm/page-writeback.c:495: error: implicit declaration of function 'get_io_ub'
mm/page-writeback.c:495: warning: initialization makes pointer from integer without a cast
mm/page-writeback.c:507: error: implicit declaration of function 'ub_dirty_limits'
mm/page-writeback.c:510: error: implicit declaration of function 'ub_dirty_pages'
mm/page-writeback.c: In function 'balance_dirty_pages_ratelimited_nr':
mm/page-writeback.c:669: error: invalid type argument of '->' (have 'int')
mm/page-writeback.c: In function 'write_cache_pages':
mm/page-writeback.c:966: error: implicit declaration of function 'virtinfo_notifier_call'
mm/page-writeback.c:966: error: 'VITYPE_IO' undeclared (first use in this function)
mm/page-writeback.c:966: error: (Each undeclared identifier is reported only once
mm/page-writeback.c:966: error: for each function it appears in.)
mm/page-writeback.c:966: error: 'VIRTINFO_IO_PREPARE' undeclared (first use in this function)
mm/page-writeback.c: In function '__set_page_dirty_nobuffers':
mm/page-writeback.c:1199: error: implicit declaration of function 'ub_io_account_dirty'
mm/page-writeback.c: In function 'test_set_page_writeback':
mm/page-writeback.c:1414: error: implicit declaration of function 'ub_io_account_clean'
make[2]: *** [mm/page-writeback.o] Error 1
make[1]: *** [mm] Error 2

Last modified on

powered by blosxom  Creative Commons License

Copyright ©1995-2004 Dariush Pietrzak. All content on this website, unless otherwise noted, is licensed under a Creative Commons License.
Using desktop theme, version 0.5. Check the Blosxom site for the latest copy.

Calendar

September 2011
Sun Mon Tue Wed Thu Fri Sat
       
 

Archives

Categories

Subscribe

Subscribe to a syndicated feed of this weblog, brought to you by the power of RSS.

XML