<< | Thread Index | >> ]    [ << | Date Index | >> ]

Subject: Fw: Problems compiling cipe on a SMP system
From: "Nico Flemming" <nf,AT,ventas,DOT,de>
Date: Wed, 17 Jul 2002 13:45:11 +0200


Hi,
?
I didnt get any response yet. Is there no one who 
tried to compile cipe
for an SMP kernel?
?
Regards,
Nico Flemming
VENTAS AG
?
?
?
----- Original Message ----- 
From: <A 
title=nf,AT,ventas,DOT,de href="mailto:nf,AT,ventas,DOT,de";>Nico Flemming 
To: <A title=cipe-l,AT,inka,DOT,de 
href="mailto:cipe-l,AT,inka,DOT,de";>cipe-l,AT,inka,DOT,de 
Sent: Friday, August 09, 2002 9:43 AM
Subject: Fw: Problems compiling cipe on a SMP system

Hi,
?
I tried many hours, but it did not seem that the 
cipe package is able
to compile the module for an SMP kernel. The 
configure script tells
me that he detected an SMP system, and he created 
in the source
directory a subdirectory called 
"2.2.16-i386-SMP-cb/" and he defines
?
#define __SMP__ 1
?
in the config.h, but while installing the Makefile 
puts the compiled 
module to /lib/modules/2.2.16/misc, not 
/lib/modules/2.2.16-SMP/misc.
?
Its not a path problem, the compiled module IS 
obviously a none-SMP
Module:
?

# cp /lib/modules/2.2.16/misc/cipcb.o 
/lib/modules/2.2.16-SMP/misc/.
# insmod cipcb
?
Using 
/lib/modules/2.2.16-SMP/misc/cipcb.o????????????????????????????????????? 
/lib/modules/2.2.16-SMP/misc/cipcb.o: kernel-module version 
mismatch????????????/lib/modules/2.2.16-SMP/misc/cipcb.o 
was compiled for kernel version 
2.2.16?????????????????????????????????????????????????????????????????????????????while
 
this kernel is version 2.2.16-SMP.?
?
Is there anything I forgot? Its a very strange behaviour.
I noticed that there is no reference to the constant "___SMP___" in the 
whole
source. Is it possibel that cipe is NOT able to make a SMP module, or is 
NOT
able to run under a SMP kernel ?
?
Greetings,
Nico Flemming
VENTAS AG
?
?
?
?
?
----- Original Message ----- 
From: <A 
title=nf,AT,ventas,DOT,de href="mailto:nf,AT,ventas,DOT,de";>Nico Flemming 
To: <A title=cipe-l,AT,inka,DOT,de 
href="mailto:cipe-l,AT,inka,DOT,de";>cipe-l,AT,inka,DOT,de 
Sent: Monday, July 08, 2002 11:55 AM
Subject: Problems compiling cipe on a SMP system

Hi,
?
I have problem compiling the cipe kernel module for 
an SMP system.
I downloaded CIPE 1.4.6 and my system is SuSE-Linux 
7.0 (2.2.16-SMP).
?
The configure detects an smp system:
?
creating cache 
./config.cache???????????????????????????????????? 
checking for gcc... 
gcc?????????????????????????????????????????? 
checking whether the C compiler (gcc? ) works... 
yes????????????? 
checking whether the C compiler (gcc? ) is a cross-compiler... no 
checking whether we are using GNU C... 
yes??????????????????????? 
checking whether gcc accepts -g... 
yes??????????????????????????? 
checking whether gcc needs -fno-strict-aliasing... 
yes??????????? 
checking how to run the C preprocessor... gcc 
-E????????????????? 
checking for texinfo... 
no??????????????????????????????????????? 
checking for tex... 
no??????????????????????????????????????????? 
checking for makeinfo... 
makeinfo???????????????????????????????? 
checking for kernel include tree... /usr/src/linux-2.2.16/include 
checking for architecture... 
i386???????????????????????????????? 
checking for kernel version... 
2.2.16???????????????????????????? 
checking for SMP... 
yes?????????????????????????????????????????? 
checking for versioned symbols... 
no????????????????????????????? 
checking for assembler parts... 
bf-i386.o???????????????????????? 
checking for mlock... 
yes???????????????????????????????????????? 
checking for mlockall... 
yes????????????????????????????????????? 
updating cache 
./config.cache???????????????????????????????????? 
creating 
/config.status????????????????????????????????????????? 
creating 
Makefile???????????????????????????????????????????????? 

?
?
But a "make" and a "make install" creates and 
installs a module for 2.2.16, not
2.2.16-SMP:
?
make -C 2.2.16-i386-SMP-cb 
WHAT=install???????????????????????????? 
make[1]: Entering directory 
`/tmp/tgz/cipe-1.4.6/2.2.16-i386-SMP-cb'mkdir -p /lib/modules/2.2.16/misc 
/usr/local/sbin?????????????????? 
install -m 644 cipcb.o 
/lib/modules/2.2.16/misc???????????????????? 
install -m 755 ciped-cb 
/usr/local/sbin???????????????????????????? 
depmod 
-a?????????????????????????????????????????????????????????? 
make[1]: Leaving directory `/tmp/tgz/cipe-1.4.6/2.2.16-i386-SMP-cb' 
mkdir -p 
/usr/local/info??????????????????????????????????????????? 
install -m 644 cipe.info* 
/usr/local/info?????????????????????????? 

?
-----------------
?
# cp /lib/modules/2.2.16/misc/cipcb.o 
/lib/modules/2.2.16-SMP/misc/.
# insmod cipcb
?
Using 
/lib/modules/2.2.16-SMP/misc/cipcb.o????????????????????????????????????? 
/lib/modules/2.2.16-SMP/misc/cipcb.o: kernel-module version 
mismatch????????????/lib/modules/2.2.16-SMP/misc/cipcb.o 
was compiled for kernel version 
2.2.16?????????????????????????????????????????????????????????????????????????????while
 
this kernel is version 
2.2.16-SMP.??????????????????????????????? 

?
-----------------
?
?
Any help is highly appreciated...
?
Thanks,
Nico Flemming
VENTAS AG



<< | Thread Index | >> ]    [ << | Date Index | >> ]