[opensuse] What's this error message? I cannot compile anything.
Hi, from several days I've been seeing certain message error at compiling, and I don't know how on earth it means. In a first moment I thought it was something about kernel, but if so I cannot understand what has to do aMule, for instance, with kernel or even a mpd client I'm trying to compile. Please, tell me how can I solve this. The message is this: "/usr/include/bits/socket.h:320:24: error: asm/socket.h: No existe el fichero o el directorio" My searches on Google, on my system does not say anything about it. I would thank anyone who would help me, above all I cannot compile nearly any sources. Thanks in advance, Hudibras (AOP) -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Thu, Aug 7, 2008 at 2:34 PM, Hudibras
Hi,
from several days I've been seeing certain message error at compiling, and I don't know how on earth it means. In a first moment I thought it was something about kernel, but if so I cannot understand what has to do aMule, for instance, with kernel or even a mpd client I'm trying to compile.
Please, tell me how can I solve this. The message is this: "/usr/include/bits/socket.h:320:24: error: asm/socket.h: No existe el fichero o el directorio" My searches on Google, on my system does not say anything about it. I would thank anyone who would help me, above all I cannot compile nearly any sources.
Thanks in advance, Hudibras (AOP)
Looks like you don't have the directory /usr/include/asm or the file /usr/include/asm/socket.h I don't know what package they come from, but I would try uninstalling and re-installing the gcc compiler first. Greg -- Greg Freemyer Litigation Triage Solutions Specialist http://www.linkedin.com/in/gregfreemyer First 99 Days Litigation White Paper - http://www.norcrossgroup.com/forms/whitepapers/99%20Days%20whitepaper.pdf The Norcross Group The Intersection of Evidence & Technology http://www.norcrossgroup.com -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Thu, 2008-08-07 at 15:10 -0400, Greg Freemyer wrote:
On Thu, Aug 7, 2008 at 2:34 PM, Hudibras
wrote: Hi,
from several days I've been seeing certain message error at compiling, and I don't know how on earth it means. In a first moment I thought it was something about kernel, but if so I cannot understand what has to do aMule, for instance, with kernel or even a mpd client I'm trying to compile.
Please, tell me how can I solve this. The message is this: "/usr/include/bits/socket.h:320:24: error: asm/socket.h: No existe el fichero o el directorio" My searches on Google, on my system does not say anything about it. I would thank anyone who would help me, above all I cannot compile nearly any sources.
Thanks in advance, Hudibras (AOP)
Looks like you don't have the directory /usr/include/asm
or the file /usr/include/asm/socket.h
I don't know what package they come from, but I would try uninstalling and re-installing the gcc compiler first.
install linux-kernel-headers
--
David L. Martin
On Thu, 07 Aug 2008 15:10:48 -0400, Greg Freemyer wrote:
I don't know what package they come from, but I would try uninstalling and re-installing the gcc compiler first.
As David said, Linux kernel headers. But why would you reinstall GCC? That seems a bit random to me. Jim -- Jim Henderson Please keep on-topic replies on the list so everyone benefits -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
----- Original Message -----
From: "Hudibras"
Hi,
from several days I've been seeing certain message error at compiling, and I don't know how on earth it means. In a first moment I thought it was something about kernel, but if so I cannot understand what has to do aMule, for instance, with kernel or even a mpd client I'm trying to compile.
Please, tell me how can I solve this. The message is this: "/usr/include/bits/socket.h:320:24: error: asm/socket.h: No existe el fichero o el directorio" My searches on Google, on my system does not say anything about it. I would thank anyone who would help me, above all I cannot compile nearly any sources.
Thanks in advance, Hudibras (AOP)
Install or re-install the package "linux-kernel-headers". Or, if you feel like, manually verify your existing installation. "asm/socket.h" is really "/usr/include/asm/socket.h", and /usr/include/asm is a symlink to /usr/include/asm-<arch> example: /usr/include/asm-bi-x86_64 /usr/include/asm* and /usr/include/linux* and a few others are part of the linux-kernel-headers package. (Technically they are really part of kernel-source, and kernel-headers is not strictly necessary, but it's simplest to just install the kernel-headers package suse provides in this case.) -- Brian K. White brian@aljex.com http://www.myspace.com/KEYofR +++++[>+++[>+++++>+++++++<<-]<-]>>+.>.+++++.+++++++.-.[>+<---]>++. filePro BBx Linux SCO FreeBSD #callahans Satriani Filk! -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
El jue, 07-08-2008 a las 15:22 -0400, Brian K. White escribió:
----- Original Message ----- From: "Hudibras"
To: Sent: Thursday, August 07, 2008 2:34 PM Subject: [opensuse] What's this error message? I cannot compile anything. Hi,
from several days I've been seeing certain message error at compiling, and I don't know how on earth it means. In a first moment I thought it was something about kernel, but if so I cannot understand what has to do aMule, for instance, with kernel or even a mpd client I'm trying to compile.
Please, tell me how can I solve this. The message is this: "/usr/include/bits/socket.h:320:24: error: asm/socket.h: No existe el fichero o el directorio" My searches on Google, on my system does not say anything about it. I would thank anyone who would help me, above all I cannot compile nearly any sources.
Thanks in advance, Hudibras (AOP)
Install or re-install the package "linux-kernel-headers".
Sure, I've installed everything about kernel, as usual. So, this is the first time it appears. So I would take a look again, and reinstall. Thank you!! Hudibras-
Or, if you feel like, manually verify your existing installation. "asm/socket.h" is really "/usr/include/asm/socket.h", and /usr/include/asm is a symlink to /usr/include/asm-<arch> example: /usr/include/asm-bi-x86_64
/usr/include/asm* and /usr/include/linux* and a few others are part of the linux-kernel-headers package.
(Technically they are really part of kernel-source, and kernel-headers is not strictly necessary, but it's simplest to just install the kernel-headers package suse provides in this case.)
-- Brian K. White brian@aljex.com http://www.myspace.com/KEYofR +++++[>+++[>+++++>+++++++<<-]<-]>>+.>.+++++.+++++++.-.[>+<---]>++. filePro BBx Linux SCO FreeBSD #callahans Satriani Filk!
-- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
Hudibras wrote:
Hi,
from several days I've been seeing certain message error at compiling, and I don't know how on earth it means. In a first moment I thought it was something about kernel, but if so I cannot understand what has to do aMule, for instance, with kernel or even a mpd client I'm trying to compile.
Please, tell me how can I solve this. The message is this: "/usr/include/bits/socket.h:320:24: error: asm/socket.h: No existe el fichero o el directorio" My searches on Google, on my system does not say anything about it. I would thank anyone who would help me, above all I cannot compile nearly any sources.
Thanks in advance, Hudibras (AOP)
As others said: kernel-headers. Here's how you can query rpm: rpm -q -f /usr/include/asm/socket.h linux-kernel-headers-2.6.25-8.1 works even if the file is deleted. rpm tells you if the file is missing: rpm -V -f /usr/include/asm/socket.h missing /usr/include/asm-x86/socket.h or what else is missing or modified in that package: rpm -V linux-kernel-headers S.5....T /usr/include/asm-x86/signal.h missing /usr/include/asm-x86/socket.h -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
El jue, 07-08-2008 a las 22:24 +0200, Florian Gleixner escribió:
Hudibras wrote:
Hi,
from several days I've been seeing certain message error at compiling, and I don't know how on earth it means. In a first moment I thought it was something about kernel, but if so I cannot understand what has to do aMule, for instance, with kernel or even a mpd client I'm trying to compile.
Please, tell me how can I solve this. The message is this: "/usr/include/bits/socket.h:320:24: error: asm/socket.h: No existe el fichero o el directorio" My searches on Google, on my system does not say anything about it. I would thank anyone who would help me, above all I cannot compile nearly any sources.
Thanks in advance, Hudibras (AOP)
As others said: kernel-headers. Here's how you can query rpm:
rpm -q -f /usr/include/asm/socket.h linux-kernel-headers-2.6.25-8.1
works even if the file is deleted.
rpm tells you if the file is missing:
rpm -V -f /usr/include/asm/socket.h missing /usr/include/asm-x86/socket.h
or what else is missing or modified in that package:
rpm -V linux-kernel-headers S.5....T /usr/include/asm-x86/signal.h missing /usr/include/asm-x86/socket.h
Yes, I did everything you say; I have linux-kernel-headers installed from the beginning, but this is the strange thing: compiling is still failing. I've downloaded a update for that and it seems it works! I still don't understand it but it solved the issue. Thanks, many thanks indeed. Hudibras.
-- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
* Hudibras
Yes, I did everything you say; I have linux-kernel-headers installed from the beginning, but this is the strange thing: compiling is still failing. I've downloaded a update for that and it seems it works! I still don't understand it but it solved the issue.
If you updated linux-kernel-headers, then you *had* the wrong *version*. linux-kernel-headers *must* match your installed kernel. -- Patrick Shanahan Plainfield, Indiana, USA HOG # US1244711 http://wahoo.no-ip.org Photo Album: http://wahoo.no-ip.org/gallery2 Registered Linux User #207535 @ http://counter.li.org -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
participants (7)
-
Brian K. White
-
David L. Martin
-
Florian Gleixner
-
Greg Freemyer
-
Hudibras
-
Jim Henderson
-
Patrick Shanahan