Re: [PATCH 0/5] RT: Misc. fixups for ARM/OMAP against 2.6.25.4-rt3

Luís Vitório Cargnini
2008-05-21T01:33:23Z

well I get the following error in my source code compilation time:
à partir de kernel/rtmutex.c:13:
include/asm/atomic.h:241:1: attention : « cmpxchg » redéfini
Dans le fichier inclus à partir de include/asm/system.h:378,
à partir de include/asm/bitops.h:27,
à partir de include/linux/bitops.h:17,
à partir de include/linux/thread_info.h:34,
à partir de include/linux/preempt.h:9,
à partir de include/linux/spinlock.h:85,
à partir de kernel/rtmutex.c:13:
include/asm-generic/cmpxchg.h:19:1: attention : ceci est la
localisation d'une précédente définition
kernel/rtmutex.c:124: erreur: redefinition of 'init_lists'
kernel/rtmutex.c:110: erreur: previous definition of 'init_lists' was here
kernel/rtmutex.c: In function 'do_try_to_take_rt_mutex':
kernel/rtmutex.c:425: erreur: too many arguments to function 'try_to_steal_lock'
kernel/rtmutex.c: In function 'rt_spin_lock_slowlock':
kernel/rtmutex.c:787: erreur: 'saved_lock_depth' undeclared (first use
in this function)
kernel/rtmutex.c:787: erreur: (Each undeclared identifier is reported only once
kernel/rtmutex.c:787: erreur: for each function it appears in.)
kernel/rtmutex.c:788: erreur: implicit declaration of function
'rt_reacquire_bkl'
kernel/rtmutex.c: Hors de toute fonction :
kernel/rtmutex.c:1239: erreur: redefinition of 'rt_mutex_lock_killable'
kernel/rtmutex.c:1218: erreur: previous definition of
'rt_mutex_lock_killable' was here
kernel/rtmutex.c:1245: erreur: redefinition of
'__kstrtab_rt_mutex_lock_killable'
kernel/rtmutex.c:1224: erreur: previous definition of
'__kstrtab_rt_mutex_lock_killable' was here
kernel/rtmutex.c:1245: erreur: redefinition of
'__ksymtab_rt_mutex_lock_killable'
kernel/rtmutex.c:1224: erreur: previous definition of
'__ksymtab_rt_mutex_lock_killable' was here
make[1]: *** [kernel/rtmutex.o] Error 1
make: *** [kernel] Error 2

and the following warning is noisy been shown:
include/asm/atomic.h:241:1: attention : « cmpxchg » redéfini
Dans le fichier inclus à partir de include/asm/system.h:378,

On Tue, May 20, 2008 at 7:42 PM, Kevin Hilman <khilman@mvista.com> wrote:
> What follows are a series of minor fixes to get -rt3 building/booting on
> ARM. The first 3 are ready do be included into the -rt patch, while the
> last 4th one (cmpxchg duplication) needs a little investigating. The 5th one
> needs to go upstream via the OMAP tree.
>
> This was build/boot tested on the TI OMAP3430 SDP platform
>
> Kevin
> --
> To unsubscribe from this list: send the line "unsubscribe linux-rt-users" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
>

--
------------------------------------------------------------------------------
Thanks && Regards
M.Sc. B.Sc. Luís Vitório Cargnini
IEEE Member
Electrical Engineer Faculty @ PUCRS
Ipiranga Avenue, 6681 – Building 30
P.O. Box: 90619-900 – Porto Alegre/RS
Phone: +55 51 3320 3500 extension: 7696
---------------------------------------------------------------------------------