Gentoo Archives: gentoo-user

From: Facundo Curti <facu.curti@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Cant compile Openvz sources
Date: Fri, 01 Aug 2014 23:00:45
Message-Id: CABxff59kgCqjbKKKtXCk9A8f1fg8xSb3px1BwQoNS8q9Num-0w@mail.gmail.com
In Reply to: Re: [gentoo-user] Cant compile Openvz sources by "J. Roeleveld"
1 2014-08-01 18:33 GMT-03:00 J. Roeleveld <joost@××××××××.org>:
2 > On 1 August 2014 23:12:23 CEST, Stroller <stroller@××××××××××××××××××.uk> wrote:
3 >>
4 >>On Thu, 31 July 2014, at 12:49 am, Facundo Curti <facu.curti@×××××.com>
5 >>wrote:
6 >>
7 >>> include/trace/events/kmem.h:528:1: aviso: se declaró ‘struct
8 >>> address_space’ dentro de la lista de parámetros [activado por
9 >>defecto]
10 >>> include/trace/events/kmem.h:528:1: aviso: su ámbito es solamente esta
11 >>> definición o declaración, lo cual probablemente no es lo que desea
12 >>> [activado por defecto]
13 >>
14 >>More of us may be able to help if you set your language to English and
15 >>resubmit your error messages.
16 >>
17 >>I believe this may be as easy as running `LC_MESSAGES=C make && make
18 >>modules_install`
19
20 Sorry. You are rigth. My bad.
21 >>
22 >>Related: http://permalink.gmane.org/gmane.linux.gentoo.devel/87489
23 >>
24 >>Stroller.
25 >
26 > Apart from rerunning the compile with a default locale like Stroller suggested.
27 >
28 > Can you also provide the command you used?
29 I used:
30 make -j12 && make modules_install
31 But is the same using "make && make modules_install"
32
33
34 Here is the output again. Now in english. Sorry for that :P
35
36 CHK include/linux/version.h
37 CHK include/linux/utsrelease.h
38 SYMLINK include/asm -> include/asm-x86
39 HOSTCC scripts/basic/fixdep
40 HOSTCC scripts/basic/docproc
41 HOSTCC scripts/basic/hash
42 CC kernel/bounds.s
43 GEN include/linux/bounds.h
44 CC arch/x86/kernel/asm-offsets.s
45 GEN include/asm/asm-offsets.h
46 CALL scripts/checksyscalls.sh
47 HOSTCC scripts/genksyms/genksyms.o
48 HOSTCC scripts/genksyms/lex.o
49 HOSTCC scripts/genksyms/parse.o
50 HOSTLD scripts/genksyms/genksyms
51 CC scripts/mod/empty.o
52 HOSTCC scripts/mod/mk_elfconfig
53 MKELF scripts/mod/elfconfig.h
54 HOSTCC scripts/mod/file2alias.o
55 scripts/mod/file2alias.c:797:12: warning: ‘do_x86cpu_entry’ defined
56 but not used [-Wunused-function]
57 HOSTCC scripts/mod/modpost.o
58 scripts/mod/modpost.c: In function ‘get_markers’:
59 scripts/mod/modpost.c:1563:12: warning: ignoring return value of
60 ‘asprintf’, declared with attribute warn_unused_result
61 [-Wunused-result]
62 scripts/mod/modpost.c: In function ‘add_marker’:
63 scripts/mod/modpost.c:1993:10: warning: ignoring return value of
64 ‘asprintf’, declared with attribute warn_unused_result
65 [-Wunused-result]
66 HOSTCC scripts/mod/sumversion.o
67 HOSTLD scripts/mod/modpost
68 HOSTCC scripts/mod/mod-extract
69 HOSTCC scripts/kallsyms
70 scripts/kallsyms.c: In function ‘read_symbol’:
71 scripts/kallsyms.c:112:9: warning: ignoring return value of ‘fgets’,
72 declared with attribute warn_unused_result [-Wunused-result]
73 HOSTCC scripts/pnmtologo
74 HOSTCC scripts/conmakehash
75 HOSTCC scripts/bin2c
76 CC init/main.o
77 CHK include/linux/compile.h
78 UPD include/linux/compile.h
79 CC init/version.o
80 CC init/do_mounts.o
81 LD init/mounts.o
82 CC init/noinitramfs.o
83 CC init/calibrate.o
84 LD init/built-in.o
85 LD usr/built-in.o
86 LD arch/x86/crypto/built-in.o
87 AS arch/x86/ia32/ia32entry.o
88 CC arch/x86/ia32/sys_ia32.o
89 CC arch/x86/ia32/ia32_signal.o
90 CC arch/x86/ia32/ipc32.o
91 LD arch/x86/ia32/built-in.o
92 CC arch/x86/kernel/process_64.o
93 CC arch/x86/kernel/signal.o
94 AS arch/x86/kernel/entry_64.o
95 CC arch/x86/kernel/traps.o
96 CC arch/x86/kernel/irq.o
97 In file included from include/linux/kmemtrace.h:12:0,
98 from include/linux/slub_def.h:13,
99 from include/linux/slab.h:203,
100 from include/linux/percpu.h:5,
101 from include/linux/percpu_counter.h:13,
102 from include/linux/fs.h:452,
103 from include/linux/sysfs.h:77,
104 from include/linux/kobject.h:21,
105 from include/linux/sysdev.h:24,
106 from include/linux/cpu.h:22,
107 from arch/x86/kernel/irq.c:4:
108 include/trace/events/kmem.h:528:1: warning: ‘struct address_space’
109 declared inside parameter list [enabled by default]
110 include/trace/events/kmem.h:528:1: warning: its scope is only this
111 definition or declaration, which is probably not what you want
112 [enabled by default]
113 include/trace/events/kmem.h:528:1: warning: ‘struct address_space’
114 declared inside parameter list [enabled by default]
115 include/trace/events/kmem.h:528:1: warning: ‘struct address_space’
116 declared inside parameter list [enabled by default]
117 include/trace/events/kmem.h:528:1: warning: ‘struct address_space’
118 declared inside parameter list [enabled by default]
119 In file included from include/linux/slab.h:203:0,
120 from include/linux/percpu.h:5,
121 from include/linux/percpu_counter.h:13,
122 from include/linux/fs.h:452,
123 from include/linux/sysfs.h:77,
124 from include/linux/kobject.h:21,
125 from include/linux/sysdev.h:24,
126 from include/linux/cpu.h:22,
127 from arch/x86/kernel/irq.c:4:
128 include/linux/slub_def.h:97:17: error: field ‘kobj’ has incomplete type
129 make[2]: *** [arch/x86/kernel/irq.o] Error 1
130 make[1]: *** [arch/x86/kernel] Error 2
131 make: *** [arch/x86] Error 2

Replies

Subject Author
Re: [gentoo-user] Cant compile Openvz sources "J. Roeleveld" <joost@××××××××.org>