All of lore.kernel.org
 help / color / mirror / Atom feed
* compilation failure
@ 2002-12-11 22:22 abindus
  2002-12-15 11:24 ` Keith Owens
  0 siblings, 1 reply; 6+ messages in thread
From: abindus @ 2002-12-11 22:22 UTC (permalink / raw)
  To: linux-kernel

I'm sorry for the disturbance as I feel that it's a very simple 
configuration problem but I'm completely stuc with the compilation of 
the kernel. I used to do this without problem but after installing 
RedHat 8.0 nothing is possible. However I'm still able to compile other 
programs in c/c++/gtk+

It seems to complain of not founding some libraries
After the make dep, make bzImage gives (I'm sorry but it's in french) :

make -r -f tmp_include_depends all
make[1]: Entre dans le répertoire `/usr/src/linux-2.4.18-18.8.0'
make[1]: Rien à faire pour `all'.
make[1]: Quitte le répertoire `/usr/src/linux-2.4.18-18.8.0'
. scripts/mkversion > .tmpversion
gcc -D__KERNEL__ -I/usr/src/linux-2.4.18-18.8.0/include -Wall 
-Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common 
-fomit-frame-pointer -pipe -mpreferred-stack-boundary=2 -march=i686 
-malign-functions=4   -DUTS_MACHINE='"i386"' -DKBUILD_BASENAME=version 
-c -o init/version.o init/version.c
cc1: AVERTISSEMENT: -malign-functions est obsolète, utiliser -falign-loops
make CFLAGS="-D__KERNEL__ -I/usr/src/linux-2.4.18-18.8.0/include -Wall 
-Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common 
-fomit-frame-pointer -pipe -mpreferred-stack-boundary=2 -march=i686 
-malign-functions=4  " -C  kernel
make[1]: Entre dans le répertoire `/usr/src/linux-2.4.18-18.8.0/kernel'
make all_targets
make[2]: Entre dans le répertoire `/usr/src/linux-2.4.18-18.8.0/kernel'
gcc -D__KERNEL__ -I/usr/src/linux-2.4.18-18.8.0/include -Wall 
-Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common 
-fomit-frame-pointer -pipe -mpreferred-stack-boundary=2 -march=i686 
-malign-functions=4    -nostdinc  -DKBUILD_BASENAME=sched  
-fno-omit-frame-pointer -O2 -c -o sched.o sched.c
cc1: AVERTISSEMENT: -malign-functions est obsolète, utiliser -falign-loops
Dans le fichier inclus à partir de 
/usr/src/linux-2.4.18-18.8.0/include/linux/wait.h:13,
          à partir de /usr/src/linux-2.4.18-18.8.0/include/linux/fs.h:12,
          à partir de 
/usr/src/linux-2.4.18-18.8.0/include/linux/capability.h:17,
          à partir de 
/usr/src/linux-2.4.18-18.8.0/include/linux/binfmts.h:5,
          à partir de /usr/src/linux-2.4.18-18.8.0/include/linux/sched.h:9,
          à partir de /usr/src/linux-2.4.18-18.8.0/include/linux/mm.h:4,
          à partir de sched.c:19:
/usr/src/linux-2.4.18-18.8.0/include/linux/kernel.h:10:20: stdarg.h: 
Aucun fichier ou répertoire de ce type
Dans le fichier inclus à partir de 
/usr/src/linux-2.4.18-18.8.0/include/linux/wait.h:13,
          à partir de /usr/src/linux-2.4.18-18.8.0/include/linux/fs.h:12,
          à partir de 
/usr/src/linux-2.4.18-18.8.0/include/linux/capability.h:17,
          à partir de 
/usr/src/linux-2.4.18-18.8.0/include/linux/binfmts.h:5,
          à partir de /usr/src/linux-2.4.18-18.8.0/include/linux/sched.h:9,
          à partir de /usr/src/linux-2.4.18-18.8.0/include/linux/mm.h:4,
          à partir de sched.c:19:
/usr/src/linux-2.4.18-18.8.0/include/linux/kernel.h:73: erreur d'analyse 
syntaxique avant « va_list »
/usr/src/linux-2.4.18-18.8.0/include/linux/kernel.h:73: AVERTISSEMENT: 
déclaration de fonction n'est pas un prototype
/usr/src/linux-2.4.18-18.8.0/include/linux/kernel.h:76: erreur d'analyse 
syntaxique avant « va_list »
/usr/src/linux-2.4.18-18.8.0/include/linux/kernel.h:76: AVERTISSEMENT: 
déclaration de fonction n'est pas un prototype
/usr/src/linux-2.4.18-18.8.0/include/linux/kernel.h:80: erreur d'analyse 
syntaxique avant « va_list »
/usr/src/linux-2.4.18-18.8.0/include/linux/kernel.h:80: AVERTISSEMENT: 
déclaration de fonction n'est pas un prototype
sched.c: Dans la fonction « sys_sched_yield »:
sched.c:1374: AVERTISSEMENT: variable inutilisée « rq »
make[2]: *** [sched.o] Erreur 1
make[2]: Quitte le répertoire `/usr/src/linux-2.4.18-18.8.0/kernel'
make[1]: *** [first_rule] Erreur 2
make[1]: Quitte le répertoire `/usr/src/linux-2.4.18-18.8.0/kernel'
make: *** [_dir_kernel] Erreur 2

