Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ./VBoxLinuxAdditions-x86.run
- Verifying archive integrity... All good.
- Uncompressing VirtualBox 3.2.6 Guest Additions for Linux........
- VirtualBox Guest Additions installer
- Removing installed version 3.2.6 of VirtualBox Guest Additions...
- Building the VirtualBox Guest Additions kernel modules ...fail!
- Your system does not seem to be set up to build kernel modules.
- Look at /var/log/vboxadd-install.log to find out what went wrong. Once you have corrected it, you can
- run
- /etc/init.d/vboxadd setup
- to build them.
- Doing non-kernel setup of the Guest Additions ...done.
- Installing the Window System drivers
- Installing X.Org Server 1.5 modules ...done.
- Setting up the Window System to use the Guest Additions ...done.
- You may need to restart the hal service and the Window System (or just restart
- the guest system) to enable the Guest Additions.
- Installing graphics libraries and desktop services components ...done.
- root@bt:~# cat /var/log/vboxadd-install.log
- make KBUILD_VERBOSE=1 -C /lib/modules/2.6.34/build SUBDIRS=/tmp/vbox.0 SRCROOT=/tmp/vbox.0 modules
- test -e include/generated/autoconf.h -a -e include/config/auto.conf || ( \
- echo; \
- echo " ERROR: Kernel configuration is invalid."; \
- echo " include/generated/autoconf.h or include/config/auto.conf are missing.";\
- echo " Run 'make oldconfig && make prepare' on kernel src to fix it."; \
- echo; \
- /bin/false)
- mkdir -p /tmp/vbox.0/.tmp_versions ; rm -f /tmp/vbox.0/.tmp_versions/*
- make -f scripts/Makefile.build obj=/tmp/vbox.0
- gcc -Wp,-MD,/tmp/vbox.0/.test.o.d -nostdinc -isystem /usr/lib/gcc/i486-linux-gnu/4.3.2/include -I/usr/src/linux-headers-2.6.34/arch/x86/include -Iinclude -include include/generated/autoconf.h -D__KERNEL__ -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-implicit-function-declaration -Wno-format-security -fno-delete-null-pointer-checks -O2 -m32 -msoft-float -mregparm=3 -freg-struct-return -mpreferred-stack-boundary=2 -march=i686 -mtune=core2 -mtune=generic -Wa,-mtune=generic32 -ffreestanding -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -pipe -Wno-sign-compare -fno-asynchronous-unwind-tables -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -fno-stack-protector -fno-omit-frame-pointer -fno-optimize-sibling-calls -Wdeclaration-after-statement -Wno-pointer-sign -fno-strict-overflow -I/lib/modules/2.6.34/build/include -I/tmp/vbox.0/ -I/tmp/vbox.0/include -I/tmp/vbox.0/r0drv/linux -D__KERNEL__ -DMODULE -DRT_OS_LINUX -DIN_RING0 -D_X86_ -DIN_RT_R0 -DIN_SUP_R0 -DVBGL_VBOXGUEST -DVBGL_HGCM -DVBOX_WITH_HGCM -DMODULE -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(test)" -D"KBUILD_MODNAME=KBUILD_STR(vboxadd_test)" -c -o /tmp/vbox.0/test.o /tmp/vbox.0/test.c
- In file included from include/linux/prefetch.h:13,
- from include/linux/list.h:6,
- from include/linux/module.h:9,
- from /tmp/vbox.0/test.c:11:
- include/linux/types.h:4:23: error: asm/types.h: No such file or directory
- In file included from include/linux/types.h:14,
- from include/linux/prefetch.h:13,
- from include/linux/list.h:6,
- from include/linux/module.h:9,
- from /tmp/vbox.0/test.c:11:
- include/linux/posix_types.h:47:29: error: asm/posix_types.h: No such file or directory
- In file included from include/linux/prefetch.h:13,
- from include/linux/list.h:6,
- from include/linux/module.h:9,
- from /tmp/vbox.0/test.c:11:
- include/linux/types.h:18: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__kernel_dev_t'
- include/linux/types.h:21: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'dev_t'
- include/linux/types.h:22: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'ino_t'
- include/linux/types.h:23: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'mode_t'
- include/linux/types.h:24: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'nlink_t'
- include/linux/types.h:25: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'off_t'
- include/linux/types.h:26: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'pid_t'
- include/linux/types.h:27: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'daddr_t'
- include/linux/types.h:29: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'suseconds_t'
- include/linux/types.h:30: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'timer_t'
- include/linux/types.h:31: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'clockid_t'
- include/linux/types.h:36: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'uid_t'
- include/linux/types.h:37: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'gid_t'
- include/linux/types.h:38: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'uid16_t'
- include/linux/types.h:39: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'gid16_t'
- include/linux/types.h:45: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'old_uid_t'
- include/linux/types.h:46: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'old_gid_t'
- include/linux/types.h:50: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'loff_t'
- include/linux/types.h:59: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'size_t'
- include/linux/types.h:64: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'ssize_t'
- include/linux/types.h:69: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'ptrdiff_t'
- include/linux/types.h:74: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'time_t'
- include/linux/types.h:79: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'clock_t'
- include/linux/types.h:84: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'caddr_t'
- include/linux/types.h:102: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'u_int8_t'
- include/linux/types.h:103: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int8_t'
- include/linux/types.h:104: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'u_int16_t'
- include/linux/types.h:105: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int16_t'
- include/linux/types.h:106: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'u_int32_t'
- include/linux/types.h:107: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int32_t'
- include/linux/types.h:111: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'uint8_t'
- include/linux/types.h:112: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'uint16_t'
- include/linux/types.h:113: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'uint32_t'
- include/linux/types.h:116: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'uint64_t'
- include/linux/types.h:117: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'u_int64_t'
- include/linux/types.h:118: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int64_t'
- include/linux/types.h:135: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'sector_t'
- include/linux/types.h:136: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'blkcnt_t'
- include/linux/types.h:168: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__le16'
- include/linux/types.h:169: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__be16'
- include/linux/types.h:170: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__le32'
- include/linux/types.h:171: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__be32'
- include/linux/types.h:172: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__le64'
- include/linux/types.h:173: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__be64'
- include/linux/types.h:175: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__sum16'
- include/linux/types.h:176: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__wsum'
- include/linux/types.h:185: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'phys_addr_t'
- include/linux/types.h:188: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'resource_size_t'
- include/linux/types.h:201: error: expected specifier-qualifier-list before '__kernel_daddr_t'
- In file included from include/linux/list.h:6,
- from include/linux/module.h:9,
- from /tmp/vbox.0/test.c:11:
- include/linux/prefetch.h:14:27: error: asm/processor.h: No such file or directory
- include/linux/prefetch.h:15:23: error: asm/cache.h: No such file or directory
- In file included from include/linux/list.h:6,
- from include/linux/module.h:9,
- from /tmp/vbox.0/test.c:11:
- include/linux/prefetch.h:53: error: expected declaration specifiers or '...' before 'size_t'
- In file included from include/linux/module.h:9,
- from /tmp/vbox.0/test.c:11:
- include/linux/list.h:7:24: error: asm/system.h: No such file or directory
- In file included from include/linux/module.h:9,
- from /tmp/vbox.0/test.c:11:
- include/linux/list.h: In function 'list_del':
- include/linux/list.h:106: error: implicit declaration of function '_AC'
- include/linux/list.h:106: error: 'UL' undeclared (first use in this function)
- include/linux/list.h:106: error: (Each undeclared identifier is reported only once
- include/linux/list.h:106: error: for each function it appears in.)
- include/linux/list.h: In function 'hlist_del':
- include/linux/list.h:593: error: 'UL' undeclared (first use in this function)
- In file included from include/linux/module.h:10,
- from /tmp/vbox.0/test.c:11:
- include/linux/stat.h:6:22: error: asm/stat.h: No such file or directory
- In file included from include/linux/kernel.h:11,
- from include/linux/cache.h:4,
- from include/linux/time.h:7,
- from include/linux/stat.h:60,
- from include/linux/module.h:10,
- from /tmp/vbox.0/test.c:11:
- include/linux/linkage.h:5:25: error: asm/linkage.h: No such file or directory
- In file included from include/linux/kernel.h:15,
- from include/linux/cache.h:4,
- from include/linux/time.h:7,
- from include/linux/stat.h:60,
- from include/linux/module.h:10,
- from /tmp/vbox.0/test.c:11:
- include/linux/bitops.h:17:24: error: asm/bitops.h: No such file or directory
- In file included from include/linux/kernel.h:15,
- from include/linux/cache.h:4,
- from include/linux/time.h:7,
- from include/linux/stat.h:60,
- from include/linux/module.h:10,
- from /tmp/vbox.0/test.c:11:
- include/linux/bitops.h: In function 'get_bitmask_order':
- include/linux/bitops.h:28: error: implicit declaration of function 'fls'
- include/linux/bitops.h: In function 'hweight_long':
- include/linux/bitops.h:44: error: implicit declaration of function 'hweight32'
- include/linux/bitops.h:44: error: implicit declaration of function 'hweight64'
- include/linux/bitops.h: At top level:
- include/linux/bitops.h:77: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'rol32'
- include/linux/bitops.h:87: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'ror32'
- include/linux/bitops.h:97: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'rol16'
- include/linux/bitops.h:107: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'ror16'
- include/linux/bitops.h:117: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'rol8'
- include/linux/bitops.h:127: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'ror8'
- include/linux/bitops.h: In function 'fls_long':
- include/linux/bitops.h:136: error: implicit declaration of function 'fls64'
- include/linux/bitops.h: At top level:
- include/linux/bitops.h:147: error: expected ')' before 'word'
- include/linux/bitops.h:149:5: warning: "BITS_PER_LONG" is not defined
- include/linux/bitops.h:152:7: warning: "BITS_PER_LONG" is not defined
- include/linux/bitops.h:153:2: error: #error BITS_PER_LONG not 32 or 64
- In file included from include/linux/kernel.h:16,
- from include/linux/cache.h:4,
- from include/linux/time.h:7,
- from include/linux/stat.h:60,
- from include/linux/module.h:10,
- from /tmp/vbox.0/test.c:11:
- include/linux/log2.h:32: error: expected ')' before 'n'
- include/linux/log2.h:40: error: expected ')' before 'n'
- In file included from include/linux/cache.h:4,
- from include/linux/time.h:7,
- from include/linux/stat.h:60,
- from include/linux/module.h:10,
- from /tmp/vbox.0/test.c:11:
- include/linux/kernel.h:19:27: error: asm/byteorder.h: No such file or directory
- include/linux/kernel.h:20:21: error: asm/bug.h: No such file or directory
- include/linux/kernel.h:71:24: error: asm/div64.h: No such file or directory
- In file included from include/linux/cache.h:4,
- from include/linux/time.h:7,
- from include/linux/stat.h:60,
- from include/linux/module.h:10,
- from /tmp/vbox.0/test.c:11:
- include/linux/kernel.h:195: error: expected declaration specifiers or '...' before 'size_t'
- include/linux/kernel.h:196: error: format string argument not a string type
- include/linux/kernel.h:197: error: expected declaration specifiers or '...' before 'size_t'
- include/linux/kernel.h:199: error: expected declaration specifiers or '...' before 'size_t'
- include/linux/kernel.h:200: error: format string argument not a string type
- include/linux/kernel.h:201: error: expected declaration specifiers or '...' before 'size_t'
- include/linux/kernel.h:355: error: expected declaration specifiers or '...' before 'size_t'
- include/linux/kernel.h:357: error: expected declaration specifiers or '...' before 'size_t'
- include/linux/kernel.h:360: error: expected declaration specifiers or '...' before 'size_t'
- include/linux/kernel.h:362: error: expected declaration specifiers or '...' before 'size_t'
- include/linux/kernel.h:368: error: expected declaration specifiers or '...' before 'u8'
- include/linux/kernel.h: In function 'pack_hex_byte':
- include/linux/kernel.h:370: error: 'byte' undeclared (first use in this function)
- In file included from include/linux/preempt.h:9,
- from include/linux/spinlock.h:50,
- from include/linux/seqlock.h:29,
- from include/linux/time.h:8,
- from include/linux/stat.h:60,
- from include/linux/module.h:10,
- from /tmp/vbox.0/test.c:11:
- include/linux/thread_info.h: At top level:
- include/linux/thread_info.h:26: error: expected specifier-qualifier-list before 'u32'
- include/linux/thread_info.h:35: error: expected specifier-qualifier-list before 'clockid_t'
- In file included from include/linux/preempt.h:9,
- from include/linux/spinlock.h:50,
- from include/linux/seqlock.h:29,
- from include/linux/time.h:8,
- from include/linux/stat.h:60,
- from include/linux/module.h:10,
- from /tmp/vbox.0/test.c:11:
- include/linux/thread_info.h:56:29: error: asm/thread_info.h: No such file or directory
- include/linux/thread_info.h:65: warning: 'struct thread_info' declared inside parameter list
- include/linux/thread_info.h:65: warning: its scope is only this definition or declaration, which is probably not what you want
- include/linux/thread_info.h: In function 'set_ti_thread_flag':
- include/linux/thread_info.h:67: error: implicit declaration of function 'set_bit'
- include/linux/thread_info.h:67: error: dereferencing pointer to incomplete type
- include/linux/thread_info.h: At top level:
- include/linux/thread_info.h:70: warning: 'struct thread_info' declared inside parameter list
- include/linux/thread_info.h: In function 'clear_ti_thread_flag':
- include/linux/thread_info.h:72: error: implicit declaration of function 'clear_bit'
- include/linux/thread_info.h:72: error: dereferencing pointer to incomplete type
- include/linux/thread_info.h: At top level:
- include/linux/thread_info.h:75: warning: 'struct thread_info' declared inside parameter list
- include/linux/thread_info.h: In function 'test_and_set_ti_thread_flag':
- include/linux/thread_info.h:77: error: implicit declaration of function 'test_and_set_bit'
- include/linux/thread_info.h:77: error: dereferencing pointer to incomplete type
- include/linux/thread_info.h: At top level:
- include/linux/thread_info.h:80: warning: 'struct thread_info' declared inside parameter list
- include/linux/thread_info.h: In function 'test_and_clear_ti_thread_flag':
- include/linux/thread_info.h:82: error: implicit declaration of function 'test_and_clear_bit'
- include/linux/thread_info.h:82: error: dereferencing pointer to incomplete type
- include/linux/thread_info.h: At top level:
- include/linux/thread_info.h:85: warning: 'struct thread_info' declared inside parameter list
- include/linux/thread_info.h: In function 'test_ti_thread_flag':
- include/linux/thread_info.h:87: error: implicit declaration of function 'test_bit'
- include/linux/thread_info.h:87: error: dereferencing pointer to incomplete type
- In file included from include/linux/spinlock.h:50,
- from include/linux/seqlock.h:29,
- from include/linux/time.h:8,
- from include/linux/stat.h:60,
- from include/linux/module.h:10,
- from /tmp/vbox.0/test.c:11:
- include/linux/preempt.h: At top level:
- include/linux/preempt.h:117: warning: 'struct task_struct' declared inside parameter list
- In file included from include/linux/spinlock.h:80,
- from include/linux/seqlock.h:29,
- from include/linux/time.h:8,
- from include/linux/stat.h:60,
- from include/linux/module.h:10,
- from /tmp/vbox.0/test.c:11:
- include/linux/spinlock_types.h:13:33: error: asm/spinlock_types.h: No such file or directory
- In file included from include/linux/spinlock.h:80,
- from include/linux/seqlock.h:29,
- from include/linux/time.h:8,
- from include/linux/stat.h:60,
- from include/linux/module.h:10,
- from /tmp/vbox.0/test.c:11:
- include/linux/spinlock_types.h:21: error: expected specifier-qualifier-list before 'arch_spinlock_t'
- In file included from include/linux/spinlock_types.h:94,
- from include/linux/spinlock.h:80,
- from include/linux/seqlock.h:29,
- from include/linux/time.h:8,
- from include/linux/stat.h:60,
- from include/linux/module.h:10,
- from /tmp/vbox.0/test.c:11:
- include/linux/rwlock_types.h:12: error: expected specifier-qualifier-list before 'arch_rwlock_t'
- In file included from include/linux/seqlock.h:29,
- from include/linux/time.h:8,
- from include/linux/stat.h:60,
- from include/linux/module.h:10,
- from /tmp/vbox.0/test.c:11:
- include/linux/spinlock.h:86:27: error: asm/spinlock.h: No such file or directory
- In file included from include/linux/seqlock.h:29,
- from include/linux/time.h:8,
- from include/linux/stat.h:60,
- from include/linux/module.h:10,
- from /tmp/vbox.0/test.c:11:
- include/linux/spinlock.h: In function 'smp_mb__after_lock':
- include/linux/spinlock.h:121: error: implicit declaration of function 'smp_mb'
- include/linux/spinlock.h: In function 'do_raw_spin_lock':
- include/linux/spinlock.h:139: error: implicit declaration of function 'arch_spin_lock'
- include/linux/spinlock.h:139: error: 'raw_spinlock_t' has no member named 'raw_lock'
- include/linux/spinlock.h: In function 'do_raw_spin_lock_flags':
- include/linux/spinlock.h:146: error: implicit declaration of function 'arch_spin_lock_flags'
- include/linux/spinlock.h:146: error: 'raw_spinlock_t' has no member named 'raw_lock'
- include/linux/spinlock.h: In function 'do_raw_spin_trylock':
- include/linux/spinlock.h:151: error: implicit declaration of function 'arch_spin_trylock'
- include/linux/spinlock.h:151: error: 'raw_spinlock_t' has no member named 'raw_lock'
- include/linux/spinlock.h: In function 'do_raw_spin_unlock':
- include/linux/spinlock.h:156: error: implicit declaration of function 'arch_spin_unlock'
- include/linux/spinlock.h:156: error: 'raw_spinlock_t' has no member named 'raw_lock'
- In file included from include/linux/spinlock.h:262,
- from include/linux/seqlock.h:29,
- from include/linux/time.h:8,
- from include/linux/stat.h:60,
- from include/linux/module.h:10,
- from /tmp/vbox.0/test.c:11:
- include/linux/spinlock_api_smp.h: In function '__raw_spin_lock_irqsave':
- include/linux/spinlock_api_smp.h:108: error: implicit declaration of function 'local_irq_save'
- include/linux/spinlock_api_smp.h: In function '__raw_spin_lock_irq':
- include/linux/spinlock_api_smp.h:126: error: implicit declaration of function 'local_irq_disable'
- include/linux/spinlock_api_smp.h: In function '__raw_spin_unlock_irqrestore':
- include/linux/spinlock_api_smp.h:161: error: implicit declaration of function 'local_irq_restore'
- include/linux/spinlock_api_smp.h: In function '__raw_spin_unlock_irq':
- include/linux/spinlock_api_smp.h:169: error: implicit declaration of function 'local_irq_enable'
- In file included from include/linux/spinlock_api_smp.h:194,
- from include/linux/spinlock.h:262,
- from include/linux/seqlock.h:29,
- from include/linux/time.h:8,
- from include/linux/stat.h:60,
- from include/linux/module.h:10,
- from /tmp/vbox.0/test.c:11:
- include/linux/rwlock_api_smp.h: In function '__raw_read_trylock':
- include/linux/rwlock_api_smp.h:120: error: implicit declaration of function 'arch_read_trylock'
- include/linux/rwlock_api_smp.h:120: error: 'rwlock_t' has no member named 'raw_lock'
- include/linux/rwlock_api_smp.h: In function '__raw_write_trylock':
- include/linux/rwlock_api_smp.h:131: error: implicit declaration of function 'arch_write_trylock'
- include/linux/rwlock_api_smp.h:131: error: 'rwlock_t' has no member named 'raw_lock'
- include/linux/rwlock_api_smp.h: In function '__raw_read_lock':
- include/linux/rwlock_api_smp.h:150: error: implicit declaration of function 'arch_read_lock'
- include/linux/rwlock_api_smp.h:150: error: 'rwlock_t' has no member named 'raw_lock'
- include/linux/rwlock_api_smp.h: In function '__raw_read_lock_irqsave':
- include/linux/rwlock_api_smp.h:160: error: implicit declaration of function 'arch_read_lock_flags'
- include/linux/rwlock_api_smp.h:160: error: 'rwlock_t' has no member named 'raw_lock'
- include/linux/rwlock_api_smp.h: In function '__raw_read_lock_irq':
- include/linux/rwlock_api_smp.h:170: error: 'rwlock_t' has no member named 'raw_lock'
- include/linux/rwlock_api_smp.h: In function '__raw_read_lock_bh':
- include/linux/rwlock_api_smp.h:178: error: 'rwlock_t' has no member named 'raw_lock'
- include/linux/rwlock_api_smp.h: In function '__raw_write_lock_irqsave':
- include/linux/rwlock_api_smp.h:188: error: implicit declaration of function 'arch_write_lock_flags'
- include/linux/rwlock_api_smp.h:188: error: 'rwlock_t' has no member named 'raw_lock'
- include/linux/rwlock_api_smp.h: In function '__raw_write_lock_irq':
- include/linux/rwlock_api_smp.h:198: error: implicit declaration of function 'arch_write_lock'
- include/linux/rwlock_api_smp.h:198: error: 'rwlock_t' has no member named 'raw_lock'
- include/linux/rwlock_api_smp.h: In function '__raw_write_lock_bh':
- include/linux/rwlock_api_smp.h:206: error: 'rwlock_t' has no member named 'raw_lock'
- include/linux/rwlock_api_smp.h: In function '__raw_write_lock':
- include/linux/rwlock_api_smp.h:213: error: 'rwlock_t' has no member named 'raw_lock'
- include/linux/rwlock_api_smp.h: In function '__raw_write_unlock':
- include/linux/rwlock_api_smp.h:221: error: implicit declaration of function 'arch_write_unlock'
- include/linux/rwlock_api_smp.h:221: error: 'rwlock_t' has no member named 'raw_lock'
- include/linux/rwlock_api_smp.h: In function '__raw_read_unlock':
- include/linux/rwlock_api_smp.h:228: error: implicit declaration of function 'arch_read_unlock'
- include/linux/rwlock_api_smp.h:228: error: 'rwlock_t' has no member named 'raw_lock'
- include/linux/rwlock_api_smp.h: In function '__raw_read_unlock_irqrestore':
- include/linux/rwlock_api_smp.h:236: error: 'rwlock_t' has no member named 'raw_lock'
- include/linux/rwlock_api_smp.h: In function '__raw_read_unlock_irq':
- include/linux/rwlock_api_smp.h:244: error: 'rwlock_t' has no member named 'raw_lock'
- include/linux/rwlock_api_smp.h: In function '__raw_read_unlock_bh':
- include/linux/rwlock_api_smp.h:252: error: 'rwlock_t' has no member named 'raw_lock'
- include/linux/rwlock_api_smp.h: In function '__raw_write_unlock_irqrestore':
- include/linux/rwlock_api_smp.h:261: error: 'rwlock_t' has no member named 'raw_lock'
- include/linux/rwlock_api_smp.h: In function '__raw_write_unlock_irq':
- include/linux/rwlock_api_smp.h:269: error: 'rwlock_t' has no member named 'raw_lock'
- include/linux/rwlock_api_smp.h: In function '__raw_write_unlock_bh':
- include/linux/rwlock_api_smp.h:277: error: 'rwlock_t' has no member named 'raw_lock'
- In file included from include/linux/seqlock.h:29,
- from include/linux/time.h:8,
- from include/linux/stat.h:60,
- from include/linux/module.h:10,
- from /tmp/vbox.0/test.c:11:
- include/linux/spinlock.h: In function 'spin_unlock_wait':
- include/linux/spinlock.h:359: error: implicit declaration of function 'arch_spin_unlock_wait'
- include/linux/spinlock.h:359: error: 'struct raw_spinlock' has no member named 'raw_lock'
- include/linux/spinlock.h: In function 'spin_is_locked':
- include/linux/spinlock.h:364: error: implicit declaration of function 'arch_spin_is_locked'
- include/linux/spinlock.h:364: error: 'struct raw_spinlock' has no member named 'raw_lock'
- include/linux/spinlock.h: In function 'spin_can_lock':
- include/linux/spinlock.h:374: error: 'struct raw_spinlock' has no member named 'raw_lock'
- include/linux/spinlock.h: In function 'assert_spin_locked':
- include/linux/spinlock.h:379: error: implicit declaration of function 'BUG_ON'
- include/linux/spinlock.h:379: error: 'struct raw_spinlock' has no member named 'raw_lock'
- include/linux/spinlock.h:386:24: error: asm/atomic.h: No such file or directory
- In file included from include/linux/time.h:8,
- from include/linux/stat.h:60,
- from include/linux/module.h:10,
- from /tmp/vbox.0/test.c:11:
- include/linux/seqlock.h: In function 'write_seqlock':
- include/linux/seqlock.h:64: error: implicit declaration of function 'smp_wmb'
- include/linux/seqlock.h: In function 'read_seqbegin':
- include/linux/seqlock.h:92: error: implicit declaration of function 'smp_rmb'
- include/linux/seqlock.h:94: error: implicit declaration of function 'cpu_relax'
- In file included from include/linux/time.h:9,
- from include/linux/stat.h:60,
- from include/linux/module.h:10,
- from /tmp/vbox.0/test.c:11:
- include/linux/math64.h:7:5: warning: "BITS_PER_LONG" is not defined
- include/linux/math64.h:38:7: warning: "BITS_PER_LONG" is not defined
- In file included from include/linux/time.h:9,
- from include/linux/stat.h:60,
- from include/linux/module.h:10,
- from /tmp/vbox.0/test.c:11:
- include/linux/math64.h: At top level:
- include/linux/math64.h:66: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'div_u64'
- include/linux/math64.h:77: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'div_s64'
- include/linux/math64.h:84: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'iter_div_u64_rem'
- include/linux/math64.h:87: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__iter_div_u64_rem'
- In file included from include/linux/stat.h:60,
- from include/linux/module.h:10,
- from /tmp/vbox.0/test.c:11:
- include/linux/time.h:15: error: expected specifier-qualifier-list before '__kernel_time_t'
- include/linux/time.h:21: error: expected specifier-qualifier-list before '__kernel_time_t'
- include/linux/time.h: In function 'timespec_equal':
- include/linux/time.h:48: error: 'const struct timespec' has no member named 'tv_sec'
- include/linux/time.h:48: error: 'const struct timespec' has no member named 'tv_sec'
- include/linux/time.h:48: error: 'const struct timespec' has no member named 'tv_nsec'
- include/linux/time.h:48: error: 'const struct timespec' has no member named 'tv_nsec'
- include/linux/time.h: In function 'timespec_compare':
- include/linux/time.h:58: error: 'const struct timespec' has no member named 'tv_sec'
- include/linux/time.h:58: error: 'const struct timespec' has no member named 'tv_sec'
- include/linux/time.h:60: error: 'const struct timespec' has no member named 'tv_sec'
- include/linux/time.h:60: error: 'const struct timespec' has no member named 'tv_sec'
- include/linux/time.h:62: error: 'const struct timespec' has no member named 'tv_nsec'
- include/linux/time.h:62: error: 'const struct timespec' has no member named 'tv_nsec'
- include/linux/time.h: In function 'timeval_compare':
- include/linux/time.h:67: error: 'const struct timeval' has no member named 'tv_sec'
- include/linux/time.h:67: error: 'const struct timeval' has no member named 'tv_sec'
- include/linux/time.h:69: error: 'const struct timeval' has no member named 'tv_sec'
- include/linux/time.h:69: error: 'const struct timeval' has no member named 'tv_sec'
- include/linux/time.h:71: error: 'const struct timeval' has no member named 'tv_usec'
- include/linux/time.h:71: error: 'const struct timeval' has no member named 'tv_usec'
- include/linux/time.h: At top level:
- include/linux/time.h:78: error: expected declaration specifiers or '...' before 'time_t'
- include/linux/time.h:78: error: expected declaration specifiers or '...' before 's64'
- include/linux/time.h: In function 'timespec_sub':
- include/linux/time.h:89: error: 'struct timespec' has no member named 'tv_sec'
- include/linux/time.h:89: error: 'struct timespec' has no member named 'tv_sec'
- include/linux/time.h:90: error: 'struct timespec' has no member named 'tv_nsec'
- include/linux/time.h:90: error: 'struct timespec' has no member named 'tv_nsec'
- include/linux/time.h:90: error: too many arguments to function 'set_normalized_timespec'
- include/linux/time.h: At top level:
- include/linux/time.h:131: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'arch_gettimeoffset'
- include/linux/time.h:151: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'timekeeping_max_deferment'
- include/linux/time.h:153: error: expected ')' before 'nsec'
- include/linux/time.h:185: error: expected ')' before 'totalsecs'
- include/linux/time.h:194: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'timespec_to_ns'
- include/linux/time.h:206: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'timeval_to_ns'
- include/linux/time.h:218: warning: type defaults to 'int' in declaration of 's64'
- include/linux/time.h:218: error: expected ';', ',' or ')' before 'nsec'
- include/linux/time.h:226: warning: type defaults to 'int' in declaration of 's64'
- include/linux/time.h:226: error: expected ';', ',' or ')' before 'nsec'
- include/linux/time.h:236: error: expected declaration specifiers or '...' before 'u64'
- include/linux/time.h: In function 'timespec_add_ns':
- include/linux/time.h:238: error: 'struct timespec' has no member named 'tv_sec'
- include/linux/time.h:238: error: implicit declaration of function '__iter_div_u64_rem'
- include/linux/time.h:238: error: 'struct timespec' has no member named 'tv_nsec'
- include/linux/time.h:238: error: 'ns' undeclared (first use in this function)
- include/linux/time.h:239: error: 'struct timespec' has no member named 'tv_nsec'
- In file included from include/linux/module.h:10,
- from /tmp/vbox.0/test.c:11:
- include/linux/stat.h: At top level:
- include/linux/stat.h:63: error: expected specifier-qualifier-list before 'u64'
- In file included from include/linux/mmzone.h:9,
- from include/linux/gfp.h:4,
- from include/linux/kmod.h:22,
- from include/linux/module.h:13,
- from /tmp/vbox.0/test.c:11:
- include/linux/wait.h:26:25: error: asm/current.h: No such file or directory
- In file included from include/linux/bitmap.h:8,
- from include/linux/nodemask.h:93,
- from include/linux/mmzone.h:16,
- from include/linux/gfp.h:4,
- from include/linux/kmod.h:22,
- from include/linux/module.h:13,
- from /tmp/vbox.0/test.c:11:
- include/linux/string.h:16: error: expected declaration specifiers or '...' before 'size_t'
- In file included from include/linux/bitmap.h:8,
- from include/linux/nodemask.h:93,
- from include/linux/mmzone.h:16,
- from include/linux/gfp.h:4,
- from include/linux/kmod.h:22,
- from include/linux/module.h:13,
- from /tmp/vbox.0/test.c:11:
- include/linux/string.h:21:24: error: asm/string.h: No such file or directory
- include/linux/string.h:27: error: expected declaration specifiers or '...' before '__kernel_size_t'
- include/linux/string.h:30: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'strlcpy'
- include/linux/string.h:36: error: expected declaration specifiers or '...' before '__kernel_size_t'
- include/linux/string.h:39: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'strlcat'
- include/linux/string.h:45: error: expected declaration specifiers or '...' before '__kernel_size_t'
- include/linux/string.h:48: error: expected declaration specifiers or '...' before '__kernel_size_t'
- include/linux/string.h:54: error: expected declaration specifiers or '...' before 'size_t'
- include/linux/string.h:60: error: expected declaration specifiers or '...' before 'size_t'
- include/linux/string.h:78: error: expected declaration specifiers or '...' before 'size_t'
- include/linux/string.h:81: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'strlen'
- include/linux/string.h:84: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'strnlen'
- include/linux/string.h:93: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'strspn'
- include/linux/string.h:96: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'strcspn'
- include/linux/string.h:100: error: expected declaration specifiers or '...' before '__kernel_size_t'
- include/linux/string.h:103: error: expected declaration specifiers or '...' before '__kernel_size_t'
- include/linux/string.h:106: error: expected declaration specifiers or '...' before '__kernel_size_t'
- include/linux/string.h:109: error: expected declaration specifiers or '...' before '__kernel_size_t'
- include/linux/string.h:112: error: expected declaration specifiers or '...' before '__kernel_size_t'
- include/linux/string.h:115: error: expected declaration specifiers or '...' before '__kernel_size_t'
- include/linux/string.h:119: error: expected declaration specifiers or '...' before 'size_t'
- include/linux/string.h:120: error: expected declaration specifiers or '...' before 'size_t'
- include/linux/string.h:133: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'memory_read_from_buffer'
- include/linux/string.h: In function 'strstarts':
- include/linux/string.h:143: error: implicit declaration of function 'strlen'
- include/linux/string.h:143: error: too many arguments to function 'strncmp'
- In file included from include/linux/nodemask.h:93,
- from include/linux/mmzone.h:16,
- from include/linux/gfp.h:4,
- from include/linux/kmod.h:22,
- from include/linux/module.h:13,
- from /tmp/vbox.0/test.c:11:
- include/linux/bitmap.h: In function 'bitmap_zero':
- include/linux/bitmap.h:156: error: 'BITS_PER_LONG' undeclared (first use in this function)
- include/linux/bitmap.h:160: error: too many arguments to function 'memset'
- include/linux/bitmap.h: In function 'bitmap_fill':
- include/linux/bitmap.h:166: error: 'size_t' undeclared (first use in this function)
- include/linux/bitmap.h:166: error: expected ';' before 'nlongs'
- include/linux/bitmap.h:167: error: 'BITS_PER_LONG' undeclared (first use in this function)
- include/linux/bitmap.h:168: error: 'nlongs' undeclared (first use in this function)
- include/linux/bitmap.h:169: error: too many arguments to function 'memset'
- include/linux/bitmap.h: In function 'bitmap_copy':
- include/linux/bitmap.h:177: error: 'BITS_PER_LONG' undeclared (first use in this function)
- include/linux/bitmap.h:181: error: too many arguments to function 'memcpy'
- include/linux/bitmap.h: In function 'bitmap_and':
- include/linux/bitmap.h:188: error: 'BITS_PER_LONG' undeclared (first use in this function)
- include/linux/bitmap.h: In function 'bitmap_or':
- include/linux/bitmap.h:196: error: 'BITS_PER_LONG' undeclared (first use in this function)
- include/linux/bitmap.h: In function 'bitmap_xor':
- include/linux/bitmap.h:205: error: 'BITS_PER_LONG' undeclared (first use in this function)
- include/linux/bitmap.h: In function 'bitmap_andnot':
- include/linux/bitmap.h:214: error: 'BITS_PER_LONG' undeclared (first use in this function)
- include/linux/bitmap.h: In function 'bitmap_complement':
- include/linux/bitmap.h:222: error: 'BITS_PER_LONG' undeclared (first use in this function)
- include/linux/bitmap.h: In function 'bitmap_equal':
- include/linux/bitmap.h:231: error: 'BITS_PER_LONG' undeclared (first use in this function)
- include/linux/bitmap.h: In function 'bitmap_intersects':
- include/linux/bitmap.h:240: error: 'BITS_PER_LONG' undeclared (first use in this function)
- include/linux/bitmap.h: In function 'bitmap_subset':
- include/linux/bitmap.h:249: error: 'BITS_PER_LONG' undeclared (first use in this function)
- include/linux/bitmap.h: In function 'bitmap_empty':
- include/linux/bitmap.h:257: error: 'BITS_PER_LONG' undeclared (first use in this function)
- include/linux/bitmap.h: In function 'bitmap_full':
- include/linux/bitmap.h:265: error: 'BITS_PER_LONG' undeclared (first use in this function)
- include/linux/bitmap.h: In function 'bitmap_weight':
- include/linux/bitmap.h:273: error: 'BITS_PER_LONG' undeclared (first use in this function)
- include/linux/bitmap.h: In function 'bitmap_shift_right':
- include/linux/bitmap.h:281: error: 'BITS_PER_LONG' undeclared (first use in this function)
- include/linux/bitmap.h: In function 'bitmap_shift_left':
- include/linux/bitmap.h:290: error: 'BITS_PER_LONG' undeclared (first use in this function)
- In file included from include/linux/mmzone.h:16,
- from include/linux/gfp.h:4,
- from include/linux/kmod.h:22,
- from include/linux/module.h:13,
- from /tmp/vbox.0/test.c:11:
- include/linux/nodemask.h:272:21: warning: "BITS_PER_LONG" is not defined
- In file included from include/linux/gfp.h:4,
- from include/linux/kmod.h:22,
- from include/linux/module.h:13,
- from /tmp/vbox.0/test.c:11:
- include/linux/mmzone.h:20:22: error: asm/page.h: No such file or directory
- In file included from include/linux/gfp.h:4,
- from include/linux/kmod.h:22,
- from include/linux/module.h:13,
- from /tmp/vbox.0/test.c:11:
- include/linux/mmzone.h: At top level:
- include/linux/mmzone.h:73: error: 'L1_CACHE_SHIFT' undeclared here (not in a function)
- include/linux/mmzone.h:73: error: requested alignment is not a constant
- include/linux/mmzone.h:184: error: expected specifier-qualifier-list before 's8'
- include/linux/mmzone.h:339: error: expected specifier-qualifier-list before 'atomic_long_t'
- include/linux/mmzone.h:418: error: requested alignment is not a constant
- In file included from include/linux/notifier.h:12,
- from include/linux/memory_hotplug.h:6,
- from include/linux/mmzone.h:642,
- from include/linux/gfp.h:4,
- from include/linux/kmod.h:22,
- from include/linux/module.h:13,
- from /tmp/vbox.0/test.c:11:
- include/linux/errno.h:4:23: error: asm/errno.h: No such file or directory
- In file included from include/linux/notifier.h:13,
- from include/linux/memory_hotplug.h:6,
- from include/linux/mmzone.h:642,
- from include/linux/gfp.h:4,
- from include/linux/kmod.h:22,
- from include/linux/module.h:13,
- from /tmp/vbox.0/test.c:11:
- include/linux/mutex.h: In function 'mutex_is_locked':
- include/linux/mutex.h:118: error: implicit declaration of function 'atomic_read'
- In file included from include/linux/notifier.h:14,
- from include/linux/memory_hotplug.h:6,
- from include/linux/mmzone.h:642,
- from include/linux/gfp.h:4,
- from include/linux/kmod.h:22,
- from include/linux/module.h:13,
- from /tmp/vbox.0/test.c:11:
- include/linux/rwsem.h:22:65: error: asm/rwsem.h: No such file or directory
- In file included from include/linux/memory_hotplug.h:6,
- from include/linux/mmzone.h:642,
- from include/linux/gfp.h:4,
- from include/linux/kmod.h:22,
- from include/linux/module.h:13,
- from /tmp/vbox.0/test.c:11:
- include/linux/notifier.h: At top level:
- include/linux/notifier.h:62: error: field 'rwsem' has incomplete type
- In file included from include/linux/mmzone.h:642,
- from include/linux/gfp.h:4,
- from include/linux/kmod.h:22,
- from include/linux/module.h:13,
- from /tmp/vbox.0/test.c:11:
- include/linux/memory_hotplug.h: In function 'mhp_notimplemented':
- include/linux/memory_hotplug.h:184: error: 'ENOSYS' undeclared (first use in this function)
- include/linux/memory_hotplug.h: At top level:
- include/linux/memory_hotplug.h:205: error: expected declaration specifiers or '...' before 'u64'
- include/linux/memory_hotplug.h:205: error: expected declaration specifiers or '...' before 'u64'
- include/linux/memory_hotplug.h:206: error: expected declaration specifiers or '...' before 'u64'
- include/linux/memory_hotplug.h:206: error: expected declaration specifiers or '...' before 'u64'
- include/linux/memory_hotplug.h:207: error: expected ')' before 'start'
- In file included from include/linux/gfp.h:4,
- from include/linux/kmod.h:22,
- from include/linux/module.h:13,
- from /tmp/vbox.0/test.c:11:
- include/linux/mmzone.h: In function 'populated_zone':
- include/linux/mmzone.h:675: error: 'struct zone' has no member named 'present_pages'
- include/linux/mmzone.h: In function 'is_highmem':
- include/linux/mmzone.h:713: error: 'struct zone' has no member named 'zone_pgdat'
- include/linux/mmzone.h: In function 'is_normal':
- include/linux/mmzone.h:724: error: 'struct zone' has no member named 'zone_pgdat'
- include/linux/mmzone.h: In function 'is_dma':
- include/linux/mmzone.h:739: error: 'struct zone' has no member named 'zone_pgdat'
- include/linux/mmzone.h: At top level:
- include/linux/mmzone.h:748: error: expected declaration specifiers or '...' before 'size_t'
- include/linux/mmzone.h:748: error: expected declaration specifiers or '...' before 'loff_t'
- include/linux/mmzone.h:751: error: expected declaration specifiers or '...' before 'size_t'
- include/linux/mmzone.h:751: error: expected declaration specifiers or '...' before 'loff_t'
- include/linux/mmzone.h:753: error: expected declaration specifiers or '...' before 'size_t'
- include/linux/mmzone.h:753: error: expected declaration specifiers or '...' before 'loff_t'
- include/linux/mmzone.h:755: error: expected declaration specifiers or '...' before 'size_t'
- include/linux/mmzone.h:755: error: expected declaration specifiers or '...' before 'loff_t'
- include/linux/mmzone.h:757: error: expected declaration specifiers or '...' before 'size_t'
- include/linux/mmzone.h:757: error: expected declaration specifiers or '...' before 'loff_t'
- include/linux/mmzone.h:760: error: expected declaration specifiers or '...' before 'size_t'
- include/linux/mmzone.h:760: error: expected declaration specifiers or '...' before 'loff_t'
- In file included from include/linux/topology.h:30,
- from include/linux/gfp.h:7,
- from include/linux/kmod.h:22,
- from include/linux/module.h:13,
- from /tmp/vbox.0/test.c:11:
- include/linux/cpumask.h:583: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'cpumask_size'
- include/linux/cpumask.h:705: error: 'BITS_PER_LONG' undeclared here (not in a function)
- In file included from include/linux/topology.h:30,
- from include/linux/gfp.h:7,
- from include/linux/kmod.h:22,
- from include/linux/module.h:13,
- from /tmp/vbox.0/test.c:11:
- include/linux/cpumask.h:716:16: warning: "BITS_PER_LONG" is not defined
- include/linux/cpumask.h:747:16: warning: "BITS_PER_LONG" is not defined
- In file included from include/linux/topology.h:33,
- from include/linux/gfp.h:7,
- from include/linux/kmod.h:22,
- from include/linux/module.h:13,
- from /tmp/vbox.0/test.c:11:
- include/linux/smp.h:20: error: expected specifier-qualifier-list before 'u16'
- In file included from include/linux/topology.h:33,
- from include/linux/gfp.h:7,
- from include/linux/kmod.h:22,
- from include/linux/module.h:13,
- from /tmp/vbox.0/test.c:11:
- include/linux/smp.h:36:21: error: asm/smp.h: No such file or directory
- In file included from include/linux/gfp.h:7,
- from include/linux/kmod.h:22,
- from include/linux/module.h:13,
- from /tmp/vbox.0/test.c:11:
- include/linux/topology.h:34:26: error: asm/topology.h: No such file or directory
- In file included from include/linux/kmod.h:22,
- from include/linux/module.h:13,
- from /tmp/vbox.0/test.c:11:
- include/linux/gfp.h: In function 'allocflags_to_migratetype':
- include/linux/gfp.h:123: error: implicit declaration of function 'WARN_ON'
- In file included from include/linux/kmod.h:22,
- from include/linux/module.h:13,
- from /tmp/vbox.0/test.c:11:
- include/linux/gfp.h:184:24: warning: "BITS_PER_LONG" is not defined
- include/linux/gfp.h:185:2: error: #error ZONES_SHIFT too large to create GFP_ZONE_TABLE integer
- include/linux/gfp.h: In function 'alloc_pages_node':
- include/linux/gfp.h:286: error: implicit declaration of function 'cpu_to_node'
- include/linux/gfp.h:286: error: implicit declaration of function 'raw_smp_processor_id'
- include/linux/gfp.h: At top level:
- include/linux/gfp.h:319: error: expected ')' before 'size'
- include/linux/gfp.h:320: error: expected declaration specifiers or '...' before 'size_t'
- In file included from include/linux/module.h:13,
- from /tmp/vbox.0/test.c:11:
- include/linux/kmod.h: In function 'call_usermodehelper':
- include/linux/kmod.h:83: error: 'ENOMEM' undeclared (first use in this function)
- include/linux/kmod.h: In function 'call_usermodehelper_keys':
- include/linux/kmod.h:96: error: 'ENOMEM' undeclared (first use in this function)
- In file included from include/linux/module.h:14,
- from /tmp/vbox.0/test.c:11:
- include/linux/elf.h:7:21: error: asm/elf.h: No such file or directory
- In file included from include/linux/module.h:14,
- from /tmp/vbox.0/test.c:11:
- include/linux/elf.h: At top level:
- include/linux/elf.h:20: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'Elf32_Addr'
- include/linux/elf.h:21: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'Elf32_Half'
- include/linux/elf.h:22: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'Elf32_Off'
- include/linux/elf.h:23: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'Elf32_Sword'
- include/linux/elf.h:24: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'Elf32_Word'
- include/linux/elf.h:27: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'Elf64_Addr'
- include/linux/elf.h:28: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'Elf64_Half'
- include/linux/elf.h:29: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'Elf64_SHalf'
- include/linux/elf.h:30: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'Elf64_Off'
- include/linux/elf.h:31: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'Elf64_Sword'
- include/linux/elf.h:32: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'Elf64_Word'
- include/linux/elf.h:33: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'Elf64_Xword'
- include/linux/elf.h:34: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'Elf64_Sxword'
- include/linux/elf.h:150: error: expected specifier-qualifier-list before 'Elf32_Sword'
- include/linux/elf.h:158: error: expected specifier-qualifier-list before 'Elf64_Sxword'
- include/linux/elf.h:173: error: expected specifier-qualifier-list before 'Elf32_Addr'
- include/linux/elf.h:178: error: expected specifier-qualifier-list before 'Elf64_Addr'
- include/linux/elf.h:183: error: expected specifier-qualifier-list before 'Elf32_Addr'
- include/linux/elf.h:189: error: expected specifier-qualifier-list before 'Elf64_Addr'
- include/linux/elf.h:195: error: expected specifier-qualifier-list before 'Elf32_Word'
- include/linux/elf.h:204: error: expected specifier-qualifier-list before 'Elf64_Word'
- include/linux/elf.h:217: error: expected specifier-qualifier-list before 'Elf32_Half'
- include/linux/elf.h:234: error: expected specifier-qualifier-list before 'Elf64_Half'
- include/linux/elf.h:256: error: expected specifier-qualifier-list before 'Elf32_Word'
- include/linux/elf.h:267: error: expected specifier-qualifier-list before 'Elf64_Word'
- include/linux/elf.h:312: error: expected specifier-qualifier-list before 'Elf32_Word'
- include/linux/elf.h:325: error: expected specifier-qualifier-list before 'Elf64_Word'
- include/linux/elf.h:401: error: expected specifier-qualifier-list before 'Elf32_Word'
- include/linux/elf.h:408: error: expected specifier-qualifier-list before 'Elf64_Word'
- include/linux/elf.h:414:5: warning: "ELF_CLASS" is not defined
- include/linux/elf.h:440: error: expected declaration specifiers or '...' before 'loff_t'
- In file included from include/linux/kobject.h:21,
- from include/linux/module.h:16,
- from /tmp/vbox.0/test.c:11:
- include/linux/sysfs.h:32: error: expected specifier-qualifier-list before 'mode_t'
- include/linux/sysfs.h:62: error: expected specifier-qualifier-list before 'mode_t'
- include/linux/sysfs.h:93: error: expected specifier-qualifier-list before 'size_t'
- include/linux/sysfs.h:116: error: expected specifier-qualifier-list before 'ssize_t'
- include/linux/sysfs.h:138: error: expected declaration specifiers or '...' before 'mode_t'
- In file included from include/linux/module.h:16,
- from /tmp/vbox.0/test.c:11:
- include/linux/kobject.h:37: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'uevent_seqnum'
- include/linux/kobject.h:129: error: expected specifier-qualifier-list before 'ssize_t'
- include/linux/kobject.h:209: error: expected declaration specifiers or '...' before 'size_t'
- In file included from include/linux/module.h:17,
- from /tmp/vbox.0/test.c:11:
- include/linux/moduleparam.h:44: error: expected specifier-qualifier-list before 'u16'
- In file included from include/linux/module.h:20,
- from /tmp/vbox.0/test.c:11:
- include/linux/percpu.h:10:24: error: asm/percpu.h: No such file or directory
- include/linux/percpu.h:58:5: warning: "BITS_PER_LONG" is not defined
- In file included from include/linux/module.h:20,
- from /tmp/vbox.0/test.c:11:
- include/linux/percpu.h:75: error: expected specifier-qualifier-list before 'size_t'
- include/linux/percpu.h:97: error: expected declaration specifiers or '...' before 'size_t'
- include/linux/percpu.h:98: error: expected declaration specifiers or '...' before 'size_t'
- include/linux/percpu.h:99: error: expected declaration specifiers or '...' before 'size_t'
- include/linux/percpu.h:108: error: expected ')' before 'reserved_size'
- include/linux/percpu.h:116: error: expected ')' before 'reserved_size'
- include/linux/percpu.h:124: error: expected ')' before 'reserved_size'
- include/linux/percpu.h:137: error: expected ')' before 'size'
- include/linux/percpu.h:163: error: expected ')' before 'size'
- include/linux/percpu.h:165: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'per_cpu_ptr_to_phys'
- In file included from /tmp/vbox.0/test.c:11:
- include/linux/module.h:21:24: error: asm/module.h: No such file or directory
- In file included from include/linux/module.h:23,
- from /tmp/vbox.0/test.c:11:
- include/trace/events/module.h: In function 'register_trace_module_load':
- include/trace/events/module.h:18: error: 'ENOSYS' undeclared (first use in this function)
- include/trace/events/module.h: In function 'unregister_trace_module_load':
- include/trace/events/module.h:18: error: 'ENOSYS' undeclared (first use in this function)
- include/trace/events/module.h: In function 'register_trace_module_free':
- include/trace/events/module.h:37: error: 'ENOSYS' undeclared (first use in this function)
- include/trace/events/module.h: In function 'unregister_trace_module_free':
- include/trace/events/module.h:37: error: 'ENOSYS' undeclared (first use in this function)
- include/trace/events/module.h: In function 'register_trace_module_get':
- include/trace/events/module.h:76: error: 'ENOSYS' undeclared (first use in this function)
- include/trace/events/module.h: In function 'unregister_trace_module_get':
- include/trace/events/module.h:76: error: 'ENOSYS' undeclared (first use in this function)
- include/trace/events/module.h: In function 'register_trace_module_put':
- include/trace/events/module.h:83: error: 'ENOSYS' undeclared (first use in this function)
- include/trace/events/module.h: In function 'unregister_trace_module_put':
- include/trace/events/module.h:83: error: 'ENOSYS' undeclared (first use in this function)
- include/trace/events/module.h: In function 'register_trace_module_request':
- include/trace/events/module.h:90: error: 'ENOSYS' undeclared (first use in this function)
- include/trace/events/module.h: In function 'unregister_trace_module_request':
- include/trace/events/module.h:90: error: 'ENOSYS' undeclared (first use in this function)
- In file included from /tmp/vbox.0/test.c:11:
- include/linux/module.h: At top level:
- include/linux/module.h:53: error: expected specifier-qualifier-list before 'ssize_t'
- include/linux/module.h:305: error: field 'arch' has incomplete type
- include/linux/module.h:322: error: expected specifier-qualifier-list before 'Elf_Sym'
- include/linux/module.h: In function '__module_get':
- include/linux/module.h:467: error: implicit declaration of function '__verify_pcpu_ptr'
- include/linux/module.h:467: error: 'struct module' has no member named 'refptr'
- include/linux/module.h:467: error: 'struct module' has no member named 'refptr'
- include/linux/module.h:467: error: implicit declaration of function '__this_cpu_ptr'
- include/linux/module.h:467: error: 'struct module' has no member named 'refptr'
- include/linux/module.h:467: error: invalid type argument of 'unary *' (have 'int')
- include/linux/module.h:467: error: 'struct module' has no member named 'refptr'
- include/linux/module.h:467: error: invalid type argument of 'unary *' (have 'int')
- include/linux/module.h:467: error: 'struct module' has no member named 'refptr'
- include/linux/module.h:467: error: invalid type argument of 'unary *' (have 'int')
- include/linux/module.h:467: error: 'struct module' has no member named 'refptr'
- include/linux/module.h:467: error: invalid type argument of 'unary *' (have 'int')
- include/linux/module.h:469: error: 'struct module' has no member named 'refptr'
- include/linux/module.h:469: warning: type defaults to 'int' in declaration of 'pscr_ret__'
- include/linux/module.h:469: error: 'struct module' has no member named 'refptr'
- include/linux/module.h:469: error: 'struct module' has no member named 'refptr'
- include/linux/module.h:469: error: 'struct module' has no member named 'refptr'
- include/linux/module.h:469: error: invalid type argument of 'unary *' (have 'int')
- include/linux/module.h:469: error: 'struct module' has no member named 'refptr'
- include/linux/module.h:469: error: invalid type argument of 'unary *' (have 'int')
- include/linux/module.h:469: error: 'struct module' has no member named 'refptr'
- include/linux/module.h:469: error: invalid type argument of 'unary *' (have 'int')
- include/linux/module.h:469: error: 'struct module' has no member named 'refptr'
- include/linux/module.h:469: error: invalid type argument of 'unary *' (have 'int')
- include/linux/module.h: In function 'try_module_get':
- include/linux/module.h:482: error: 'struct module' has no member named 'refptr'
- include/linux/module.h:482: error: 'struct module' has no member named 'refptr'
- include/linux/module.h:482: error: 'struct module' has no member named 'refptr'
- include/linux/module.h:482: error: invalid type argument of 'unary *' (have 'int')
- include/linux/module.h:482: error: 'struct module' has no member named 'refptr'
- include/linux/module.h:482: error: invalid type argument of 'unary *' (have 'int')
- include/linux/module.h:482: error: 'struct module' has no member named 'refptr'
- include/linux/module.h:482: error: invalid type argument of 'unary *' (have 'int')
- include/linux/module.h:482: error: 'struct module' has no member named 'refptr'
- include/linux/module.h:482: error: invalid type argument of 'unary *' (have 'int')
- include/linux/module.h:484: error: 'struct module' has no member named 'refptr'
- include/linux/module.h:484: warning: type defaults to 'int' in declaration of 'pscr_ret__'
- include/linux/module.h:484: error: 'struct module' has no member named 'refptr'
- include/linux/module.h:484: error: 'struct module' has no member named 'refptr'
- include/linux/module.h:484: error: 'struct module' has no member named 'refptr'
- include/linux/module.h:484: error: invalid type argument of 'unary *' (have 'int')
- include/linux/module.h:484: error: 'struct module' has no member named 'refptr'
- include/linux/module.h:484: error: invalid type argument of 'unary *' (have 'int')
- include/linux/module.h:484: error: 'struct module' has no member named 'refptr'
- include/linux/module.h:484: error: invalid type argument of 'unary *' (have 'int')
- include/linux/module.h:484: error: 'struct module' has no member named 'refptr'
- include/linux/module.h:484: error: invalid type argument of 'unary *' (have 'int')
- include/linux/module.h: At top level:
- include/linux/module.h:715: warning: type defaults to 'int' in declaration of 'Elf_Ehdr'
- include/linux/module.h:715: error: expected ';', ',' or ')' before '*' token
- make[2]: *** [/tmp/vbox.0/test.o] Error 1
- make[1]: *** [_module_/tmp/vbox.0] Error 2
- make: *** [vboxadd_test] Error 2
- Creating user for the Guest Additions.
- Creating udev rule for the Guest Additions kernel module.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement