[prev in list] [next in list] [prev in thread] [next in thread]
List: user-mode-linux-user
Subject: Re: [uml-user] Problems compiling uml
From: "Douglas Wheet" <dwheet () buellerhosting ! com>
Date: 2004-03-31 8:05:48
Message-ID: 028401c416f6$fa59ede0$0900a8c0 () douglap
[Download RAW message or body]
Greetings,
Ok well I thought maybe it was the cpucap patch so I removed it from the 2.4.24 \
host kernel and the uml kernel still wouldn't compile. So I went ahead and upgraded \
to the 2.4.25 without openwall stuff this time. and the uml kernel wouldn't compile \
either, both times I recompiled with gcc 2.95. Same error messages. I'm at a lost. \
I did have it working at one point and the only thing I've done since is patch the \
host kernel with cpucap and openwall. I'm at a lost.
Douglas Wheet
----- Original Message -----
From: Douglas Wheet
To: user-mode-linux-user@lists.sourceforge.net
Sent: Tuesday, March 30, 2004 8:39 PM
Subject: [uml-user] Problems compiling uml
Greetings
I have just compiled a 2.4.24 kernel with ow1 (openwall security fixes) skas and \
dev-anon patch as well as I just patched it with \
http://www.rshk.co.uk/projects/downloads/patches/cpucap-v2.4.24 for the host kernel.
which compiled just fine and is loaded.
the uml kernel however doesn't seem to be compiling. I decded to use gcc-3.0 to \
compile the host 2.4.24 and I tryed that as well with the uml kernel which is 2.4.24
I've tried both gcc3 and gcc2-95 on the uml kernel as it still gives me errors on \
compileing.
In file included from process.c:27:
/root/linux-2.4.24/arch/um/include/skas_ptrace.h:9: redefinition of `struct \
ptrace_faultinfo' /root/linux-2.4.24/arch/um/include/skas_ptrace.h:14: redefinition \
of `struct ptrace_ldt' make[3]: *** [process.o] Error 1
make[3]: Leaving directory `/root/linux-2.4.24/arch/um/kernel/skas'
make[2]: *** [first_rule] Error 2
make[2]: Leaving directory `/root/linux-2.4.24/arch/um/kernel/skas'
make[1]: *** [_subdir_skas] Error 2
make[1]: Leaving directory `/root/linux-2.4.24/arch/um/kernel'
make: *** [_dir_arch/um/kernel] Error 2
main1-lsan:~/linux-2.4.24#
while using gcc3.0 it gives me the same error.
Thanks for any help
Douglas Wheet
[Attachment #3 (text/html)]
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2800.1400" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>Greetings,</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2> Ok well I thought maybe it was
the cpucap patch so I removed it from the 2.4.24 host kernel and the uml kernel
still wouldn't compile. So I went ahead and upgraded to the 2.4.25 without
openwall stuff this time. and the uml kernel wouldn't compile either,
both times I recompiled with gcc 2.95. Same error messages. I'm at a
lost. I did have it working at one point and the only thing I've
done since is patch the host kernel with cpucap and
openwall. I'm at a lost.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Douglas Wheet</FONT></DIV>
<BLOCKQUOTE dir=ltr
style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 \
2px solid; MARGIN-RIGHT: 0px"> <DIV style="FONT: 10pt arial">----- Original Message \
----- </DIV> <DIV
style="BACKGROUND: #e4e4e4; FONT: 10pt arial; font-color: black"><B>From:</B>
<A title=dwheet@buellerhosting.com
href="mailto:dwheet@buellerhosting.com">Douglas Wheet</A> </DIV>
<DIV style="FONT: 10pt arial"><B>To:</B> <A
title=user-mode-linux-user@lists.sourceforge.net
href="mailto:user-mode-linux-user@lists.sourceforge.net">user-mode-linux-user@lists.sourceforge.net</A> \
</DIV>
<DIV style="FONT: 10pt arial"><B>Sent:</B> Tuesday, March 30, 2004 8:39
PM</DIV>
<DIV style="FONT: 10pt arial"><B>Subject:</B> [uml-user] Problems compiling
uml</DIV>
<DIV><FONT face=Arial size=2></FONT><FONT face=Arial size=2></FONT><BR></DIV>
<DIV><FONT face=Arial size=2>Greetings</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>I have just compiled a 2.4.24 kernel with ow1
(openwall security fixes) skas and dev-anon patch as well as I just
patched it with <A
href="http://www.rshk.co.uk/projects/downloads/patches/cpucap-v2.4.24">http://www.rshk.co.uk/projects/downloads/patches/cpucap-v2.4.24</A> for \
the host kernel.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>which compiled just fine and is
loaded.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>the uml kernel however doesn't seem to be
compiling. I decded to use gcc-3.0 to compile the host 2.4.24 and I tryed that
as well with the uml kernel which is 2.4.24</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>I've tried both gcc3 and gcc2-95 on the uml
kernel as it still gives me errors on compileing.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>In file included from
process.c:27:<BR>/root/linux-2.4.24/arch/um/include/skas_ptrace.h:9:
redefinition of `struct
ptrace_faultinfo'<BR>/root/linux-2.4.24/arch/um/include/skas_ptrace.h:14:
redefinition of `struct ptrace_ldt'<BR>make[3]: *** [process.o] Error
1<BR>make[3]: Leaving directory
`/root/linux-2.4.24/arch/um/kernel/skas'<BR>make[2]: *** [first_rule] Error
2<BR>make[2]: Leaving directory
`/root/linux-2.4.24/arch/um/kernel/skas'<BR>make[1]: *** [_subdir_skas] Error
2<BR>make[1]: Leaving directory `/root/linux-2.4.24/arch/um/kernel'<BR>make:
*** [_dir_arch/um/kernel] Error 2<BR>main1-lsan:~/linux-2.4.24#</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>while using gcc3.0 it gives me the same
error.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Thanks for any help</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Douglas Wheet</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV></BLOCKQUOTE></BODY></HTML>
-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
_______________________________________________
User-mode-linux-user mailing list
User-mode-linux-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-user
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic