On Wed September 9 2009 9:55:50 pm Rajko M. wrote:
On Wednesday 09 September 2009 02:17:08 Richard wrote:
Hi listmates,
Can anyone tell me what this means?
# make oldconfig HOSTCC scripts/basic/fixdep In file included from /usr/include/sys/socket.h:40, from /usr/include/netinet/in.h:25, from /usr/include/arpa/inet.h:23, from scripts/basic/fixdep.c:117: /usr/include/bits/socket.h:334:24: error: asm/socket.h: No such file or directory make[1]: *** [scripts/basic/fixdep] Error 1 make: *** [scripts_basic] Error 2
I am trying to compile kernel 2.6.30 source obtained from openSuSE. I have downloaded and installed all the compilers, etc., that are suggested in the Package list 'Kernel Development' as well as the normal stuff in the Basic Development package.
I am currently on a 11.1 machine with the latest updates (that I am aware of ).
TIA Richard
Install kernel-syms package. Not sure for 2.6.30 source, but 2.6.31 has /usr/src/linux-obj/ directory needed for kernel module compilation in above package.
Compiling Nvidia kernel module is standard practice when you run Factory, and 'make oldconfig prepare' didn't work (you can list all make targets in one command). Knowing from error that something is wrong with linux-obj I looked in /usr/src and there was none. On opensuse-kernel list was mentioned before that they plan to take /linux-obj from sources, so that people don't have to install 100+ MB just to compile one module, I knew that time has come, but I didn't know where to look.
I asked on opensuse IRC and they told me to install kernel-syms which solved problem. (I could look with YaST Software Management, check Provides, and put above path in search too, but IRC spoils people).
-- Regards, Rajko
Thankyou Rajko. I already had the SYMS installed... athelon:~ # uname -r 2.6.27.29-0.1-pae athelon:~ # rpm -qa | grep kernel kernel-debug-base-2.6.27.29-0.1.1 kernel-pae-extra-2.6.27.29-0.1.1 nfs-kernel-server-1.1.3-18.2.1 kernel-source-2.6.27.29-0.1.1 kernel-syms-2.6.27.29-0.1.1 <----- Syms installed and agree with kernel ver. linux-kernel-headers-2.6.27-2.28 kernel-pae-2.6.27.29-0.1.1 kernel-source-debuginfo-2.6.27.7-9.1 kernel-docs-2.6.3-3.13.46 kernel-debug-extra-2.6.27.29-0.1.1 kernel-pae-base-2.6.27.29-0.1.1 kernel-debug-2.6.27.29-0.1.1 athelon:~ # cd /usr/src athelon:/usr/src # ls buildkernel-1.06 linux linux-2.6.27.7-9-obj linux.ac samlib-0.2.tar.gz vboxnetadp-3.0.4 buildkernel-1.06.tar.gz linux-2.6.27.29-0.1 linux-2.6.30 packages source vboxnetflt-3.0.4 configs linux-2.6.27.29-0.1-obj linux-obj samlib-0.2 vboxdrv-3.0.4 athelon:/usr/src # cd linux-2.6.27.29-0.1 athelon:/usr/src/linux-2.6.27.29-0.1 # make oldconfig prepare HOSTCC scripts/basic/fixdep In file included from /usr/include/sys/socket.h:40, from /usr/include/netinet/in.h:25, from /usr/include/arpa/inet.h:23, from scripts/basic/fixdep.c:117: /usr/include/bits/socket.h:334:24: error: asm/socket.h: No such file or directory make[2]: *** [scripts/basic/fixdep] Error 1 make[1]: *** [scripts_basic] Error 2 make: *** [oldconfig] Error 2 athelon:/usr/src/linux-2.6.27.29-0.1 # S.O.S. :( I appreciate the hints. Other than compiling, literally everything on this machine WORKS. I did force an update of ALL installed packages, several times in fact. --- TIA Richard -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org