On Mon, 23 Oct 2000, Michael Hufnagl wrote:

> On Mon, 23 Oct 2000, Roger Walker wrote:
> > > Reading the error message closely reveals that asm/sigcontext.h  is
> > > included from signal.h. asm/sigcontext.h is probably part of the kernel
> > > include files. Do you have those installed?
> > 
> >     On both systems I have the kernel source installed (in the case of
> > 7.1, I have 2.2.17, but on the 6.x system, it would be 2.2.14). As I
> > indicated, that file does not appear on either system, yet it compiled on
> > the earlier Mandrake system...
> 
> hmmm....
> 
> here is the output of a locate on my mandrake7.1
> [root@enterprise]# locate sigcontext.h
> /usr/include/bits/sigcontext.h
> /usr/src/linux-2.2.15/include/asm-i386/sigcontext.h
> /usr/i586-glibc20-linux/include/sigcontext.h 

        I should have been more specific :-/

        The following exist on both systems. "/usr/src/linux" is a
symbolic link, in each case, to the appropriate kernel source tree.

/usr/src/linux/include/asm-i386/sigcontext.h
/usr/src/linux/include/asm -> asm-i386/
/usr/include/asm -> ../src/linux/include/asm/

        So, regarding "sig_alarm.c" and "sigcontext.h", both systems are
set up identically. Both systems are using qmail 1.03. The Mandrake 7.1
system gives me this error on compile:

./compile sig_alarm.c In file included from /usr/include/signal.h:300,
                 from sig_alarm.c:1: /usr/include/bits/sigcontext.h:28:
asm/sigcontext.h: No such file or directory
make: *** [sig_alarm.o] Error 1

        Here's my suspicion: Mandrake tends to "customize" lots of things,
including the kernel source and even, I've heard, the ext2 filesystem. I
am actually using the stock 7.1 kernel. I'll compile a new one from the
2.2.17 virgin source tree and see if that makes a difference.

        I know that the file does exist at the correct path, in the same
way on both systems. For whatever reason, it appears that on the 7.1
system, the multiple links are not being followed to the end.

-- 
Roger Walker                         <http://www.rat-hole.com>
Voice/Fax 1-780-440-2685             <http://www.man-from-linux.com>
"HIS Pain; YOUR Gain"                <http://www.rope.net>
<http://www.rope.net/signature.html>

Reply via email to