Created
July 7, 2015 21:26
-
-
Save fijam/72c6c347b2a3705c59bf to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
gcc -Wextra -Wall -pedantic -Wno-overlength-strings -pie -fPIE -O2 -g -I/usr/src/linux-headers-4.0.0-2-common/arch/arm/include/ -I/usr/src/linux-header s-4.0.0-2-common/include/ -D_FORTIFY_SOURCE=2 -fstack-protector-strong -fwrapv --param ssp-buffer-size=4 -I../lib -c -o kcapi-main.o kcapi-main.c | |
In file included from /usr/src/linux-headers-4.0.0-2-common/arch/arm/include/asm/types.h:4:0, | |
from kcapi-main.c:42: | |
/usr/src/linux-headers-4.0.0-2-common/include/asm-generic/int-ll64.h:24:21: warning: ISO C90 does not support ‘long long’ [-Wlong-long] | |
typedef signed long long s64; | |
^ | |
/usr/src/linux-headers-4.0.0-2-common/include/asm-generic/int-ll64.h:25:23: warning: ISO C90 does not support ‘long long’ [-Wlong-long] | |
typedef unsigned long long u64; | |
^ | |
In file included from /usr/src/linux-headers-4.0.0-2-common/arch/arm/include/asm/memory.h:16:0, | |
from /usr/src/linux-headers-4.0.0-2-common/arch/arm/include/asm/page.h:163, | |
from kcapi-main.c:43: | |
/usr/src/linux-headers-4.0.0-2-common/include/linux/compiler.h:36:32: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] | |
# define __builtin_warning(x, y...) (1) | |
^ | |
In file included from /usr/src/linux-headers-4.0.0-2-common/arch/arm/include/asm/memory.h:18:0, | |
from /usr/src/linux-headers-4.0.0-2-common/arch/arm/include/asm/page.h:163, | |
from kcapi-main.c:43: | |
/usr/src/linux-headers-4.0.0-2-common/include/linux/types.h:14:26: error: conflicting types for ‘fd_set’ | |
typedef __kernel_fd_set fd_set; | |
^ | |
In file included from /usr/include/arm-linux-gnueabi/sys/types.h:219:0, | |
from /usr/include/arm-linux-gnueabi/bits/uio.h:25, | |
from /usr/include/arm-linux-gnueabi/bits/fcntl-linux.h:38, | |
from /usr/include/arm-linux-gnueabi/bits/fcntl.h:54, | |
from /usr/include/fcntl.h:35, | |
from kcapi-main.c:40: | |
/usr/include/arm-linux-gnueabi/sys/select.h:75:5: note: previous declaration of ‘fd_set’ was here | |
} fd_set; | |
^ | |
In file included from /usr/src/linux-headers-4.0.0-2-common/arch/arm/include/asm/memory.h:18:0, | |
from /usr/src/linux-headers-4.0.0-2-common/arch/arm/include/asm/page.h:163, | |
from kcapi-main.c:43: | |
/usr/src/linux-headers-4.0.0-2-common/include/linux/types.h:15:25: error: conflicting types for ‘dev_t’ | |
typedef __kernel_dev_t dev_t; | |
^ | |
In file included from /usr/include/arm-linux-gnueabi/bits/uio.h:25:0, | |
from /usr/include/arm-linux-gnueabi/bits/fcntl-linux.h:38, | |
from /usr/include/arm-linux-gnueabi/bits/fcntl.h:54, | |
from /usr/include/fcntl.h:35, | |
from kcapi-main.c:40: | |
/usr/include/arm-linux-gnueabi/sys/types.h:60:17: note: previous declaration of ‘dev_t’ was here | |
typedef __dev_t dev_t; | |
^ | |
In file included from /usr/src/linux-headers-4.0.0-2-common/arch/arm/include/asm/memory.h:18:0, | |
from /usr/src/linux-headers-4.0.0-2-common/arch/arm/include/asm/page.h:163, | |
from kcapi-main.c:43: | |
/usr/src/linux-headers-4.0.0-2-common/include/linux/types.h:17:26: error: conflicting types for ‘mode_t’ | |
typedef __kernel_mode_t mode_t; | |
^ | |
In file included from /usr/include/arm-linux-gnueabi/bits/uio.h:25:0, | |
from /usr/include/arm-linux-gnueabi/bits/fcntl-linux.h:38, | |
from /usr/include/arm-linux-gnueabi/bits/fcntl.h:54, | |
from /usr/include/fcntl.h:35, | |
from kcapi-main.c:40: | |
/usr/include/arm-linux-gnueabi/sys/types.h:70:18: note: previous declaration of ‘mode_t’ was here | |
typedef __mode_t mode_t; | |
^ | |
In file included from /usr/src/linux-headers-4.0.0-2-common/arch/arm/include/asm/memory.h:18:0, | |
from /usr/src/linux-headers-4.0.0-2-common/arch/arm/include/asm/page.h:163, | |
from kcapi-main.c:43: | |
/usr/src/linux-headers-4.0.0-2-common/include/linux/types.h:25:26: error: conflicting types for ‘timer_t’ | |
typedef __kernel_timer_t timer_t; | |
^ | |
In file included from /usr/include/arm-linux-gnueabi/sys/types.h:132:0, | |
from /usr/include/arm-linux-gnueabi/bits/uio.h:25, | |
from /usr/include/arm-linux-gnueabi/bits/fcntl-linux.h:38, | |
from /usr/include/arm-linux-gnueabi/bits/fcntl.h:54, | |
from /usr/include/fcntl.h:35, | |
from kcapi-main.c:40: | |
/usr/include/time.h:103:19: note: previous declaration of ‘timer_t’ was here | |
typedef __timer_t timer_t; | |
^ | |
In file included from /usr/src/linux-headers-4.0.0-2-common/arch/arm/include/asm/memory.h:18:0, | |
from /usr/src/linux-headers-4.0.0-2-common/arch/arm/include/asm/page.h:163, | |
from kcapi-main.c:43: | |
/usr/src/linux-headers-4.0.0-2-common/include/linux/types.h:134:23: error: conflicting types for ‘blkcnt_t’ | |
typedef unsigned long blkcnt_t; | |
^ | |
In file included from /usr/include/arm-linux-gnueabi/bits/uio.h:25:0, | |
from /usr/include/arm-linux-gnueabi/bits/fcntl-linux.h:38, | |
from /usr/include/arm-linux-gnueabi/bits/fcntl.h:54, | |
from /usr/include/fcntl.h:35, | |
from kcapi-main.c:40: | |
/usr/include/arm-linux-gnueabi/sys/types.h:235:20: note: previous declaration of ‘blkcnt_t’ was here | |
typedef __blkcnt_t blkcnt_t; /* Type to count number of disk blocks. */ | |
^ | |
In file included from /usr/src/linux-headers-4.0.0-2-common/arch/arm/include/asm/memory.h:17:0, | |
from /usr/src/linux-headers-4.0.0-2-common/arch/arm/include/asm/page.h:163, | |
from kcapi-main.c:43: | |
/usr/src/linux-headers-4.0.0-2-common/arch/arm/include/asm/memory.h: In function ‘__virt_to_phys’: | |
/usr/src/linux-headers-4.0.0-2-common/arch/arm/include/asm/memory.h:34:25: error: ‘CONFIG_PAGE_OFFSETUL’ undeclared (first use in this function) | |
#define PAGE_OFFSET UL(CONFIG_PAGE_OFFSET) | |
^ | |
/usr/src/linux-headers-4.0.0-2-common/arch/arm/include/asm/memory.h:34:22: note: in expansion of macro ‘UL’ | |
#define PAGE_OFFSET UL(CONFIG_PAGE_OFFSET) | |
^ | |
/usr/src/linux-headers-4.0.0-2-common/arch/arm/include/asm/memory.h:257:26: note: in expansion of macro ‘PAGE_OFFSET’ | |
return (phys_addr_t)x - PAGE_OFFSET + PHYS_OFFSET; | |
^ | |
/usr/src/linux-headers-4.0.0-2-common/arch/arm/include/asm/memory.h:34:25: note: each undeclared identifier is reported only once for each function it appears in | |
#define PAGE_OFFSET UL(CONFIG_PAGE_OFFSET) | |
^ | |
/usr/src/linux-headers-4.0.0-2-common/arch/arm/include/asm/memory.h:34:22: note: in expansion of macro ‘UL’ | |
#define PAGE_OFFSET UL(CONFIG_PAGE_OFFSET) | |
^ | |
/usr/src/linux-headers-4.0.0-2-common/arch/arm/include/asm/memory.h:257:26: note: in expansion of macro ‘PAGE_OFFSET’ | |
return (phys_addr_t)x - PAGE_OFFSET + PHYS_OFFSET; | |
^ | |
/usr/src/linux-headers-4.0.0-2-common/arch/arm/include/asm/memory.h:155:29: error: ‘CONFIG_PHYS_OFFSETUL’ undeclared (first use in this function) | |
#define PLAT_PHYS_OFFSET UL(CONFIG_PHYS_OFFSET) | |
^ | |
/usr/src/linux-headers-4.0.0-2-common/arch/arm/include/asm/memory.h:155:26: note: in expansion of macro ‘UL’ | |
#define PLAT_PHYS_OFFSET UL(CONFIG_PHYS_OFFSET) | |
^ | |
/usr/src/linux-headers-4.0.0-2-common/arch/arm/include/asm/memory.h:252:21: note: in expansion of macro ‘PLAT_PHYS_OFFSET’ | |
#define PHYS_OFFSET PLAT_PHYS_OFFSET | |
^ | |
/usr/src/linux-headers-4.0.0-2-common/arch/arm/include/asm/memory.h:257:40: note: in expansion of macro ‘PHYS_OFFSET’ | |
return (phys_addr_t)x - PAGE_OFFSET + PHYS_OFFSET; | |
^ | |
/usr/src/linux-headers-4.0.0-2-common/arch/arm/include/asm/memory.h: In function ‘__phys_to_virt’: | |
/usr/src/linux-headers-4.0.0-2-common/arch/arm/include/asm/memory.h:155:29: error: ‘CONFIG_PHYS_OFFSETUL’ undeclared (first use in this function) | |
#define PLAT_PHYS_OFFSET UL(CONFIG_PHYS_OFFSET) | |
^ | |
/usr/src/linux-headers-4.0.0-2-common/arch/arm/include/asm/memory.h:155:26: note: in expansion of macro ‘UL’ | |
#define PLAT_PHYS_OFFSET UL(CONFIG_PHYS_OFFSET) | |
^ | |
/usr/src/linux-headers-4.0.0-2-common/arch/arm/include/asm/memory.h:252:21: note: in expansion of macro ‘PLAT_PHYS_OFFSET’ | |
#define PHYS_OFFSET PLAT_PHYS_OFFSET | |
^ | |
/usr/src/linux-headers-4.0.0-2-common/arch/arm/include/asm/memory.h:262:13: note: in expansion of macro ‘PHYS_OFFSET’ | |
return x - PHYS_OFFSET + PAGE_OFFSET; | |
^ | |
/usr/src/linux-headers-4.0.0-2-common/arch/arm/include/asm/memory.h:34:25: error: ‘CONFIG_PAGE_OFFSETUL’ undeclared (first use in this function) | |
#define PAGE_OFFSET UL(CONFIG_PAGE_OFFSET) | |
^ | |
/usr/src/linux-headers-4.0.0-2-common/arch/arm/include/asm/memory.h:34:22: note: in expansion of macro ‘UL’ | |
#define PAGE_OFFSET UL(CONFIG_PAGE_OFFSET) | |
^ | |
/usr/src/linux-headers-4.0.0-2-common/arch/arm/include/asm/memory.h:262:27: note: in expansion of macro ‘PAGE_OFFSET’ | |
return x - PHYS_OFFSET + PAGE_OFFSET; | |
^ | |
In file included from /usr/src/linux-headers-4.0.0-2-common/include/linux/log2.h:16:0, | |
from /usr/src/linux-headers-4.0.0-2-common/include/asm-generic/getorder.h:7, | |
from /usr/src/linux-headers-4.0.0-2-common/arch/arm/include/asm/page.h:171, | |
from kcapi-main.c:43: | |
/usr/src/linux-headers-4.0.0-2-common/include/linux/bitops.h: In function ‘get_bitmask_order’: | |
/usr/src/linux-headers-4.0.0-2-common/include/linux/bitops.h:64:2: warning: implicit declaration of function ‘fls’ [-Wimplicit-function-declaration] | |
order = fls(count); | |
^ | |
/usr/src/linux-headers-4.0.0-2-common/include/linux/bitops.h: In function ‘hweight_long’: | |
/usr/src/linux-headers-4.0.0-2-common/include/linux/bitops.h:80:2: warning: implicit declaration of function ‘hweight32’ [-Wimplicit-function-declarati on] | |
return sizeof(w) == 4 ? hweight32(w) : hweight64(w); | |
^ | |
/usr/src/linux-headers-4.0.0-2-common/include/linux/bitops.h:80:2: warning: implicit declaration of function ‘hweight64’ [-Wimplicit-function-declarati on] | |
/usr/src/linux-headers-4.0.0-2-common/include/linux/bitops.h: In function ‘fls_long’: | |
/usr/src/linux-headers-4.0.0-2-common/include/linux/bitops.h:178:2: warning: implicit declaration of function ‘fls64’ [-Wimplicit-function-declaration] | |
return fls64(l); | |
^ | |
/usr/src/linux-headers-4.0.0-2-common/include/linux/bitops.h: In function ‘__ffs64’: | |
/usr/src/linux-headers-4.0.0-2-common/include/linux/bitops.h:193:3: warning: implicit declaration of function ‘__ffs’ [-Wimplicit-function-declaration] | |
return __ffs((u32)(word >> 32)) + 32; | |
^ | |
In file included from /usr/lib/gcc/arm-linux-gnueabi/4.9/include/stdint.h:9:0, | |
from kcapi-main.c:45: | |
/usr/include/stdint.h: At top level: | |
/usr/include/stdint.h:128:23: error: conflicting types for ‘uintptr_t’ | |
typedef unsigned int uintptr_t; | |
^ | |
In file included from /usr/src/linux-headers-4.0.0-2-common/arch/arm/include/asm/memory.h:18:0, | |
from /usr/src/linux-headers-4.0.0-2-common/arch/arm/include/asm/page.h:163, | |
from kcapi-main.c:43: | |
/usr/src/linux-headers-4.0.0-2-common/include/linux/types.h:36:24: note: previous declaration of ‘uintptr_t’ was here | |
typedef unsigned long uintptr_t; | |
^ | |
<builtin>: recipe for target 'kcapi-main.o' failed | |
make: *** [kcapi-main.o] Error 1 | |
fijam@yukikaze:~/libkcapi-0.8.0/test$ make | |
gcc -Wextra -Wall -pedantic -Wno-overlength-strings -pie -fPIE -O2 -g -I/usr/src/linux-headers-4.0.0-2-common/arch/arm/include/ -I/usr/src/linux-headers-4.0.0-2-common/include/ -D_FORTIFY_SOURCE=2 -fstack-protector-strong -fwrapv --param ssp-buffer-size=4 -I../lib -c -o kcapi-main.o kcapi-main.c | |
In file included from /usr/src/linux-headers-4.0.0-2-common/arch/arm/include/asm/types.h:4:0, | |
from kcapi-main.c:42: | |
/usr/src/linux-headers-4.0.0-2-common/include/asm-generic/int-ll64.h:24:21: warning: ISO C90 does not support ‘long long’ [-Wlong-long] | |
typedef signed long long s64; | |
^ | |
/usr/src/linux-headers-4.0.0-2-common/include/asm-generic/int-ll64.h:25:23: warning: ISO C90 does not support ‘long long’ [-Wlong-long] | |
typedef unsigned long long u64; | |
^ | |
In file included from /usr/src/linux-headers-4.0.0-2-common/arch/arm/include/asm/memory.h:16:0, | |
from /usr/src/linux-headers-4.0.0-2-common/arch/arm/include/asm/page.h:163, | |
from kcapi-main.c:43: | |
/usr/src/linux-headers-4.0.0-2-common/include/linux/compiler.h:36:32: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] | |
# define __builtin_warning(x, y...) (1) | |
^ | |
In file included from /usr/src/linux-headers-4.0.0-2-common/arch/arm/include/asm/memory.h:18:0, | |
from /usr/src/linux-headers-4.0.0-2-common/arch/arm/include/asm/page.h:163, | |
from kcapi-main.c:43: | |
/usr/src/linux-headers-4.0.0-2-common/include/linux/types.h:14:26: error: conflicting types for ‘fd_set’ | |
typedef __kernel_fd_set fd_set; | |
^ | |
In file included from /usr/include/arm-linux-gnueabi/sys/types.h:219:0, | |
from /usr/include/arm-linux-gnueabi/bits/uio.h:25, | |
from /usr/include/arm-linux-gnueabi/bits/fcntl-linux.h:38, | |
from /usr/include/arm-linux-gnueabi/bits/fcntl.h:54, | |
from /usr/include/fcntl.h:35, | |
from kcapi-main.c:40: | |
/usr/include/arm-linux-gnueabi/sys/select.h:75:5: note: previous declaration of ‘fd_set’ was here | |
} fd_set; | |
^ | |
In file included from /usr/src/linux-headers-4.0.0-2-common/arch/arm/include/asm/memory.h:18:0, | |
from /usr/src/linux-headers-4.0.0-2-common/arch/arm/include/asm/page.h:163, | |
from kcapi-main.c:43: | |
/usr/src/linux-headers-4.0.0-2-common/include/linux/types.h:15:25: error: conflicting types for ‘dev_t’ | |
typedef __kernel_dev_t dev_t; | |
^ | |
In file included from /usr/include/arm-linux-gnueabi/bits/uio.h:25:0, | |
from /usr/include/arm-linux-gnueabi/bits/fcntl-linux.h:38, | |
from /usr/include/arm-linux-gnueabi/bits/fcntl.h:54, | |
from /usr/include/fcntl.h:35, | |
from kcapi-main.c:40: | |
/usr/include/arm-linux-gnueabi/sys/types.h:60:17: note: previous declaration of ‘dev_t’ was here | |
typedef __dev_t dev_t; | |
^ | |
In file included from /usr/src/linux-headers-4.0.0-2-common/arch/arm/include/asm/memory.h:18:0, | |
from /usr/src/linux-headers-4.0.0-2-common/arch/arm/include/asm/page.h:163, | |
from kcapi-main.c:43: | |
/usr/src/linux-headers-4.0.0-2-common/include/linux/types.h:17:26: error: conflicting types for ‘mode_t’ | |
typedef __kernel_mode_t mode_t; | |
^ | |
In file included from /usr/include/arm-linux-gnueabi/bits/uio.h:25:0, | |
from /usr/include/arm-linux-gnueabi/bits/fcntl-linux.h:38, | |
from /usr/include/arm-linux-gnueabi/bits/fcntl.h:54, | |
from /usr/include/fcntl.h:35, | |
from kcapi-main.c:40: | |
/usr/include/arm-linux-gnueabi/sys/types.h:70:18: note: previous declaration of ‘mode_t’ was here | |
typedef __mode_t mode_t; | |
^ | |
In file included from /usr/src/linux-headers-4.0.0-2-common/arch/arm/include/asm/memory.h:18:0, | |
from /usr/src/linux-headers-4.0.0-2-common/arch/arm/include/asm/page.h:163, | |
from kcapi-main.c:43: | |
/usr/src/linux-headers-4.0.0-2-common/include/linux/types.h:25:26: error: conflicting types for ‘timer_t’ | |
typedef __kernel_timer_t timer_t; | |
^ | |
In file included from /usr/include/arm-linux-gnueabi/sys/types.h:132:0, | |
from /usr/include/arm-linux-gnueabi/bits/uio.h:25, | |
from /usr/include/arm-linux-gnueabi/bits/fcntl-linux.h:38, | |
from /usr/include/arm-linux-gnueabi/bits/fcntl.h:54, | |
from /usr/include/fcntl.h:35, | |
from kcapi-main.c:40: | |
/usr/include/time.h:103:19: note: previous declaration of ‘timer_t’ was here | |
typedef __timer_t timer_t; | |
^ | |
In file included from /usr/src/linux-headers-4.0.0-2-common/arch/arm/include/asm/memory.h:18:0, | |
from /usr/src/linux-headers-4.0.0-2-common/arch/arm/include/asm/page.h:163, | |
from kcapi-main.c:43: | |
/usr/src/linux-headers-4.0.0-2-common/include/linux/types.h:134:23: error: conflicting types for ‘blkcnt_t’ | |
typedef unsigned long blkcnt_t; | |
^ | |
In file included from /usr/include/arm-linux-gnueabi/bits/uio.h:25:0, | |
from /usr/include/arm-linux-gnueabi/bits/fcntl-linux.h:38, | |
from /usr/include/arm-linux-gnueabi/bits/fcntl.h:54, | |
from /usr/include/fcntl.h:35, | |
from kcapi-main.c:40: | |
/usr/include/arm-linux-gnueabi/sys/types.h:235:20: note: previous declaration of ‘blkcnt_t’ was here | |
typedef __blkcnt_t blkcnt_t; /* Type to count number of disk blocks. */ | |
^ | |
In file included from /usr/src/linux-headers-4.0.0-2-common/arch/arm/include/asm/memory.h:17:0, | |
from /usr/src/linux-headers-4.0.0-2-common/arch/arm/include/asm/page.h:163, | |
from kcapi-main.c:43: | |
/usr/src/linux-headers-4.0.0-2-common/arch/arm/include/asm/memory.h: In function ‘__virt_to_phys’: | |
/usr/src/linux-headers-4.0.0-2-common/arch/arm/include/asm/memory.h:34:25: error: ‘CONFIG_PAGE_OFFSETUL’ undeclared (first use in this function) | |
#define PAGE_OFFSET UL(CONFIG_PAGE_OFFSET) | |
^ | |
/usr/src/linux-headers-4.0.0-2-common/arch/arm/include/asm/memory.h:34:22: note: in expansion of macro ‘UL’ | |
#define PAGE_OFFSET UL(CONFIG_PAGE_OFFSET) | |
^ | |
/usr/src/linux-headers-4.0.0-2-common/arch/arm/include/asm/memory.h:257:26: note: in expansion of macro ‘PAGE_OFFSET’ | |
return (phys_addr_t)x - PAGE_OFFSET + PHYS_OFFSET; | |
^ | |
/usr/src/linux-headers-4.0.0-2-common/arch/arm/include/asm/memory.h:34:25: note: each undeclared identifier is reported only once for each function it appears in | |
#define PAGE_OFFSET UL(CONFIG_PAGE_OFFSET) | |
^ | |
/usr/src/linux-headers-4.0.0-2-common/arch/arm/include/asm/memory.h:34:22: note: in expansion of macro ‘UL’ | |
#define PAGE_OFFSET UL(CONFIG_PAGE_OFFSET) | |
^ | |
/usr/src/linux-headers-4.0.0-2-common/arch/arm/include/asm/memory.h:257:26: note: in expansion of macro ‘PAGE_OFFSET’ | |
return (phys_addr_t)x - PAGE_OFFSET + PHYS_OFFSET; | |
^ | |
/usr/src/linux-headers-4.0.0-2-common/arch/arm/include/asm/memory.h:155:29: error: ‘CONFIG_PHYS_OFFSETUL’ undeclared (first use in this function) | |
#define PLAT_PHYS_OFFSET UL(CONFIG_PHYS_OFFSET) | |
^ | |
/usr/src/linux-headers-4.0.0-2-common/arch/arm/include/asm/memory.h:155:26: note: in expansion of macro ‘UL’ | |
#define PLAT_PHYS_OFFSET UL(CONFIG_PHYS_OFFSET) | |
^ | |
/usr/src/linux-headers-4.0.0-2-common/arch/arm/include/asm/memory.h:252:21: note: in expansion of macro ‘PLAT_PHYS_OFFSET’ | |
#define PHYS_OFFSET PLAT_PHYS_OFFSET | |
^ | |
/usr/src/linux-headers-4.0.0-2-common/arch/arm/include/asm/memory.h:257:40: note: in expansion of macro ‘PHYS_OFFSET’ | |
return (phys_addr_t)x - PAGE_OFFSET + PHYS_OFFSET; | |
^ | |
/usr/src/linux-headers-4.0.0-2-common/arch/arm/include/asm/memory.h: In function ‘__phys_to_virt’: | |
/usr/src/linux-headers-4.0.0-2-common/arch/arm/include/asm/memory.h:155:29: error: ‘CONFIG_PHYS_OFFSETUL’ undeclared (first use in this function) | |
#define PLAT_PHYS_OFFSET UL(CONFIG_PHYS_OFFSET) | |
^ | |
/usr/src/linux-headers-4.0.0-2-common/arch/arm/include/asm/memory.h:155:26: note: in expansion of macro ‘UL’ | |
#define PLAT_PHYS_OFFSET UL(CONFIG_PHYS_OFFSET) | |
^ | |
/usr/src/linux-headers-4.0.0-2-common/arch/arm/include/asm/memory.h:252:21: note: in expansion of macro ‘PLAT_PHYS_OFFSET’ | |
#define PHYS_OFFSET PLAT_PHYS_OFFSET | |
^ | |
/usr/src/linux-headers-4.0.0-2-common/arch/arm/include/asm/memory.h:262:13: note: in expansion of macro ‘PHYS_OFFSET’ | |
return x - PHYS_OFFSET + PAGE_OFFSET; | |
^ | |
/usr/src/linux-headers-4.0.0-2-common/arch/arm/include/asm/memory.h:34:25: error: ‘CONFIG_PAGE_OFFSETUL’ undeclared (first use in this function) | |
#define PAGE_OFFSET UL(CONFIG_PAGE_OFFSET) | |
^ | |
/usr/src/linux-headers-4.0.0-2-common/arch/arm/include/asm/memory.h:34:22: note: in expansion of macro ‘UL’ | |
#define PAGE_OFFSET UL(CONFIG_PAGE_OFFSET) | |
^ | |
/usr/src/linux-headers-4.0.0-2-common/arch/arm/include/asm/memory.h:262:27: note: in expansion of macro ‘PAGE_OFFSET’ | |
return x - PHYS_OFFSET + PAGE_OFFSET; | |
^ | |
In file included from /usr/src/linux-headers-4.0.0-2-common/include/linux/log2.h:16:0, | |
from /usr/src/linux-headers-4.0.0-2-common/include/asm-generic/getorder.h:7, | |
from /usr/src/linux-headers-4.0.0-2-common/arch/arm/include/asm/page.h:171, | |
from kcapi-main.c:43: | |
/usr/src/linux-headers-4.0.0-2-common/include/linux/bitops.h: In function ‘get_bitmask_order’: | |
/usr/src/linux-headers-4.0.0-2-common/include/linux/bitops.h:64:2: warning: implicit declaration of function ‘fls’ [-Wimplicit-function-declaration] | |
order = fls(count); | |
^ | |
/usr/src/linux-headers-4.0.0-2-common/include/linux/bitops.h: In function ‘hweight_long’: | |
/usr/src/linux-headers-4.0.0-2-common/include/linux/bitops.h:80:2: warning: implicit declaration of function ‘hweight32’ [-Wimplicit-function-declaration] | |
return sizeof(w) == 4 ? hweight32(w) : hweight64(w); | |
^ | |
/usr/src/linux-headers-4.0.0-2-common/include/linux/bitops.h:80:2: warning: implicit declaration of function ‘hweight64’ [-Wimplicit-function-declaration] | |
/usr/src/linux-headers-4.0.0-2-common/include/linux/bitops.h: In function ‘fls_long’: | |
/usr/src/linux-headers-4.0.0-2-common/include/linux/bitops.h:178:2: warning: implicit declaration of function ‘fls64’ [-Wimplicit-function-declaration] | |
return fls64(l); | |
^ | |
/usr/src/linux-headers-4.0.0-2-common/include/linux/bitops.h: In function ‘__ffs64’: | |
/usr/src/linux-headers-4.0.0-2-common/include/linux/bitops.h:193:3: warning: implicit declaration of function ‘__ffs’ [-Wimplicit-function-declaration] | |
return __ffs((u32)(word >> 32)) + 32; | |
^ | |
In file included from /usr/lib/gcc/arm-linux-gnueabi/4.9/include/stdint.h:9:0, | |
from kcapi-main.c:45: | |
/usr/include/stdint.h: At top level: | |
/usr/include/stdint.h:128:23: error: conflicting types for ‘uintptr_t’ | |
typedef unsigned int uintptr_t; | |
^ | |
In file included from /usr/src/linux-headers-4.0.0-2-common/arch/arm/include/asm/memory.h:18:0, | |
from /usr/src/linux-headers-4.0.0-2-common/arch/arm/include/asm/page.h:163, | |
from kcapi-main.c:43: | |
/usr/src/linux-headers-4.0.0-2-common/include/linux/types.h:36:24: note: previous declaration of ‘uintptr_t’ was here | |
typedef unsigned long uintptr_t; | |
^ | |
<builtin>: recipe for target 'kcapi-main.o' failed | |
make: *** [kcapi-main.o] Error 1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment