why the function just declare,but no implement.

Adam Lackorzynski adam at os.inf.tu-dresden.de
Tue Sep 4 19:27:10 CEST 2007


On Tue Sep 04, 2007 at 10:26:52 +0800, ¶¡Ó¨ wrote:
> > > inlining
> > > arch/l4/kernel/arch-i386/../dispatch.c:506: sorry, unimplemented: called
> > > from here
> > > make[1]: *** [arch/l4/kernel/arch-i386/dispatch.o] error 1
> > > make: *** [arch/l4/kernel/arch-i386] error 2
> > >
> > > so I check the function dispatch.c,the function l4x_dispatch_suspend is
> > > empty indeed.Maybe there is something wrong,but I don't know what have
> > > happened.Everyone who knows this problem please help me,thanks!
> > > The L4 and l4linux are all downloaded from svn today,and my linux
> > > distribution is ubuntu 6.06.
> >
> > Well, l4x_dispatch_suspend is not empty at all, at least not in my copy
> > of the source. Are you sure?
> 
> 
>     I'm  sorry,I have  made a mistake.Yes,the l4x_dispatch_suspend  is
> surely no empty,it may be some error of gcc to compile the inline function,I
> search the error message from the Internet,they says the problem might be
> that a function was declared with two different inlining attributes.So,I
> think it maybe the gcc's matter,but after I re-install the gcc-3.4.6 and
> compile the l4linux-2.6.22,the some error massage appearing,so I don't know
> why,maybe it have something to do with another compiler enviroment,but I
> don't know what.

I've never seen anything like this, and this function is only supposed
to be defined once, it's static after all. So I don't know what's
causing this.



Adam
-- 
Adam                 adam at os.inf.tu-dresden.de
  Lackorzynski         http://os.inf.tu-dresden.de/~adam/




More information about the l4-hackers mailing list