Many thanks in advance.

Pascal Bonfils / abindus@wanadoo.fr


^ permalink raw reply	[flat|nested] 6+ messages in thread
* compilation failure
@ 2005-05-19  6:25 Abel Morabito
  2005-05-19  6:25 ` Jean Delvare
  0 siblings, 1 reply; 6+ messages in thread
From: Abel Morabito @ 2005-05-19  6:25 UTC (permalink / raw)
  To: lm-sensors

Dear developers,

I get the following errors when trying to compile lm-sensors 2.8.8:

kernel/chips/lm93.c: In function `lm93_fan_smart_tach':
kernel/chips/lm93.c:1691: parse error before `int'
kernel/chips/lm93.c:1694: `mapping' undeclared (first use in this function)
kernel/chips/lm93.c:1694: (Each undeclared identifier is reported only once
kernel/chips/lm93.c:1694: for each function it appears in.)
make: *** [kernel/chips/lm93.o] Error 1

I succesfully compiled and installed i2c-2.8.8 before and I'm running a 2.4.27 linux kernel on a i686 machine with
gcc            2.95.4-14
libc6          2.2.5-11.5

/lib/modules/2.4.27 is fine and kernel 2.4.27  sources are under /usr/src/linux

If you've got the time please tell me how to work it out. Thank you!

--
Abel Morabito
amorabito@funescoop.com.ar

^ permalink raw reply	[flat|nested] 6+ messages in thread
* Compilation failure
@ 2008-03-18  1:49 Han, Weidong
  2008-03-18  8:32 ` Keir Fraser
  0 siblings, 1 reply; 6+ messages in thread
From: Han, Weidong @ 2008-03-18  1:49 UTC (permalink / raw)
  To: xen-devel

Compilation failure on c/s 17194 is as follows:

/root/randy/vtd-stage/xen/common/built_in.o: In function
`guest_remove_page':
/root/randy/vtd-stage/xen/common/memory.c:172: undefined reference to
`__bitop_bad_size'
/root/randy/vtd-stage/xen/common/memory.c:172: relocation truncated to
fit: R_X86_64_PC32 against undefined symbol `__bitop_bad_size'
/root/randy/vtd-stage/xen/arch/x86/built_in.o: In function
`relinquish_memory':
/root/randy/vtd-stage/xen/arch/x86/domain.c:1705: undefined reference to
`__bitop_bad_size'
/root/randy/vtd-stage/xen/arch/x86/domain.c:1705: relocation truncated
to fit: R_X86_64_PC32 against undefined symbol `__bitop_bad_size'
/root/randy/vtd-stage/xen/arch/x86/built_in.o: In function
`get_page_type':
/root/randy/vtd-stage/xen/arch/x86/mm.c:1959: undefined reference to
`__bitop_bad_size'
/root/randy/vtd-stage/xen/arch/x86/mm.c:1959: relocation truncated to
fit: R_X86_64_PC32 against undefined symbol `__bitop_bad_size'
/root/randy/vtd-stage/xen/arch/x86/built_in.o: In function
`do_mmuext_op':
/root/randy/vtd-stage/xen/arch/x86/mm.c:2242: undefined reference to
`__bitop_bad_size'
/root/randy/vtd-stage/xen/arch/x86/mm.c:2242: relocation truncated to
fit: R_X86_64_PC32 against undefined symbol `__bitop_bad_size'
/root/randy/vtd-stage/xen/arch/x86/mm.c:2260: undefined reference to
`__bitop_bad_size'
/root/randy/vtd-stage/xen/arch/x86/mm.c:2260: relocation truncated to
fit: R_X86_64_PC32 against undefined symbol `__bitop_bad_size'
/root/randy/vtd-stage/xen/arch/x86/built_in.o:/root/randy/vtd-stage/xen/
arch/x86/mm.c:2278: more undefined references to `__bitop_bad_size'
follow
/root/randy/vtd-stage/xen/arch/x86/built_in.o: In function
`do_mmuext_op':
/root/randy/vtd-stage/xen/arch/x86/mm.c:2278: relocation truncated to
fit: R_X86_64_PC32 against undefined symbol `__bitop_bad_size'

Another small compilation failure is on c/s 17202, in svm.c:1173 returns
0 in svm_vmexit_do_hlt() which returns void.

BTW, my gcc version is 4.1.1.

Randy (Weidong) 

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2008-03-18  8:32 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-12-11 22:22 compilation failure abindus
2002-12-15 11:24 ` Keith Owens
  -- strict thread matches above, loose matches on Subject: below --
2005-05-19  6:25 Abel Morabito
2005-05-19  6:25 ` Jean Delvare
2008-03-18  1:49 Compilation failure Han, Weidong
2008-03-18  8:32 ` Keir Fraser

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.