All of lore.kernel.org
 help / color / mirror / Atom feed
* [uml-devel] Can't compile under vanilla 2.6.11
@ 2005-03-18  3:18 Ian McDonald
  2005-03-18  3:40 ` Rob Landley
                   ` (2 more replies)
  0 siblings, 3 replies; 13+ messages in thread
From: Ian McDonald @ 2005-03-18  3:18 UTC (permalink / raw)
  To: UML Developer

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

^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2005-04-08  4:18 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-03-18  3:18 [uml-devel] Can't compile under vanilla 2.6.11 Ian McDonald
2005-03-18  3:40 ` 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

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.