mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Oliver Pitzeier <o.pitzeier@uptime.at>
To: Thunder from the hill <thunder@lightweight.ods.org>
Cc: Leslie Donaldson <donaldlf@cs.rose-hulman.edu>,
	<axp-kernel-list@redhat.com>, <linux-kernel@vger.kernel.org>,
	Ivan Kokshaysky <ink@jurassic.park.msu.ru>
Subject: Kernel 2.5.33 compile errors (Re: Kernel 2.5.33 successfully compiled)
Date: Tue, 3 Sep 2002 18:27:16 +0200	[thread overview]
Message-ID: <200209031827.16594.o.pitzeier@uptime.at> (raw)
In-Reply-To: <200209031818.16140.o.pitzeier@uptime.at>

On Tuesday 03 September 2002 18:18, Oliver Pitzeier wrote:
> On Tuesday 03 September 2002 18:14, Thunder from the hill wrote:
[ ... ]
> No. It seems simply missing. In 2.5.32 it is there. On the right place.
> :o))))
>
> > > > process.c: In function `alpha_clone':
> > > > process.c:268: too few arguments to function `do_fork'
> > > > process.c: In function `alpha_vfork':
> > > > process.c:277: too few arguments to function `do_fork'
> > > > make[1]: *** [process.o] Error 1
> > > > make[1]: Leaving directory
> >
> > Yes, the syntax changed.

OK, after calling do_fork with "NULL" as extra argument. It compiles.

(No, I do not want to make the kernel run fine [currently], but I want to 
trace down the count of bugs to a countable value. :o) )

[ ... ]

OK. The next problem seems harded to me (Maybe Ivan can help a bit!?):

  gcc -Wp,-MD,./.irq.o.d -D__KERNEL__ -I/usr/src/linux-2.5.33/include -Wall 
-Wstrict-prototypes -Wno-trigraphs -O2 -fomit-frame-pointer 
-fno-strict-aliasing -fno-common -pipe -mno-fp-regs -ffixed-8 -msmall-data 
-mcpu=ev5 -Wa,-mev6 -nostdinc -iwithprefix include    -DKBUILD_BASENAME=irq   
-c -o irq.o irq.c
In file included from irq.c:15:
/usr/src/linux-2.5.33/include/linux/ptrace.h:28: warning: `struct task_struct' 
declared inside parameter list
/usr/src/linux-2.5.33/include/linux/ptrace.h:28: warning: its scope is only 
this definition or declaration, which is probably not what you want
/usr/src/linux-2.5.33/include/linux/ptrace.h:29: warning: `struct task_struct' 
declared inside parameter list
/usr/src/linux-2.5.33/include/linux/ptrace.h:30: warning: `struct task_struct' 
declared inside parameter list
/usr/src/linux-2.5.33/include/linux/ptrace.h:31: warning: `struct task_struct' 
declared inside parameter list
/usr/src/linux-2.5.33/include/linux/ptrace.h:32: warning: `struct task_struct' 
declared inside parameter list
/usr/src/linux-2.5.33/include/linux/ptrace.h:33: warning: `struct task_struct' 
declared inside parameter list
/usr/src/linux-2.5.33/include/linux/ptrace.h:35: warning: `struct task_struct' 
declared inside parameter list
/usr/src/linux-2.5.33/include/linux/ptrace.h:36: warning: `struct task_struct' 
declared inside parameter list
/usr/src/linux-2.5.33/include/linux/ptrace.h:39: warning: `struct task_struct' 
declared inside parameter list
/usr/src/linux-2.5.33/include/linux/ptrace.h: In function `ptrace_link':
/usr/src/linux-2.5.33/include/linux/ptrace.h:41: dereferencing pointer to 
incomplete type
/usr/src/linux-2.5.33/include/linux/ptrace.h:42: warning: passing arg 1 of 
`__ptrace_link' from incompatible pointer type
/usr/src/linux-2.5.33/include/linux/ptrace.h:42: warning: passing arg 2 of 
`__ptrace_link' from incompatible pointer type
/usr/src/linux-2.5.33/include/linux/ptrace.h: At top level:
/usr/src/linux-2.5.33/include/linux/ptrace.h:44: warning: `struct task_struct' 
declared inside parameter list
/usr/src/linux-2.5.33/include/linux/ptrace.h: In function `ptrace_unlink':
/usr/src/linux-2.5.33/include/linux/ptrace.h:46: dereferencing pointer to 
incomplete type
/usr/src/linux-2.5.33/include/linux/ptrace.h:47: warning: passing arg 1 of 
`__ptrace_unlink' from incompatible pointer type
make[1]: *** [irq.o] Error 1
make[1]: Leaving directory `/usr/src/linux-2.5.33/arch/alpha/kernel'
make: *** [arch/alpha/kernel] Error 2

-- 
Oliver Pitzeier
UNIX Administrator
-
Linux 2.4.19 i686     Load: 0.32 0.25 0.27


  reply	other threads:[~2002-09-03 16:28 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-09-03 10:59 Kernel 2.5.33 successfully compiled Oliver Pitzeier
2002-09-03 11:57 ` Oliver Pitzeier
2002-09-03 15:08   ` Leslie Donaldson
2002-09-03 15:26     ` Padraig Brady
2002-09-03 15:53     ` Oliver Pitzeier
2002-09-03 16:14       ` Thunder from the hill
2002-09-03 16:18         ` Oliver Pitzeier
2002-09-03 16:27           ` Oliver Pitzeier [this message]
2002-09-03 16:39             ` Kernel 2.5.33 compile errors (Re: Kernel 2.5.33 successfully compiled) Thunder from the hill
2002-09-03 22:22             ` [PATCH] include/linux/ptrace.h " Remco Post
2002-09-03 22:37               ` Thunder from the hill
2002-09-04  7:33                 ` Remco Post
2002-09-04  9:25                   ` Leslie Donaldson
2002-09-04 16:24                     ` Leslie Donaldson
2002-09-04 21:41                       ` Leslie Donaldson
2002-09-03 16:34           ` Kernel 2.5.33 successfully compiled Thunder from the hill

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=200209031827.16594.o.pitzeier@uptime.at \
    --to=o.pitzeier@uptime.at \
    --cc=axp-kernel-list@redhat.com \
    --cc=donaldlf@cs.rose-hulman.edu \
    --cc=ink@jurassic.park.msu.ru \
    --cc=linux-kernel@vger.kernel.org \
    --cc=thunder@lightweight.ods.org \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

Powered by JetHome