From: Ian McDonald <imcdnzl@gmail.com>
To: UML Developer <user-mode-linux-devel@lists.sourceforge.net>
Subject: [uml-devel] Can't compile under vanilla 2.6.11
Date: Fri, 18 Mar 2005 16:18:25 +1300 [thread overview]
Message-ID: <cbec11ac05031719187cb8e7d2@mail.gmail.com> (raw)
Hi there,
I've been watching the discussion around 2.6.11 and reading the
archives and I can't find the information with any clarity that I
need. My problem is that I can't get UML to compile. I can on 2.4.27
(with the standard patches) and with 2.6.10 also.
My environment is Debian Woody with 2.4.27 kernel. My gcc version is
2.95.4. I am using default options when I do 'make menu_config
ARCH=um'
Here is the error that I am experiencing once I do 'make linux ARCH=um':
arch/um/kernel/sys_call_table.c:277: duplicate array index in initializer
arch/um/kernel/sys_call_table.c:277: (near initialization for `sys_call_table')
arch/um/kernel/sys_call_table.c:277: duplicate array index in initializer
arch/um/kernel/sys_call_table.c:277: (near initialization for `sys_call_table')
The code at line 277 is:
ARCH_SYSCALLS
[ LAST_SYSCALL + 1 ... NR_syscalls ] =
(syscall_handler_t *) sys_ni_syscall
I don't quite understand this as it surpasses my C knowledge but if I
do a dirty hack and change this to:
[ LAST_SYSCALL + 1 ... NR_syscalls ] =
(syscall_handler_t *) sys_ni_syscall
i.e. remove ARCH_SYSCALS it compiles.
However when it goes to finish off and link I then get this error message
arch/um/kernel/built-in.o: In function `do_buffer_op':
arch/um/kernel/built-in.o(.text+0xcf4a): undefined reference to `va_copy'
arch/um/kernel/built-in.o(.data+0x1570): undefined reference to `sys_vserver'
and I don't have a linux kernel.
Can anybody point me in the right direction?
Regards,
Ian
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
User-mode-linux-devel mailing list
User-mode-linux-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel
next reply other threads:[~2005-03-18 3:18 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-03-18 3:18 Ian McDonald [this message]
2005-03-18 3:40 ` [uml-devel] Can't compile under vanilla 2.6.11 Rob Landley
2005-03-18 6:34 ` Ian McDonald
2005-03-18 23:42 ` Rob Landley
2005-03-18 23:43 ` Rob Landley
2005-03-19 21:31 ` [uml-devel] Running JDK1.5 Maxes Out CPU Peter
2005-03-21 4:43 ` BUG with proposed fix Re: [uml-devel] Can't compile under vanilla 2.6.11 Ian McDonald
2005-03-21 5:13 ` [uml-devel] 2.4 do_mmap_pgoff compile problem Peter
2005-03-22 17:50 ` Blaisorblade
2005-03-21 5:30 ` BUG with proposed fix Re: [uml-devel] Can't compile under vanilla 2.6.11 Ian McDonald
2005-03-24 11:03 ` Blaisorblade
2005-04-08 4:04 ` Ian McDonald
2005-04-08 4:24 ` Blaisorblade
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=cbec11ac05031719187cb8e7d2@mail.gmail.com \
--to=imcdnzl@gmail.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.