Missing system header files
I'm using OpenSuse 11.0. If I, for example, #include <signal.h>, I get
the error:
In file included from /usr/include/signal.h:333
/usr/include/bits/sigcontext.h:28:29: error: asm/sigcontext.h: No such file or directory
Seemingly I'm missing some devel package. I don't have the faintest idea
which one it could be. Any suggestions?
Re: Missing system header files
Juha Nieminen wrote:
[color=blue]
> I'm using OpenSuse 11.0. If I, for example, #include <signal.h>, I get
> the error:
>
> In file included from /usr/include/signal.h:333
> /usr/include/bits/sigcontext.h:28:29: error: asm/sigcontext.h: No such file or directory
>
> Seemingly I'm missing some devel package. I don't have the faintest idea
> which one it could be. Any suggestions?[/color]
linux-kernel-headers
Hmm, something is screwed up, linux-kernel-headers *is* included in the
dependencies for glibc-devel (at least it is on 10.3).
--
Huibert
"Hey! HEY! Curious cat, here!" -- Krosp I (GG)
Re: Missing system header files
On Sat, 1 Nov 2008, Juha Nieminen wrote:-
[color=blue]
> Seemingly I'm missing some devel package. I don't have the faintest idea
>which one it could be. Any suggestions?[/color]
It's in the kernel headers package so you need to install the package
linux-kernel-headers.
Regards,
David Bolt
--
[url]www.davjam.org/lifetype/[/url] [url]www.distributed.net:[/url] OGR@100Mnodes, RC5-72@15Mkeys
SUSE 10.1 32b | | openSUSE 10.3 32b | openSUSE 11.0 32b
| openSUSE 10.2 64b | openSUSE 10.3 64b | openSUSE 11.0 64b
RISC OS 3.6 | TOS 4.02 | openSUSE 10.3 PPC | RISC OS 3.11
Re: Missing system header files
Huibert Bol <huibert.bol@quicknet.nl> wrote:[color=blue]
> Hmm, something is screwed up, linux-kernel-headers *is* included in the
> dependencies for glibc-devel (at least it is on 10.3).[/color]
It's strange. I had linux-kernel-headers installed, but not all the
files in that package were. When I selected to update it, it installed
the missing files.
(I wonder if this has something to do with me having upgraded to
OpenSuse 11.0 from 10.2.)
Re: Missing system header files
Juha Nieminen wrote:
[color=blue]
> Huibert Bol <huibert.bol@quicknet.nl> wrote:[color=green]
>> Hmm, something is screwed up, linux-kernel-headers *is* included in the
>> dependencies for glibc-devel (at least it is on 10.3).[/color]
>
> It's strange. I had linux-kernel-headers installed, but not all the
> files in that package were. When I selected to update it, it installed
> the missing files.
>
> (I wonder if this has something to do with me having upgraded to
> OpenSuse 11.0 from 10.2.)[/color]
It'd make me worry whether there were any other packages that need
updating |-(
--
Huibert
"Hey! HEY! Curious cat, here!" -- Krosp I (GG)
Re: Missing system header files
David Bolt <blacklist-me@davjam.org> wrote:[color=blue]
>On Sat, 1 Nov 2008, Juha Nieminen wrote:-[/color]
[color=blue][color=green]
>> Seemingly I'm missing some devel package. I don't have the faintest idea
>>which one it could be. Any suggestions?[/color][/color]
[color=blue]
>It's in the kernel headers package so you need to install the package
>linux-kernel-headers.[/color]
Since signals are using in many programs, that's a bit strange.
On the other hand, installing linux-kernel-headers in any case
is an excellent idea.
--
--- Paul J. Gans
Re: Missing system header files
On Sat, 1 Nov 2008 22:14:16 +0000 (UTC), Paul J Gans <gans@panix.com>
wrote:
[color=blue]
>Since signals are using in many programs, that's a bit strange.[/color]
Not strange at all! Signals must be handled by the kernel, the C
library is just a wrapper for the kernel services and so the kernel
defines a few things. And as some of these definitions are machine
specific, you'll find them in asm/signal.h, where asm is a symlink
your machines headers, i.e. asm-i386 or similiar.
Philipp