All of lore.kernel.org
 help / color / mirror / Atom feed
From: Allen Chan <alydar@users.sourceforge.net>
To: user-mode-linux-devel@lists.sourceforge.net
Cc: Jeff Dike <jdike@addtoit.com>
Subject: Re: [uml-devel] Testing needed for terminal handling patches
Date: Tue, 10 Aug 2004 14:49:23 -0400	[thread overview]
Message-ID: <200408101449.23807.alydar@users.sourceforge.net> (raw)
In-Reply-To: <200408100515.i7A5FUQW027590@ccure.user-mode-linux.org>

I got a number of errors compiling the kernel with the new patches.   
The log of the compile at the point of the first three errors are as 
follows:

-----------------
gcc   -Wall -Wstrict-prototypes -Wno-trigraphs -O2 
-fno-strict-aliasing -fno-common -U__i386__ -Ui386 -DUM_FASTCALL -g 
-D__arch_um__ -DSUBARCH=\"i386\" -D_LARGEFILE64_SOURCE  
-I/home/alydar/play/kernel/linux-2.4.26/arch/um/include 
-I/home/alydar/play/kernel/linux-2.4.26/arch/um/kernel/tt/include 
-I/home/alydar/play/kernel/linux-2.4.26/arch/um/kernel/skas/include 
-D_GNU_SOURCE -c -o process.o process.c
process.c: In function `handle_trap':
process.c:64: warning: use of conditional expressions as lvalues is 
deprecated
process.c:80: error: parse error before "while"
...
-----------------
gcc   -Wall -Wstrict-prototypes -Wno-trigraphs -O2 
-fno-strict-aliasing -fno-common -U__i386__ -Ui386 -DUM_FASTCALL -g 
-D__arch_um__ -DSUBARCH=\"i386\" -D_LARGEFILE64_SOURCE  
-I/home/alydar/play/kernel/linux-2.4.26/arch/um/include 
-I/home/alydar/play/kernel/linux-2.4.26/arch/um/kernel/tt/include 
-I/home/alydar/play/kernel/linux-2.4.26/arch/um/kernel/skas/include 
-D_GNU_SOURCE -c -o sigio_user.o sigio_user.c
sigio_user.c: In function `check_one_sigio':
sigio_user.c:72: error: too few arguments to function `__raw'
...
-----------------
gcc   -Wall -Wstrict-prototypes -Wno-trigraphs -O2 
-fno-strict-aliasing -fno-common -U__i386__ -Ui386 -DUM_FASTCALL -g 
-D__arch_um__ -DSUBARCH=\"i386\" -D_LARGEFILE64_SOURCE  
-I/home/alydar/play/kernel/linux-2.4.26/arch/um/include 
-I/home/alydar/play/kernel/linux-2.4.26/arch/um/kernel/tt/include 
-I/home/alydar/play/kernel/linux-2.4.26/arch/um/kernel/skas/include 
-D_GNU_SOURCE -c -o user_util.o user_util.c
user_util.c:122:29: macro "raw" passed 2 arguments, but takes just 1
...
-----------------


I was able to fix the typo on the first one by modifying line 80 of 
arch/um/kernel/skas/process.c to:
    CATCH_EINTR(err = waitpid(pid, &status, WUNTRACED));
from:
    err = CATCH_EINTR(waitpid(pid, &status, WUNTRACED));

However, it is not clear to me how the raw() and __raw() functions and 
macros were intended to be handled on the other errors.  I have a 
strange suspicion that the two "raw" patches posted on the 
incremental patches site are incomplete.


On Tuesday 10 August 2004 01:15 am, Jeff Dike wrote:
> I've posted a set of patches that fiddle with UML's handling of
> terminal modes to
> http://user-mode-linux.sourceforge.net/patches.html
>
> I'd like people to try them out and report bad experiences,
> especially if you saw the 'netdevice 0' hang or stairstepping
> output during boot.  They are the catch-eintr, bb-raw, and
> clean-raw patches.


-------------------------------------------------------
SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media
100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33
Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift.
http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285
_______________________________________________
User-mode-linux-devel mailing list
User-mode-linux-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel

  reply	other threads:[~2004-08-10 18:49 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-08-10  5:15 [uml-devel] Testing needed for terminal handling patches Jeff Dike
2004-08-10 18:49 ` Allen Chan [this message]
2004-08-10 21:22   ` Jeff Dike
2004-08-11  6:53 ` Matt Clay

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=200408101449.23807.alydar@users.sourceforge.net \
    --to=alydar@users.sourceforge.net \
    --cc=jdike@addtoit.com \
    --cc=user-mode-linux-devel@lists.sourceforge.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.