* [Xenomai-help] 2.1-rc3 on ppcEmbedded...mpc5200
@ 2006-02-21 16:35 teo
2006-02-22 16:01 ` Gilles Chanteperdrix
0 siblings, 1 reply; 2+ messages in thread
From: teo @ 2006-02-21 16:35 UTC (permalink / raw)
To: xenomai@xenomai.org
Hello,
I'm trying Xenomai latest release on kernel 2.4.25 of ppc_devel for
MPC5200.
After patch, I have encountered this error in kernel linking:
/kernel/xenomai/skins/posix/xeno_posix.o(.text+0xed9c): In function
`close':
/opt/ELDK/ppc_6xx/usr/src/sirLinuxXEN/linuxppc_2.4.25-xenomai/kernel/xenomai/skins/posix/shm.c:262:
multiple definition of `close'
arch/ppc/kernel/kernel.o(.text+0x2c30):arch/ppc/kernel/entry.S: first
defined here
make: *** [vmlinux] Error 1/
In file misc.S in arch/ppc/kernel there is
...SYSCALL(close)...
and it's define close global symbol as in posix/shm.c
Is it possible to chage name of close in shm.c ?
thanx in advance...
Matteo Facchinetti
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [Xenomai-help] 2.1-rc3 on ppcEmbedded...mpc5200
2006-02-21 16:35 [Xenomai-help] 2.1-rc3 on ppcEmbedded...mpc5200 teo
@ 2006-02-22 16:01 ` Gilles Chanteperdrix
0 siblings, 0 replies; 2+ messages in thread
From: Gilles Chanteperdrix @ 2006-02-22 16:01 UTC (permalink / raw)
To: teo; +Cc: xenomai@xenomai.org
teo wrote:
> Hello,
> I'm trying Xenomai latest release on kernel 2.4.25 of ppc_devel for
> MPC5200.
> After patch, I have encountered this error in kernel linking:
>
> /kernel/xenomai/skins/posix/xeno_posix.o(.text+0xed9c): In function
> `close':
> /opt/ELDK/ppc_6xx/usr/src/sirLinuxXEN/linuxppc_2.4.25-xenomai/kernel/xenomai/skins/posix/shm.c:262:
> multiple definition of `close'
> arch/ppc/kernel/kernel.o(.text+0x2c30):arch/ppc/kernel/entry.S: first
> defined here
> make: *** [vmlinux] Error 1/
>
> In file misc.S in arch/ppc/kernel there is
> ...SYSCALL(close)...
> and it's define close global symbol as in posix/shm.c
>
> Is it possible to chage name of close in shm.c ?
Thanks for reporting, I am afraid we will have to rename "close" using a
macro, the way we did it for sem_init.
--
Gilles Chanteperdrix.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2006-02-22 16:01 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-02-21 16:35 [Xenomai-help] 2.1-rc3 on ppcEmbedded...mpc5200 teo
2006-02-22 16:01 ` Gilles Chanteperdrix
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.