Hi, when trying to compile programs, I get messages like In file included from /usr/include/bits/sigcontext.h:28, from /usr/include/signal.h:333, from /usr/include/sys/wait.h:31, from /opt/kde3/include/kprocess.h:24, from /usr/src/packages/BUILD/k3b-1.0.3/libk3b/projects/movixcd/../../core/k3bprocess.h:21, from /usr/src/packages/BUILD/k3b-1.0.3/libk3b/projects/movixcd/k3bmovixprogram.cpp:19: /usr/include/asm/sigcontext.h:4:28: error: linux/compiler.h: No such file or directory The /usr/include/linux directory is provided by the linux-kernel-headers package, but I could not find the requested file. I have about the same problem with /usr/include/asm - there are several directories (i.g. asm-arm, asm-i386, ...), but no asm directory or no link for this. Any hints? kind regards, Rainer -- To unsubscribe, e-mail: opensuse-testing+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-testing+help@opensuse.org
Rainer Lay wrote:
Hi,
when trying to compile programs, I get messages like In file included from /usr/include/bits/sigcontext.h:28, from /usr/include/signal.h:333, from /usr/include/sys/wait.h:31, from /opt/kde3/include/kprocess.h:24, from /usr/src/packages/BUILD/k3b-1.0.3/libk3b/projects/movixcd/../../core/k3bprocess.h:21, from /usr/src/packages/BUILD/k3b-1.0.3/libk3b/projects/movixcd/k3bmovixprogram.cpp:19: /usr/include/asm/sigcontext.h:4:28: error: linux/compiler.h: No such file or directory Did you install the kernel-source?
What does "rpm -q kernel-source" say? Regards, -- Patrick Kirsch - Quality Assurance Department SUSE Linux Products GmbH GF: Markus Rex, HRB 16746 (AG Nuernberg) -- To unsubscribe, e-mail: opensuse-testing+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-testing+help@opensuse.org
Patrick Kirsch schrieb:
Rainer Lay wrote:
Hi,
when trying to compile programs, I get messages like In file included from /usr/include/bits/sigcontext.h:28, from /usr/include/signal.h:333, from /usr/include/sys/wait.h:31, from /opt/kde3/include/kprocess.h:24, from /usr/src/packages/BUILD/k3b-1.0.3/libk3b/projects/movixcd/../../core/k3bprocess.h:21, from /usr/src/packages/BUILD/k3b-1.0.3/libk3b/projects/movixcd/k3bmovixprogram.cpp:19: /usr/include/asm/sigcontext.h:4:28: error: linux/compiler.h: No such file or directory
Did you install the kernel-source?
What does "rpm -q kernel-source" say?
Regards,
yep: kernel-source-2.6.22.1-16 rgds, Rainer -- To unsubscribe, e-mail: opensuse-testing+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-testing+help@opensuse.org
Rainer Lay wrote:
Patrick Kirsch schrieb:
Rainer Lay wrote:
Hi,
when trying to compile programs, I get messages like In file included from /usr/include/bits/sigcontext.h:28, from /usr/include/signal.h:333, from /usr/include/sys/wait.h:31, from /opt/kde3/include/kprocess.h:24, from /usr/src/packages/BUILD/k3b-1.0.3/libk3b/projects/movixcd/../../core/k3bprocess.h:21, from /usr/src/packages/BUILD/k3b-1.0.3/libk3b/projects/movixcd/k3bmovixprogram.cpp:19: /usr/include/asm/sigcontext.h:4:28: error: linux/compiler.h: No such file or directory
Did you install the kernel-source?
What does "rpm -q kernel-source" say?
Regards,
yep: kernel-source-2.6.22.1-16
Well this file compiler.h is provided from kernel-source-2.6.22.1-16.i586.rpm (openSUSE-10.3-Beta1-DVD-i386.iso) and should be at /usr/src/linux-2.6.22.1-16/include/linux/compiler.h. Maybe the included paths are not correct set, can you check? -- Patrick Kirsch - Quality Assurance Department SUSE Linux Products GmbH GF: Markus Rex, HRB 16746 (AG Nuernberg) -- To unsubscribe, e-mail: opensuse-testing+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-testing+help@opensuse.org
Patrick Kirsch schrieb:
Rainer Lay wrote:
Patrick Kirsch schrieb:
Rainer Lay wrote:
Hi,
when trying to compile programs, I get messages like In file included from /usr/include/bits/sigcontext.h:28, from /usr/include/signal.h:333, from /usr/include/sys/wait.h:31, from /opt/kde3/include/kprocess.h:24, from /usr/src/packages/BUILD/k3b-1.0.3/libk3b/projects/movixcd/../../core/k3bprocess.h:21, from /usr/src/packages/BUILD/k3b-1.0.3/libk3b/projects/movixcd/k3bmovixprogram.cpp:19: /usr/include/asm/sigcontext.h:4:28: error: linux/compiler.h: No such file or directory
Did you install the kernel-source?
What does "rpm -q kernel-source" say?
Regards,
yep: kernel-source-2.6.22.1-16
Well this file compiler.h is provided from kernel-source-2.6.22.1-16.i586.rpm (openSUSE-10.3-Beta1-DVD-i386.iso) and should be at /usr/src/linux-2.6.22.1-16/include/linux/compiler.h.
Maybe the included paths are not correct set, can you check?
Yes, the file is there.
Yes I can check the include paths.
But you do not want me to put /usr/src/linux-2.6.22.1-16 in my header
include path, right?
My assumption is, that a program should include /usr/include in header
path and than can include something like
Rainer Lay wrote:
Yes I can check the include paths. But you do not want me to put /usr/src/linux-2.6.22.1-16 in my header include path, right? My assumption is, that a program should include /usr/include in header path and than can include something like
. Right? Yes. By the way which application you want to compile? So at my filesystem, there should be a file like /usr/include/linux/compiler.h . Right? So it was. But this is not true. /usr/include/linux is provided be kernel-source-header and there is no compiler.h . kernel-source-2.6.22.1 has a file named compiler.h, but not at the correct location. Well I guess it was taken out, because it's maybe not needed anymore. Can you try rebuilding, with commenting out "linux/compiler.h" in /usr/include/asm/sigcontext.h ?
So either my assumptions are wrong or my filesystem or the include paths. We will see, I'm confused too.
rgds, Rainer
Grüße, -- Patrick Kirsch - Quality Assurance Department SUSE Linux Products GmbH GF: Markus Rex, HRB 16746 (AG Nuernberg) -- To unsubscribe, e-mail: opensuse-testing+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-testing+help@opensuse.org
Patrick Kirsch schrieb:
Rainer Lay wrote:
Yes I can check the include paths. But you do not want me to put /usr/src/linux-2.6.22.1-16 in my header include path, right? My assumption is, that a program should include /usr/include in header path and than can include something like
. Right? Yes. By the way which application you want to compile?
k3b, with the spec file from a opensuse site. I am wondering, how the paths are organized on the machines, who compiled beta1 ??? I have the same problems with klear, qdvdauthor, ...
So at my filesystem, there should be a file like /usr/include/linux/compiler.h . Right?
So it was.
But this is not true. /usr/include/linux is provided be kernel-source-header and there is no compiler.h . kernel-source-2.6.22.1 has a file named compiler.h, but not at the correct location.
Well I guess it was taken out, because it's maybe not needed anymore. Can you try rebuilding, with commenting out "linux/compiler.h" in /usr/include/asm/sigcontext.h ?
I did this. This results in: /usr/include/asm/sigcontext.h:79: error: expected ‘;’ before ‘*’ token So it seems, this sigcontext.h is strange. But where does it come from? /usr/include/asm is a soft link to /usr/src/linux/include/asm-i386 ; i.e. kernel-source So I am wondering again, how should /usr/include/asm & /usr/include/linux be set? rgds, Rainer
So either my assumptions are wrong or my filesystem or the include paths.
We will see, I'm confused too.
rgds, Rainer
Grüße,
-- To unsubscribe, e-mail: opensuse-testing+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-testing+help@opensuse.org
participants (2)
-
Patrick Kirsch
-
Rainer Lay