All of lore.kernel.org
 help / color / mirror / Atom feed
* [uml-devel] Linking  .tmp_vmlinuux1 fails with 2.6.12-mm1
@ 2005-06-24  6:23 Raphael Bossek
  2005-06-24 10:55 ` Blaisorblade
  2005-06-24 13:43 ` Jeff Dike
  0 siblings, 2 replies; 3+ messages in thread
From: Raphael Bossek @ 2005-06-24  6:23 UTC (permalink / raw)
  To: user-mode-linux-devel

Hi,

after applying the TT_MODE build patch I run into the following problem
with linux 2.6.12-mm1:

   gcc-2.95 -Wp,-MD,init/.version.o.d  -nostdinc -isystem 
/usr/lib/gcc-lib/i386-linux/2.95.4/include -D__KERNEL__ -Iinclude  -Wall 
-Wstri
    ld   -r -o init/built-in.o init/main.o init/version.o init/mounts.o 
init/initramfs.o init/calibrate.o
         gcc-2.95 -static -Wl,--wrap,malloc -Wl,--wrap,free 
-Wl,--wrap,calloc -o .tmp_vmlinux1 -Wl,-T,arch/um/kernel/vmlinux.lds 
init/b
arch/um/sys-i386/built-in.o(*ABS*+0x73c706fe): In function `__crc_kunmap':
module.c: multiple definition of `__crc_kunmap'
arch/um/sys-i386/built-in.o(*ABS*+0xe7c48b45): In function 
`__crc_kmap_atomic':
module.c: multiple definition of `__crc_kmap_atomic'
arch/um/sys-i386/built-in.o(*ABS*+0x1889f5f3): In function 
`__crc_kmap_atomic_to_page':
module.c: multiple definition of `__crc_kmap_atomic_to_page'
arch/um/sys-i386/built-in.o(*ABS*+0xd837acb7): In function `__crc_kmap':
module.c: multiple definition of `__crc_kmap'
collect2: ld returned 1 exit status

--
Raphael Bossek


-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&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] 3+ messages in thread

* Re: [uml-devel] Linking  .tmp_vmlinuux1 fails with 2.6.12-mm1
  2005-06-24  6:23 [uml-devel] Linking .tmp_vmlinuux1 fails with 2.6.12-mm1 Raphael Bossek
@ 2005-06-24 10:55 ` Blaisorblade
  2005-06-24 13:43 ` Jeff Dike
  1 sibling, 0 replies; 3+ messages in thread
From: Blaisorblade @ 2005-06-24 10:55 UTC (permalink / raw)
  To: user-mode-linux-devel; +Cc: Raphael Bossek

On Friday 24 June 2005 08:23, Raphael Bossek wrote:
> Hi,
>
> after applying the TT_MODE build patch I run into the following problem
> with linux 2.6.12-mm1:
Does that happen with 2.6.12-current? Here it seems it doesn't; so I'll have 
to look into -mm only; otherwise I'll look at gcc-2.95 differences.

>    gcc-2.95 -Wp,-MD,init/.version.o.d  -nostdinc -isystem
> /usr/lib/gcc-lib/i386-linux/2.95.4/include -D__KERNEL__ -Iinclude  -Wall
> -Wstri
>     ld   -r -o init/built-in.o init/main.o init/version.o init/mounts.o
> init/initramfs.o init/calibrate.o
>          gcc-2.95 -static -Wl,--wrap,malloc -Wl,--wrap,free
> -Wl,--wrap,calloc -o .tmp_vmlinux1 -Wl,-T,arch/um/kernel/vmlinux.lds
> init/b
> arch/um/sys-i386/built-in.o(*ABS*+0x73c706fe): In function `__crc_kunmap':
> module.c: multiple definition of `__crc_kunmap'
> arch/um/sys-i386/built-in.o(*ABS*+0xe7c48b45): In function
> `__crc_kmap_atomic':
> module.c: multiple definition of `__crc_kmap_atomic'
> arch/um/sys-i386/built-in.o(*ABS*+0x1889f5f3): In function
> `__crc_kmap_atomic_to_page':
> module.c: multiple definition of `__crc_kmap_atomic_to_page'
> arch/um/sys-i386/built-in.o(*ABS*+0xd837acb7): In function `__crc_kmap':
> module.c: multiple definition of `__crc_kmap'
> collect2: ld returned 1 exit status
>
> --
> Raphael Bossek

-- 
Inform me of my mistakes, so I can keep imitating Homer Simpson's "Doh!".
Paolo Giarrusso, aka Blaisorblade (Skype ID "PaoloGiarrusso", ICQ 215621894)
http://www.user-mode-linux.org/~blaisorblade

	

	
		
___________________________________ 
Yahoo! Mail: gratis 1GB per i messaggi e allegati da 10MB 
http://mail.yahoo.it



-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&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] 3+ messages in thread

* Re: [uml-devel] Linking  .tmp_vmlinuux1 fails with 2.6.12-mm1
  2005-06-24  6:23 [uml-devel] Linking .tmp_vmlinuux1 fails with 2.6.12-mm1 Raphael Bossek
  2005-06-24 10:55 ` Blaisorblade
@ 2005-06-24 13:43 ` Jeff Dike
  1 sibling, 0 replies; 3+ messages in thread
From: Jeff Dike @ 2005-06-24 13:43 UTC (permalink / raw)
  To: Raphael Bossek; +Cc: user-mode-linux-devel

On Fri, Jun 24, 2005 at 08:23:45AM +0200, Raphael Bossek wrote:
> after applying the TT_MODE build patch I run into the following problem
> with linux 2.6.12-mm1:

> arch/um/sys-i386/built-in.o(*ABS*+0x73c706fe): In function `__crc_kunmap':
> module.c: multiple definition of `__crc_kunmap'
> arch/um/sys-i386/built-in.o(*ABS*+0xe7c48b45): In function 
> `__crc_kmap_atomic':
> module.c: multiple definition of `__crc_kmap_atomic'
> arch/um/sys-i386/built-in.o(*ABS*+0x1889f5f3): In function 
> `__crc_kmap_atomic_to_page':
> module.c: multiple definition of `__crc_kmap_atomic_to_page'
> arch/um/sys-i386/built-in.o(*ABS*+0xd837acb7): In function `__crc_kmap':
> module.c: multiple definition of `__crc_kmap'
> collect2: ld returned 1 exit status

You failed to mention the zillion errors from make config that resulted
from trying to use the host's config rather than UML's defconfig.

Run mrproper, cp arch/um/defconfig .config, then rebuild as before.

				Jeff


-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&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] 3+ messages in thread

end of thread, other threads:[~2005-06-24 13:48 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-06-24  6:23 [uml-devel] Linking .tmp_vmlinuux1 fails with 2.6.12-mm1 Raphael Bossek
2005-06-24 10:55 ` Blaisorblade
2005-06-24 13:43 ` Jeff Dike

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.