[opensuse] kernel source bug in 10.2?
Hello: I wanted to build some simple program and got this error: /lib/modules/2.6.18.2-34-default/source/include/linux/vermagic.h:1:30: error: linux/utsrelease.h: No such file or directory I've checked vermagic.h that starts with: #include <linux/utsrelease.h> #include <linux/module.h> It seems the above includes are wrong since the directory does not contain the files. Cheers, IG __________________________________________________________________________ Beír, talál, OKÉ! OK.hu az [origo]-tól: tucatnyi magyar kereső egyben, hogy még többet láss! http://www.ok.hu -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Fri, Dec 29, 2006 at 07:23:57PM +0100, Istvan Gabor wrote:
Hello:
I wanted to build some simple program and got this error:
/lib/modules/2.6.18.2-34-default/source/include/linux/vermagic.h:1:30: error: linux/utsrelease.h: No such file or directory
I've checked vermagic.h that starts with:
#include <linux/utsrelease.h> #include <linux/module.h>
It seems the above includes are wrong since the directory does not contain the files.
Did you follow the README.SUSE in /usr/share/doc/packages/kernel-source? Cia0, Marcus -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Dec 29 2006 19:28, Marcus Meissner wrote:
On Fri, Dec 29, 2006 at 07:23:57PM +0100, Istvan Gabor wrote:
Did you follow the README.SUSE in /usr/share/doc/packages/kernel-source?
Speaking of that, why do I need kernel-syms when kernel-$FLAVOR contains the same files? -`J' -- -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
Hello:
I wanted to build some simple program and got this error:
/lib/modules/2.6.18.2-34-default/source/include/linux/ vermagic.h:1:30: error: linux/utsrelease.h: No such file or directory
I've checked vermagic.h that starts with:
#include <linux/utsrelease.h> #include <linux/module.h>
It seems the above includes are wrong since the directory does not contain the files.
Did you follow the README.SUSE in /usr/share/doc/packages/ kernel- source?
I did not read it in 10.2 but I read it long time ago (suse 9.x). But I could build the very same program on 10.1 flowlessly and earlier versions of it on 10.0, 9.3, 9.2 and 9.1 with no problem. 10.2 is the only one where it chocked that's why I thought that this might be a bug in 10.2. Cheers, IG __________________________________________________________________________ Beír, talál, OKÉ! OK.hu az [origo]-tól: tucatnyi magyar kereső egyben, hogy még többet láss! http://www.ok.hu -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
Hello:
I wanted to build some simple program and got this error:
/lib/modules/2.6.18.2-34-default/source/include/linux/ vermagic.h:1:30: error: linux/utsrelease.h: No such file or directory
I've checked vermagic.h that starts with:
#include <linux/utsrelease.h> #include <linux/module.h>
It seems the above includes are wrong since the directory does not contain the files.
Did you follow the README.SUSE in /usr/share/doc/packages/ kernel- source?
Cia0, Marcus
Hi Marcus: I've read the the above document but don't really know which part applies to my case. Anyway, I tried to build the external kernel modules(Jetico's bestcrypt module) accroding to this part:
From the README.SUSE:
The second method involves the following steps: (1) Install kernel-source.$ARCH.rpm. (2) Install kernel-syms.$ARCH.rpm. This package is necessary for symbol version information (CONFIG_MODVERSIONS). (3) Compile the module(s) by changing into the module source directory and typing ``make -C /usr/src/linux-obj/$ARCH/$FLAVOR M=$(pwd)''. Substitute $ARCH and $FLAVOR with the architecture and flavor for which to build the module(s)." I followed these steps but I got only: ~/bcrypt-1.6-10> make -C /usr/src/linux-obj/i386/default/ M=$(pwd) make: Entering directory `/usr/src/linux-2.6.18.2-34-obj/i386/ default' make -C ../../../linux-2.6.18.2-34 O=../linux-2.6.18.2-34-obj/ i386/default Building modules, stage 2. MODPOST make: Leaving directory `/usr/src/linux-2.6.18.2-34-obj/i386/ default /home/test/bcrypt-1.6-10 # make -C /usr/src/linux-obj/i386/ default/ M=$(pwd) modules_install make: Entering directory `/usr/src/linux-2.6.18.2-34-obj/i386/ default' make -C ../../../linux-2.6.18.2-34 O=../linux-2.6.18.2-34-obj/ i386/default modules_install DEPMOD 2.6.18.2-34-default make: Leaving directory `/usr/src/linux-2.6.18.2-34-obj/i386/ default Now I do not know what to do. So far the script created the kernel modules, installed them, and also installed the init script under /etc/init.d. Now this hasn't happened. I am completely stucked. I don't know if the modules were created or not and put the right place or not. How could I make the work? Thanks, IG ________________________________________________________________________________ Lemaradtál róla? Pótold be most! Már Belga albumok is kaphatók a Zeneáruházban! http://zenearuhaz.t-online.hu/index.php?m=info&albumid=26987&sp=96&sty=101 -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
Istvan Gabor wrote:
Hello:
I wanted to build some simple program and got this error:
/lib/modules/2.6.18.2-34-default/source/include/linux/vermagic.h:1:30: error: linux/utsrelease.h: No such file or directory
I've checked vermagic.h that starts with:
#include <linux/utsrelease.h> #include <linux/module.h>
It seems the above includes are wrong since the directory does not contain the files.
Cheers, IG
Building a 'simple program' should not require any kernel headers. Any 'simple program' that does is certainly broken. You must be building something else? Kernel module? Regards Mark -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
Hello:
I wanted to build some simple program and got this error:
/lib/modules/2.6.18.2-34-default/source/include/linux/ vermagic.h:1:30: error: linux/utsrelease.h: No such file or directory
I've checked vermagic.h that starts with:
#include <linux/utsrelease.h> #include <linux/module.h>
It seems the above includes are wrong since the directory does not contain the files.
Cheers, IG
Building a 'simple program' should not require any kernel headers. Any 'simple program' that does is certainly broken. You must be building something else? Kernel module?
Hello: Sorry for the "simple program" term. It's a kernel module. And I am not a geek so I only know that in all earlier SUSE versions simply running make could do the job. In 10.2 it fails and gives the error message I mailed. Cheers, IG __________________________________________________________________________ Beír, talál, OKÉ! OK.hu az [origo]-tól: tucatnyi magyar kereső egyben, hogy még többet láss! http://www.ok.hu -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
participants (4)
-
Istvan Gabor
-
Jan Engelhardt
-
Marcus Meissner
-
Mark Hounschell