From: George Anzinger <george@mvista.com>
To: Serge Goodenko <s_goodenko@mail.ru>
Cc: linux-kernel@vger.kernel.org,
"'high-res-timers-discourse@lists.sourceforge.net'"
<high-res-timers-discourse@lists.sourceforge.net>
Subject: Re: [PATCH] UML + High-Res-Timers on 2.4.25 kernel
Date: Fri, 07 Oct 2005 09:21:56 -0700 [thread overview]
Message-ID: <4346A0A4.4090303@mvista.com> (raw)
In-Reply-To: <E1ENsDa-0008Y1-00.s_goodenko-mail-ru@f16.mail.ru>
Serge Goodenko wrote:
> Hello!
>
> I am trying to compile 2.4.25 UML kernel together with High Resolution Timers patch and it fails to compile saying the following during linking:
>
> gcc -Wl,-T,arch/um/link.ld -static -Wl,--wrap,malloc -Wl,--wrap,free -Wl,--wrap,calloc \
> -o linux arch/um/main.o vmlinux.o -L/usr/lib -lutil
> vmlinux.o(.text+0x2688): In function `schedule_timeout':
> /usr/src/linux-2.4.25/kernel/sched.c:443: undefined reference to `jiffies'
> vmlinux.o(.text+0x26cd):/usr/src/linux-2.4.25/kernel/sched.c:454: undefined reference to `jiffies'
> vmlinux.o(.text+0x27a4): In function `schedule':
> /usr/src/linux-2.4.25/include/linux/sched.h:929: undefined reference to `jiffies'
> vmlinux.o(.text+0x489e): In function `do_fork':
> /usr/src/linux-2.4.25/kernel/fork.c:740: undefined reference to `jiffies'
> vmlinux.o(.text+0xabd5): In function `do_getitimer':
> /usr/src/linux-2.4.25/kernel/itimer.c:55: undefined reference to `jiffies'
> vmlinux.o(.text+0xacd3):/usr/src/linux-2.4.25/kernel/itimer.c:103: more undefined references to `jiffies' follow
> collect2: ld returned 1 exit status
> make: *** [linux] Error 1
>
> is there any solution to this problem?
> or HRT patch is not supposed to work under UML at all?
>
You might do better on the HRT list (cc'ed).
I don't know what UML needs. I would have thought that jiffies would be defined... especially for
things like do_fork. Which patch are you using?
--
George Anzinger george@mvista.com
HRT (High-res-timers): http://sourceforge.net/projects/high-res-timers/
next prev parent reply other threads:[~2005-10-07 16:22 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-10-07 13:24 [PATCH] UML + High-Res-Timers on 2.4.25 kernel Serge Goodenko
2005-10-07 16:21 ` George Anzinger [this message]
2005-10-13 7:55 ` Serge Goodenko
2005-10-13 19:44 ` George Anzinger
2005-10-14 8:02 ` Re[2]: " Serge Goodenko
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=4346A0A4.4090303@mvista.com \
--to=george@mvista.com \
--cc=high-res-timers-discourse@lists.sourceforge.net \
--cc=linux-kernel@vger.kernel.org \
--cc=s_goodenko@mail.ru \
/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.