[Xenomai-core] Linking failure while compiling POSIX skin as built-in module

2005-11-22 Thread Luotao Fu
Hi folks, I detected a minor problem while compiling 2.6.14.2 with the most recent xenomai code from svn. The Compilation would quit at linking if one tries to build the posix skin as built-in module. Abort message: ipc/built-in.o: In function `sem_init': : multiple definition of `sem_init'

Re: [Xenomai-core] [RFC] define your own pipe heap

2005-11-22 Thread Jan Kiszka
Philippe Gerum wrote: Jan Kiszka wrote: Philippe Gerum wrote: Jan Kiszka wrote: Jan Kiszka wrote: ... A patch says more than thousand words. ;) As a first approach, I picked the second variant and implemented a new function called rt_pipe_setpool. I also had to extend rt_pipe_alloc

Re: [Xenomai-core] [RFC] define your own pipe heap

2005-11-22 Thread Jan Kiszka
Jan Kiszka wrote: Hi there, yea, I also want to join this endless pipe discussion! ;) We ran into troubles here due to large messages that should be sent via native pipes. Large means larger than the default message heap, the system heap, of the pipe subsystem so far. That raised the

Re: [Xenomai-core] [RFC] define your own pipe heap

2005-11-22 Thread Jan Kiszka
Jan Kiszka wrote: ... A patch says more than thousand words. ;) As a first approach, I picked the second variant and implemented a new function called rt_pipe_setpool. I also had to extend rt_pipe_alloc and rt_pipe_free so that the right pool is used by them. I thought about this variant

Re: [Xenomai-core] [RFC] define your own pipe heap

2005-11-22 Thread Dmitry Adamushko
[EMAIL PROTECTED] wrote on 22.11.2005 11:21:09: Jan Kiszka wrote: ... A patch says more than thousand words. ;) As a first approach, I picked the second variant and implemented a new function called rt_pipe_setpool. I also had to extend rt_pipe_alloc and rt_pipe_free so that the

[Xenomai-core] Linking failure while compiling POSIX skin as built-in module

2005-11-22 Thread Luotao Fu
Hi folks, I detected a minor problem while compiling 2.6.14.2 with the most recent xenomai code from svn. The Compilation would quit at linking if one tries to build the posix skin as built-in module. Abort message: ipc/built-in.o: In function `sem_init': : multiple definition of `sem_init'

Re: [Xenomai-core] [RFC] define your own pipe heap

2005-11-22 Thread Jan Kiszka
Philippe Gerum wrote: Jan Kiszka wrote: Philippe Gerum wrote: Jan Kiszka wrote: Jan Kiszka wrote: ... A patch says more than thousand words. ;) As a first approach, I picked the second variant and implemented a new function called rt_pipe_setpool. I also had to extend rt_pipe_alloc