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