From: Stephan van Hienen <ultra@a2000.nu>
To: ultralinux@vger.kernel.org
Subject: Re: updated util-linux for ultrasparc redhat 6.2
Date: Mon, 04 Mar 2002 21:51:11 +0000 [thread overview]
Message-ID: <marc-linux-ultrasparc-101527869109091@msgid-missing> (raw)
In-Reply-To: <marc-linux-ultrasparc-101519362401241@msgid-missing>
On Mon, 4 Mar 2002, Kaj-Michael Lang wrote:
> > it goes wrong on the following, does someone know how to fix this/what i'm
> > missing :
>
> Your kernel and/or glibc is old or compiled against an old kernel that does
> not know about pivot_root on sparc (I think, correct me if I'm wrong). You
> really don't need it so just remove it from the makefile and compile, it
> should work.
Ok,
compiles ok now, removed this from util-linux-2.11n-miscfixes.patch :
--- util-linux-2.11n/mount/pivot_root.c.miscfixes Fri Nov 9
11:49:57 2001
+++ util-linux-2.11n/mount/pivot_root.c Wed Dec 26 16:57:52 2001
@@ -4,16 +4,9 @@
#include <stdio.h>
-
-#ifdef __ia64__
-# include <sys/syscall.h>
-# define pivot_root(new_root,put_old)
syscall(SYS_pivot_root,new_root,put_old)
-#else
-# include <linux/unistd.h>
-
-static
-_syscall2(int,pivot_root,const char *,new_root,const char *,put_old)
-#endif
+#include <sys/syscall.h>
+#include <unistd.h>
+#define pivot_root(new_root,put_old)
syscall(SYS_pivot_root,new_root,put_old)
int main(int argc,const char **argv)
{
prev parent reply other threads:[~2002-03-04 21:51 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-03-03 22:13 updated util-linux for ultrasparc redhat 6.2 stephan
2002-03-04 8:52 ` Kaj-Michael Lang
2002-03-04 21:51 ` Stephan van Hienen [this message]
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=marc-linux-ultrasparc-101527869109091@msgid-missing \
--to=ultra@a2000.nu \
--cc=ultralinux@vger.kernel.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