On Monday 11 September 2006 17:27, Jeff Dike wrote: > On Sat, Sep 09, 2006 at 11:31:36AM +0200, Blaisorblade wrote: > > On Saturday 09 September 2006 00:25, [EMAIL PROTECTED] wrote: > > > Hi there. > > > > > > I got a error undefined reference to `__bb_init_func' when > > > compiling uml with kernel 2.6.17.6, gcc 4.1.1 and glibc-2.4 > > Happens to me with -rc6. > > > Try removing from arch/um/kernel/gmon_syms.c these 2 lines: > > > > extern void __bb_init_func(void *); > > EXPORT_SYMBOL(__bb_init_func); > > And this seems to fix it. > > > Better yet, try if adding the weak attribute like below fixes > > the problem: > > > > extern void __bb_init_func(void *) __attribute__((weak)); > > EXPORT_SYMBOL(__bb_init_func); > > And this fixes it even better.
Ok, I expect you to send the final patch, thanks... it should go for 2.6.18 possibly, and since you tested it you have it almost ready. Bye bye -- 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
