On Saturday 09 September 2006 15:39, [EMAIL PROTECTED] wrote: > The 'Try removing' will not work. In all these cases you get a message about `get_safe_registers', i.e. another error; do you get the error about __bb_init_func with the "try removing" thing? Also, it should compile by disabling CONFIG_GCOV (as you know probably), and this option is only for debugging - if it does not compile in that case there's something _very_ strange going on (like if `get_safe_registers' had been removed by hand-editing); anyway this discussion is useful to find the fix to the bug. > So have do the 'Better yet ' with make > clean, make distclean, make allmodconfig ARCH=um and make linux ARCH=um > > Now got the same error after 'Better yet': > CC init/version.o > LD init/built-in.o > LD .tmp_vmlinux1 > arch/um/os-Linux/built-in.o: In function `do_syscall_stub': > arch/um/os-Linux/skas/mem.c:63: undefined reference to `get_safe_registers' > arch/um/os-Linux/built-in.o: In function `copy_context_skas0': > arch/um/os-Linux/skas/process.c:333: undefined reference to > `get_safe_registers' collect2: ld returned 1 exit status > KSYM .tmp_kallsyms1.S > nm: '.tmp_vmlinux1': No such file > No valid symbol. > make: *** [.tmp_kallsyms1.S] Error 1 > > error, do: #CONFIG_MODE_TT=y > make clean and make linux ARCH=um > > Now got the same error as with 'Better yet' > > error, do: CONFIG_STATIC_LINK=y > make clean and make linux ARCH=um > > Same error as with 'Better yet' > > error, do: CONFIG_GPROF=y > make clean and make linux ARCH=um > > Same error as with 'Better yet' > > TODO: get_safe_register should be undefined only > because of the previous failure. > > In which to undefine? No, don't undefine it. I was talking about this error message, which I can't explain - I thought it was just a conseguence of the error above. > > arch/um/os-Linux/built-in.o: In function `do_syscall_stub': > > arch/um/os-Linux/skas/mem.c:63: undefined reference to > > `get_safe_registers' > > arch/um/os-Linux/built-in.o: In function `copy_context_skas0': > > arch/um/os-Linux/skas/process.c:333: undefined reference to > > `get_safe_registers' since get_safe_registers is defined in arch/um/os-Linux/sys-i386/registers.c, this error does not make a lot of sense. Make sure you haven't removed the definition by mistake - the other possibility is that file is not linked with the rest, but this would cause also other "undefined reference" errors. -- Inform me of my mistakes, so I can keep imitating Homer Simpson's "Doh!". Paolo Giarrusso, aka Blaisorblade http://www.user-mode-linux.org/~blaisorblade Chiacchiera con i tuoi amici in tempo reale! http://it.yahoo.com/mail_it/foot/*http://it.messenger.yahoo.com
------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ User-mode-linux-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel
