logo       

Re: [uml-user] can't compile usermode-sources 2.6.3-1: msg#00284

Subject: Re: [uml-user] can't compile usermode-sources 2.6.3-1
Neither CONFIG_GPROF or CONFIG_GCOV where enabled when I got the errors.
I did try disabling CONFIG_MODE_TT once, but I had different compile errors then. I'm not at that machine right now so I don't remember the exact error, but it was with something being undefined.

I still can't figure out why that machine specifically can't build the sources. I have a few other machines with virtually the same setup and they work just fine.

-Dennis

Jeff Dike wrote:
dennis@xxxxxxxxxxxxx said:

vmlinux(.text+0xce720): In function `strcpy': lib/string.c:71:
multiple definition of `strcpy' arch/um/kernel/tt/unmap_fin.o(.text+0x4
16e0): first defined here


Did you enable CONFIG_GPROF or CONFIG_GCOV?  Those two can confuse the linker
due to the tricks UML plays.  It should be fine with CONFIG_MODE_TT disabled
(and they won't work in tt mode anyway because UML has to do too many tricky
things).

                                Jeff



-------------------------------------------------------
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click


<Prev in Thread] Current Thread [Next in Thread>